Поделиться через


BingCustomSearchToolDefinition Class

Definition

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

public class BingCustomSearchToolDefinition : Azure.AI.Projects.ToolDefinition, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.BingCustomSearchToolDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.BingCustomSearchToolDefinition>
type BingCustomSearchToolDefinition = class
    inherit ToolDefinition
    interface IJsonModel<BingCustomSearchToolDefinition>
    interface IPersistableModel<BingCustomSearchToolDefinition>
Public Class BingCustomSearchToolDefinition
Inherits ToolDefinition
Implements IJsonModel(Of BingCustomSearchToolDefinition), IPersistableModel(Of BingCustomSearchToolDefinition)
Inheritance
BingCustomSearchToolDefinition
Implements

Constructors

BingCustomSearchToolDefinition(SearchConfigurationList)

Initializes a new instance of BingCustomSearchToolDefinition.

Properties

BingCustomSearch

The list of search configurations used by the bing custom search tool.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<BingCustomSearchToolDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BingCustomSearchToolDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ToolDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ToolDefinition)
IJsonModel<ToolDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ToolDefinition)
IPersistableModel<BingCustomSearchToolDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BingCustomSearchToolDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BingCustomSearchToolDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ToolDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ToolDefinition)
IPersistableModel<ToolDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ToolDefinition)
IPersistableModel<ToolDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ToolDefinition)

Applies to