Share via


RankingOptions Constructors

Definition

Overloads

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.

scoreThreshold
Nullable<Single>

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.

Applies to