BingGroundingToolResource
Class net8.0
A Foundry tool resource that grounds an agent's responses using Bing Search.
namespace Aspire.Hosting.Foundry;
public class BingGroundingToolResource : Aspire.Hosting.Foundry.FoundryToolResource{ // ...}Remarks
Section titled Remarks The Bing Search resource ( Microsoft.Bing/accounts) must be created manually in the Azure portal before using this tool.
After creating the tool with PromptAgentBuilderExtensions.AddBingGroundingTool, link it using one of the WithReference overloads on PromptAgentBuilderExtensions with one of the following: BingGroundingConnectionResource created by AzureCognitiveServicesProjectConnectionsBuilderExtensions.AddBingGroundingConnection.ApplicationModel.IResourceBuilder`1 for ApplicationModel.ParameterResource containing the Bing resource ID.