BingCustomSearchConfiguration Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A bing custom search configuration.
public class BingCustomSearchConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.AI.Agents.Persistent.BingCustomSearchConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Agents.Persistent.BingCustomSearchConfiguration>
type BingCustomSearchConfiguration = class
interface IJsonModel<BingCustomSearchConfiguration>
interface IPersistableModel<BingCustomSearchConfiguration>
Public Class BingCustomSearchConfiguration
Implements IJsonModel(Of BingCustomSearchConfiguration), IPersistableModel(Of BingCustomSearchConfiguration)
- Inheritance
-
BingCustomSearchConfiguration
- Implements
Constructors
BingCustomSearchConfiguration(String, String) |
Initializes a new instance of BingCustomSearchConfiguration. |
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. |
InstanceName |
Name of the custom configuration instance given to config. |
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<BingCustomSearchConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<BingCustomSearchConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<BingCustomSearchConfiguration>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<BingCustomSearchConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<BingCustomSearchConfiguration>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |