AzureCognitiveServicesProjectResource.AddFileSearchTool

Method
📦 Aspire.Hosting.Foundry v17.0.0-preview.1.26567.5
type AzureCognitiveServicesProjectResource interface {
// ... omitted for brevity
AddFileSearchTool(
name string,
vectorStoreIds []string,
) FileSearchToolResource
}

Signature

methodAddFileSearchToolbuilder
Adds a File Search tool to a Microsoft Foundry project, enabling agents to search uploaded files and proprietary documents using vector search.
AddFileSearchTool(
name string,
vectorStoreIds []string,
) FileSearchToolResource
namestringThe name of the tool resource.
vectorStoreIds[]stringOptional vector store IDs to search. If empty, the agent's default stores are used.
FileSearchToolResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: