Skip to content
DocsTry Aspire
DocsTry

BingGroundingConnectionResource Constructors

ClassConstructors1 member
A Foundry project connection resource specifically for Grounding with Bing Search connections.
Constructor(string, Action<AzureResourceInfrastructure>, AzureCognitiveServicesProjectResource)Section titled Constructor(string, Action<AzureResourceInfrastructure>, AzureCognitiveServicesProjectResource)
A Foundry project connection resource specifically for Grounding with Bing Search connections.
public class BingGroundingConnectionResource
{
public BingGroundingConnectionResource(
string name,
Action<AzureResourceInfrastructure> configureInfrastructure,
AzureCognitiveServicesProjectResource parent)
{
// ...
}
}
namestring
configureInfrastructureAction<AzureResourceInfrastructure>
This type is used to distinguish Bing grounding connections from other connection types, ensuring that only connections created by AddBingGroundingConnection can be linked to a BingGroundingToolResource.