Share via


BingGroundingSearchConfiguration Class

Definition

Search configuration for Bing Grounding.

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

Constructors

Name Description
BingGroundingSearchConfiguration()

Initializes a new instance of BingGroundingSearchConfiguration for deserialization.

BingGroundingSearchConfiguration(String, String, String, Nullable<Int64>, String, IDictionary<String,BinaryData>)

Initializes a new instance of BingGroundingSearchConfiguration.

BingGroundingSearchConfiguration(String)

Initializes a new instance of BingGroundingSearchConfiguration.

Properties

Name Description
Count

The number of search results to return in the bing api response.

Freshness

Filter search results by a specific time range. Accepted values: https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/query-parameters.

Market

The market where the results come from.

ProjectConnectionId

Project connection id for grounding with bing search.

SetLang

The language to use for user interface strings when calling Bing API.

Methods

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

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

IJsonModel<BingGroundingSearchConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BingGroundingSearchConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BingGroundingSearchConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<BingGroundingSearchConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IUtf8JsonSerializable.Write(Utf8JsonWriter)

Applies to