Share via


EquivalenceEvaluatorContext Class

Definition

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

public ref class EquivalenceEvaluatorContext sealed : Microsoft::Extensions::AI::Evaluation::EvaluationContext
public sealed class EquivalenceEvaluatorContext : Microsoft.Extensions.AI.Evaluation.EvaluationContext
type EquivalenceEvaluatorContext = class
    inherit EvaluationContext
Public NotInheritable Class EquivalenceEvaluatorContext
Inherits EvaluationContext
Inheritance
EquivalenceEvaluatorContext

Remarks

The EquivalenceEvaluator measures the degree to which the response being evaluated is similar to the response supplied via groundTruth.

Constructors

EquivalenceEvaluatorContext(String)

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

Properties

GroundTruth

Gets the ground truth response against which the response that is being evaluated is compared.

Applies to