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

BingCustomSearchAgentTool Class

Definition

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

public class BingCustomSearchAgentTool : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Tool, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.BingCustomSearchAgentTool>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.BingCustomSearchAgentTool>
type BingCustomSearchAgentTool = class
    inherit Tool
    interface IUtf8JsonSerializable
    interface IJsonModel<BingCustomSearchAgentTool>
    interface IPersistableModel<BingCustomSearchAgentTool>
Public Class BingCustomSearchAgentTool
Inherits Tool
Implements IJsonModel(Of BingCustomSearchAgentTool), IPersistableModel(Of BingCustomSearchAgentTool)
Inheritance
BingCustomSearchAgentTool
Implements

Constructors

Name Description
BingCustomSearchAgentTool()

Initializes a new instance of BingCustomSearchAgentTool for deserialization.

BingCustomSearchAgentTool(BingCustomSearchToolParameters)

Initializes a new instance of BingCustomSearchAgentTool.

BingCustomSearchAgentTool(ToolType, IDictionary<String,BinaryData>, BingCustomSearchToolParameters)

Initializes a new instance of BingCustomSearchAgentTool.

Properties

Name Description
BingCustomSearchPreview

The bing custom search tool parameters.

Type

Gets or sets the type.

(Inherited from Tool)

Methods

Name Description
DeserializeBingCustomSearchAgentTool(JsonElement, ModelReaderWriterOptions)
FromResponse(Response)

Deserializes the model from a raw response.

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
ToRequestContent()

Convert into a RequestContent.

Explicit Interface Implementations

Name Description
IJsonModel<BingCustomSearchAgentTool>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BingCustomSearchAgentTool>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<Tool>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from Tool)
IPersistableModel<BingCustomSearchAgentTool>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BingCustomSearchAgentTool>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BingCustomSearchAgentTool>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<Tool>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from Tool)
IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to