BingCustomSearchConfiguration Constructors
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.
Overloads
| Name | Description |
|---|---|
| BingCustomSearchConfiguration() |
Initializes a new instance of BingCustomSearchConfiguration for deserialization. |
| BingCustomSearchConfiguration(String, String) |
Initializes a new instance of BingCustomSearchConfiguration. |
| BingCustomSearchConfiguration(String, String, String, String, Nullable<Int64>, String, IDictionary<String,BinaryData>) |
Initializes a new instance of BingCustomSearchConfiguration. |
BingCustomSearchConfiguration()
Initializes a new instance of BingCustomSearchConfiguration for deserialization.
public BingCustomSearchConfiguration();
Public Sub New ()
Applies to
BingCustomSearchConfiguration(String, String)
Initializes a new instance of BingCustomSearchConfiguration.
public BingCustomSearchConfiguration(string projectConnectionId, string instanceName);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.BingCustomSearchConfiguration : string * string -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.BingCustomSearchConfiguration
Public Sub New (projectConnectionId As String, instanceName As String)
Parameters
- projectConnectionId
- String
Project connection id for grounding with bing search.
- instanceName
- String
Name of the custom configuration instance given to config.
Exceptions
projectConnectionId or instanceName is null.
Applies to
BingCustomSearchConfiguration(String, String, String, String, Nullable<Int64>, String, IDictionary<String,BinaryData>)
Initializes a new instance of BingCustomSearchConfiguration.
public BingCustomSearchConfiguration(string projectConnectionId, string instanceName, string market, string setLang, long? count, string freshness, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.BingCustomSearchConfiguration : string * string * string * string * Nullable<int64> * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.BingCustomSearchConfiguration
Public Sub New (projectConnectionId As String, instanceName As String, market As String, setLang As String, count As Nullable(Of Long), freshness As String, serializedAdditionalRawData As IDictionary(Of String, BinaryData))
Parameters
- projectConnectionId
- String
Project connection id for grounding with bing search.
- instanceName
- String
Name of the custom configuration instance given to config.
- market
- String
The market where the results come from.
- setLang
- String
The language to use for user interface strings when calling Bing API.
- freshness
- String
Filter search results by a specific time range. Accepted values: https://learn.microsoft.com/bing/search-apis/bing-web-search/reference/query-parameters.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.