Share via


Microsoft.Extensions.AI.Evaluation.Quality Namespace

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.

Classes

ChatConversationEvaluator

An abstract base class that can be used to implement an AI-based IEvaluator.

CoherenceEvaluator

An IEvaluator that evaluates the 'Coherence' of a response produced by an AI model.

EquivalenceEvaluator

An IEvaluator that evaluates the 'Equivalence' of a response produced by an AI model.

EquivalenceEvaluatorContext

Contextual information required to evaluate the 'Equivalence' of a response.

FluencyEvaluator

An IEvaluator that evaluates the 'Fluency' of a response produced by an AI model.

GroundednessEvaluator

An IEvaluator that evaluates the 'Groundedness' of a response produced by an AI model.

GroundednessEvaluatorContext

Contextual information required to evaluate the 'Groundedness' of a response.

RelevanceTruthAndCompletenessEvaluator

An IEvaluator that evaluates the 'Relevance', 'Truth' and 'Completeness' of a response produced by an AI model.

RelevanceTruthAndCompletenessEvaluatorOptions

Options for RelevanceTruthAndCompletenessEvaluator.

SingleNumericMetricEvaluator

An abstract base class that can be used to implement an AI-based IEvaluator that produces an EvaluationResult containing a single NumericMetric.