-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Enable results to be grounded in Bing Search Snippets #2296
base: main
Are you sure you want to change the base?
Conversation
This is great but even better would be if this could be activated per Chat cmd understanding for a Single user Chat Message instead statically via global settings for all messages. User shall ask to search or pull information from web (eg Bing) |
Maybe it's not obvious from the PR but it's a per-chat toggle. |
This is cool :) How about citation? (using the bing title/url - and citation opens in a new window) Many thanks for this PR!! |
want to ensure I've understood correctly. If I were to ask: "Is the use of open-source software allowed in production systems?" In Bing: In an enterprise RAG system: How can I explicitly request responses from either Bing, the enterprise system, or even a comparison between the two using only a chat message, without the system defaulting to web searches when no internal answers are found? |
The PR will include citation links in the same manner as the AI search ones. |
Purpose
This extends the Chat Read Retrieve Read approach to optionally prepare a web search, search on Bing using the V7 API then include the snippets from the results in the combined prompt.
The AI is told that the actual sources from AI Search take precedence, so it should only use the web snippets where the information from the AI Search did not answer the question.
Here is a simple example:
The thought process has been extended to include the web search. Once provisioned, the web search grounding can be turned on or off per request.
TODO :
Implements #1496 #1632 and #1931