Skip to content
DocsTry Aspire
DocsTry

AzureAISearchToolResource Constructors

ClassConstructors1 member
A Foundry tool resource that grounds an agent's responses using data from an Azure AI Search index.
Constructor(string, AzureCognitiveServicesProjectResource)Section titled Constructor(string, AzureCognitiveServicesProjectResource)
Creates a new instance of the AzureAISearchToolResource class.
public class AzureAISearchToolResource
{
public AzureAISearchToolResource(
string name,
AzureCognitiveServicesProjectResource project)
{
// ...
}
}
namestringThe name of the tool resource.
projectAzureCognitiveServicesProjectResourceThe parent Foundry project resource.