Share via


ProjectsOpenAIModelFactory.AzureAISearchToolOptions Method

Definition

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.

Applies to