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


BingGroundingSearchConfiguration Class

Definition

Search configuration for Bing Grounding.

public class BingGroundingSearchConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.BingGroundingSearchConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.BingGroundingSearchConfiguration>
type BingGroundingSearchConfiguration = class
    interface IJsonModel<BingGroundingSearchConfiguration>
    interface IPersistableModel<BingGroundingSearchConfiguration>
Public Class BingGroundingSearchConfiguration
Implements IJsonModel(Of BingGroundingSearchConfiguration), IPersistableModel(Of BingGroundingSearchConfiguration)
Inheritance
BingGroundingSearchConfiguration
Implements

Constructors

BingGroundingSearchConfiguration(String)

Initializes a new instance of BingGroundingSearchConfiguration.

Properties

ConnectionId

Connection id for grounding with bing search.

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.

SetLang

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

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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.

Applies to