WithAISearchTool
Method
func (FoundryToolboxResource) WithAISearchTool( name string, search AzureSearchResource, indexName string, options ...*WithAISearchToolOptions,) FoundryToolboxResourceSignature
method
WithAISearchTool builderAdds an Azure AI Search tool definition to the Toolbox.
WithAISearchTool( name string, search AzureSearchResource, indexName string, options ...*WithAISearchToolOptions,) FoundryToolboxResourceParameters
namestringThe tool name.searchAzureSearchResource The Azure AI Search resource backing the tool.indexName stringThe search index name.options...*WithAISearchToolOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithAISearchToolOptions argument.
Description*stringAn optional description of the Azure AI Search tool.Returns
FoundryToolboxResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: