Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DATABASE CORRECTION #369

Open
phfontes opened this issue Nov 7, 2023 · 2 comments
Open

DATABASE CORRECTION #369

phfontes opened this issue Nov 7, 2023 · 2 comments

Comments

@phfontes
Copy link

phfontes commented Nov 7, 2023

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?

@sarah-widder
Copy link
Contributor

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

@phfontes
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants