Azure-Samples / azure-search-openai-demo

A sample app for the Retrieval-Augmented Generation pattern running in Azure, using Azure AI Search for retrieval and Azure OpenAI large language models to power ChatGPT-style and Q&A experiences.
https://azure.microsoft.com/products/search
MIT License
5.57k stars 3.74k forks source link

Azure Open AI returns unexpected results. #1705

Open dangthanhmiu opened 2 weeks ago

dangthanhmiu commented 2 weeks ago

Please provide us with the following information:

This issue is for a: (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ x] feature request
- [ x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

macOS ( Sierra)

azd version?

azd version 1.9.3

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

Hi,

I just wonder if this sample works with Azure Open AI, too? When I ask a simple question, like "Where is Poland", the answer is "I'm sorry, but I don't have any information about the location of Poland based on the provided sources."

However, it works well with the provided sources. Is there a way to hide developer settings and citations from users?

pamelafox commented 1 week ago

That sounds like a good answer, given that this a RAG app designed to answer based on sources. Is your goal to have it also answer questions that aren't from the sources?