sample-app-aoai-chatGPT icon indicating copy to clipboard operation
sample-app-aoai-chatGPT copied to clipboard

DATABASE CORRECTION

Open phfontes opened this issue 1 year ago • 2 comments

Hello, I would like to thank you for making this platform available. I need support, we would like gpt to respond only and only to content that we have uploaded to cognitive search. I looked in other issues and found #194. Even though you set the inScope to True, testing about 4 times it displays the message The requested information is not available in the retrieved data. Please try another query or topic. However, on the 5th or 6th time he ends up answering something out of context. I thought about doing some post-processing, so he could try to find some variable in the debug that stores that he didn't get something from the indexed documents. There's a variable to content that, as I understand it, takes the content collected from Cognitive Search. I also thought about checking where the citation information is collected, so I could put a condition to validate if it is null, change the message for a personalized one. Would they know how to inform if this information is saved somewhere?

phfontes avatar Nov 07 '23 19:11 phfontes

Hi @phfontes you might try playing with the "strictness" parameter described here: https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/use-your-data#custom-parameters

sarah-widder avatar Nov 09 '23 00:11 sarah-widder

Hello, thanks for the feedback. But is there anywhere I can get the information if there is any reference? (During debugging)

phfontes avatar Nov 21 '23 16:11 phfontes