ProjectsAgentsModelFactory.AzureAISearchTool Method

Definition

The input definition information for an Azure AI search tool as used to configure an agent.

public static Azure.AI.Projects.Agents.AzureAISearchTool AzureAISearchTool(string name = default, string description = default, System.Collections.Generic.IDictionary<string,Azure.AI.Projects.Agents.ToolConfig> toolConfigs = default, Azure.AI.Projects.Agents.AzureAISearchToolOptions options = default);
static member AzureAISearchTool : string * string * System.Collections.Generic.IDictionary<string, Azure.AI.Projects.Agents.ToolConfig> * Azure.AI.Projects.Agents.AzureAISearchToolOptions -> Azure.AI.Projects.Agents.AzureAISearchTool
Public Shared Function AzureAISearchTool (Optional name As String = Nothing, Optional description As String = Nothing, Optional toolConfigs As IDictionary(Of String, ToolConfig) = Nothing, Optional options As AzureAISearchToolOptions = Nothing) As AzureAISearchTool

Parameters

name
String

Deprecated. This property is deprecated and will be removed in a future version.

description
String

Deprecated. This property is deprecated and will be removed in a future version.

toolConfigs
IDictionary<String,ToolConfig>

Deprecated. This property is deprecated and will be removed in a future version.

options
AzureAISearchToolOptions

The azure ai search index resource.

Returns

A new AzureAISearchTool instance for mocking.

Applies to