Closed magedhelmy1 closed 10 months ago
Good question!
The /chat approach is programmed here: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/app/backend/approaches/chatreadretrieveread.py
The default /ask approach is programmed here: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/app/backend/approaches/retrievethenread.py
There are also two other /ask approaches with a slightly different approach, but they aren't currently working due to langchain compatibility issues.
Dear Pamela,
I appreciate the clarity of your response. If it's not too much trouble and you have a moment, I have a couple of additional questions:
Thank you so much for your guidance. Have a great weekend.
The other two approaches are in this folder: https://github.com/Azure-Samples/azure-search-openai-demo/tree/main/app/backend/approaches You can read the code to see how they work. They don't currently function due to langchain issues.
Hybrid is reported to have the best results, see: https://techcommunity.microsoft.com/t5/azure-ai-services-blog/announcing-vector-search-in-azure-cognitive-search-public/ba-p/3872868
There's a bit more about these approaches here: https://techcommunity.microsoft.com/t5/azure-ai-services-blog/revolutionize-your-enterprise-data-with-chatgpt-next-gen-apps-w/ba-p/3762087
Generally you can search for "Retrieval Augmented Generation (RAG)" to learn more.
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful