RankingOptions 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 |
|---|---|
| RankingOptions() |
Initializes a new instance of RankingOptions. |
| RankingOptions(Nullable<RankingOptionsRanker>, Nullable<Single>, IDictionary<String,BinaryData>) |
Initializes a new instance of RankingOptions. |
RankingOptions()
- Source:
- RankingOptions.cs
Initializes a new instance of RankingOptions.
public RankingOptions();
Public Sub New ()
Applies to
RankingOptions(Nullable<RankingOptionsRanker>, Nullable<Single>, IDictionary<String,BinaryData>)
- Source:
- RankingOptions.cs
Initializes a new instance of RankingOptions.
public RankingOptions(Azure.AI.AgentServer.Contracts.Generated.OpenAI.RankingOptionsRanker? ranker, float? scoreThreshold, System.Collections.Generic.IDictionary<string,BinaryData> serializedAdditionalRawData);
new Azure.AI.AgentServer.Contracts.Generated.OpenAI.RankingOptions : Nullable<Azure.AI.AgentServer.Contracts.Generated.OpenAI.RankingOptionsRanker> * Nullable<single> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.AI.AgentServer.Contracts.Generated.OpenAI.RankingOptions
Public Sub New (ranker As Nullable(Of RankingOptionsRanker), scoreThreshold As Nullable(Of Single), serializedAdditionalRawData As IDictionary(Of String, BinaryData))
Parameters
- ranker
- Nullable<RankingOptionsRanker>
The ranker to use for the file search.
The score threshold for the file search, a number between 0 and 1. Numbers closer to 1 will attempt to return only the most relevant results, but may return fewer results.
- serializedAdditionalRawData
- IDictionary<String,BinaryData>
Keeps track of any properties unknown to the library.