InferenceModelFactory.SemanticRerankingScore Method
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 relevance score assigned to a submitted document.
public static Azure.Data.AI.SemanticRerankingScore SemanticRerankingScore(int? index = default, string document = default, float? score = default, System.Collections.Generic.IEnumerable<Azure.Data.AI.SentenceScore> sentenceScores = default);
static member SemanticRerankingScore : Nullable<int> * string * Nullable<single> * seq<Azure.Data.AI.SentenceScore> -> Azure.Data.AI.SemanticRerankingScore
Public Shared Function SemanticRerankingScore (Optional index As Nullable(Of Integer) = Nothing, Optional document As String = Nothing, Optional score As Nullable(Of Single) = Nothing, Optional sentenceScores As IEnumerable(Of SentenceScore) = Nothing) As SemanticRerankingScore
Parameters
- document
- String
The submitted document when requested in the response.
- sentenceScores
- IEnumerable<SentenceScore>
The sentence-level relevance scores for the submitted document.
Returns
A new SemanticRerankingScore instance for mocking.