From 509da61b97a5d911ac098bd753d6ae9e55e679db Mon Sep 17 00:00:00 2001 From: "Peter.Morton" Date: Wed, 28 May 2025 11:15:27 -0500 Subject: [PATCH] updated install instructions and added warnings --- CQA_Retriever/_studio_dependencies/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CQA_Retriever/_studio_dependencies/README.md b/CQA_Retriever/_studio_dependencies/README.md index fe62999..9dd0660 100644 --- a/CQA_Retriever/_studio_dependencies/README.md +++ b/CQA_Retriever/_studio_dependencies/README.md @@ -12,9 +12,15 @@ This package provides an example RAG process using Azure AI Search for Retrieval - This package requires the CQA Widget to be installed and configured. +> **WARNING:** There is an error in the _CQA_66308ec473f3d10350a2e499_ Global Variable file on line 20: It should read v2 instead of v1 and should be fixed manually + +```javascript + let url = `${settings.apiurl}/${settings.productcode}/${settings.ingress}/inference/verint-contextual-question-answering-v2`; +``` + ### Installation -1. Copy the CQA_Retriever and CQA_RetieverSettings files into **Global Variables** +1. Copy the [CQA_Retriever](./GlobalVariable/CQA_Retriever.js) and [CQA_RetieverSettings](./GlobalVariable/CQA_RetrieverSettings.json) files into **Global Variables** 2. _Optional:_ Import the Example Conversation Flow and Intent ### Configuration @@ -56,6 +62,8 @@ A global variable function which handles the logic and API calls used to retriev This is included in the Example Conversation Flow if you have imported that. +> NOTE: This example exits via the output pin '0'. If you need it to continue to the next block, then change the ```next(0)``` to ```next()``` on the second to last line, + ```javascript (async () => { console.log(`CQA Retrieval: ${conversationData.cqa_question}`);