你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureAISearchToolOptions(IEnumerable<AzureAISearchToolIndex>) Constructor

Definition

Initializes a new instance of AzureAISearchToolOptions.

public AzureAISearchToolOptions(System.Collections.Generic.IEnumerable<Azure.AI.Projects.OpenAI.AzureAISearchToolIndex> indexes);
new Azure.AI.Projects.OpenAI.AzureAISearchToolOptions : seq<Azure.AI.Projects.OpenAI.AzureAISearchToolIndex> -> Azure.AI.Projects.OpenAI.AzureAISearchToolOptions
Public Sub New (indexes As IEnumerable(Of AzureAISearchToolIndex))

Parameters

indexes
IEnumerable<AzureAISearchToolIndex>

The indices attached to this agent. There can be a maximum of 1 index resource attached to the agent.

Exceptions

indexes is null.

Applies to