InferenceModelFactory.SemanticRerankingResult 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.
The result of a semantic reranking operation.
public static Azure.Data.AI.SemanticRerankingResult SemanticRerankingResult(System.Collections.Generic.IEnumerable<Azure.Data.AI.SemanticRerankingScore> scores = default, Azure.Data.AI.SemanticRerankingMetadata metadata = default);
static member SemanticRerankingResult : seq<Azure.Data.AI.SemanticRerankingScore> * Azure.Data.AI.SemanticRerankingMetadata -> Azure.Data.AI.SemanticRerankingResult
Public Shared Function SemanticRerankingResult (Optional scores As IEnumerable(Of SemanticRerankingScore) = Nothing, Optional metadata As SemanticRerankingMetadata = Nothing) As SemanticRerankingResult
Parameters
- scores
- IEnumerable<SemanticRerankingScore>
The relevance scores for the submitted documents.
- metadata
- SemanticRerankingMetadata
Additional metadata about the semantic reranking operation.
Returns
A new SemanticRerankingResult instance for mocking.