Share via


BingCustomSearchToolParameters Class

Definition

The bing custom search tool parameters.

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

Constructors

Name Description
BingCustomSearchToolParameters()

Initializes a new instance of BingCustomSearchToolParameters for deserialization.

BingCustomSearchToolParameters(IEnumerable<BingCustomSearchConfiguration>)

Initializes a new instance of BingCustomSearchToolParameters.

BingCustomSearchToolParameters(IList<BingCustomSearchConfiguration>, IDictionary<String,BinaryData>)

Initializes a new instance of BingCustomSearchToolParameters.

Properties

Name Description
SearchConfigurations

The project connections attached to this tool. There can be a maximum of 1 connection resource attached to the tool.

Methods

Name Description
DeserializeBingCustomSearchToolParameters(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<BingCustomSearchToolParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<BingCustomSearchToolParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BingCustomSearchToolParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BingCustomSearchToolParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BingCustomSearchToolParameters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to