-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Enable results to be grounded in Bing Search Snippets #2296
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
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. |
@tonybaloney – Will the PR cover these use cases?
Given that "Bing Grounding Truth" serves as a source (IMHO), it would be ideal for this repo to allow enabling, disabling, or combining sources example:
|
FYI - there is a legal display requirement. |
As of now, Bing Search v7 api server is not working even Microsoft folks are not responding on this issue. Microsoft has responding with this below message when contacted: |
|
||
## Using Bing Search Grounding | ||
|
||
To enable Bing Search, first provision a Bing.Search API endpoint in the [Azure Portal](https://portal.azure.com/#create/Microsoft.BingSearch). You will need access to the Web Search API. The [F1 (free), S1, or S2 SKUS will be suitable](https://www.microsoft.com/bing/apis/pricing). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not working
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anthony changed this PR to use the Bing grounding API that's part of the Agents SDK, since its no longer possible to provision new Bing Search APIs. We aren't planning to merge this PR due to the complexity required by the agents SDK addition, but you can look at it to see how Anthony integrated it.
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