ProjectsOpenAIModelFactory.AzureAISearchToolOptions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A set of index resources used by the azure_ai_search tool.
public static Azure.AI.Projects.OpenAI.AzureAISearchToolOptions AzureAISearchToolOptions(System.Collections.Generic.IEnumerable<Azure.AI.Projects.OpenAI.AzureAISearchToolIndex> indexes = default);
static member AzureAISearchToolOptions : seq<Azure.AI.Projects.OpenAI.AzureAISearchToolIndex> -> Azure.AI.Projects.OpenAI.AzureAISearchToolOptions
Public Shared Function AzureAISearchToolOptions (Optional indexes As IEnumerable(Of AzureAISearchToolIndex) = Nothing) As AzureAISearchToolOptions
Parameters
- indexes
- IEnumerable<AzureAISearchToolIndex>
The indices attached to this agent. There can be a maximum of 1 index resource attached to the agent.
Returns
A new AzureAISearchToolOptions instance for mocking.