ProjectsAgentsModelFactory.BingCustomSearchPreviewTool Method

Definition

The input definition information for a Bing custom search tool as used to configure an agent.

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

Parameters

name
String

Optional user-defined name for this tool or configuration.

description
String

Optional user-defined description for this tool or configuration.

toolConfigs
IDictionary<String,ToolConfig>

Per-tool configuration map. Keys are tool names or * (catch-all default). Resolution order: exact tool name match takes priority over *. Unknown tool names are silently ignored at runtime.

bingCustomSearchPreview
BingCustomSearchToolOptions

The bing custom search tool parameters.

Returns

A new BingCustomSearchPreviewTool instance for mocking.

Applies to