Skip to content
DocsTry Aspire
DocsTry

FileSearchToolResource Constructors

ClassConstructors1 member
A Foundry tool resource that enables an agent to search uploaded files and proprietary documents using vector search.
Constructor(string, AzureCognitiveServicesProjectResource)Section titled Constructor(string, AzureCognitiveServicesProjectResource)
Creates a new instance of the FileSearchToolResource class.
public sealed class FileSearchToolResource
{
public FileSearchToolResource(
string name,
AzureCognitiveServicesProjectResource project)
{
// ...
}
}
namestringThe name of the tool resource.
projectAzureCognitiveServicesProjectResourceThe parent Foundry project resource.