Sprache

InferenceModelFactory Class

Definition

A factory class for creating instances of the models for mocking.

public static class InferenceModelFactory
type InferenceModelFactory = class
Public Class InferenceModelFactory
Inheritance
InferenceModelFactory

Methods

Name Description
LatencyResult(Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)

The result of the latency in the semantic reranking operation.

SemanticRerankingInferenceContent(String, IEnumerable<String>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Nullable<Boolean>, Nullable<SemanticRerankingDocumentType>, String, String, Nullable<Boolean>)

The input for a semantic reranking operation.

SemanticRerankingInferenceResult(IEnumerable<SemanticRerankingScore>, SemanticRerankingMetaResult)

The result of a semantic reranking operation.

SemanticRerankingMetaResult(TokenUsageResult, LatencyResult, String, String)

Additional metadata about the semantic reranking operation.

SemanticRerankingScore(Nullable<Int32>, String, Nullable<Single>, IEnumerable<SentenceScore>)

A relevance score assigned to a submitted document.

SentenceScore(Int32, Single)

A sentence-level relevance score for a submitted document.

TokenUsageResult(Nullable<Int32>)

The result of the token usage in the semantic reranking operation.

Applies to