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