EquivalenceEvaluatorContext Class

Definition

Contextual information that the EquivalenceEvaluator uses 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

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

Constructors

EquivalenceEvaluatorContext(String)

Contextual information that the EquivalenceEvaluator uses to evaluate the 'Equivalence' of a response.

Properties

Contents

Gets or sets a list of AIContent objects that include all the information present in this EvaluationContext.

(Inherited from EvaluationContext)
GroundTruth

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

GroundTruthContextName

Gets the unique Name that is used for EquivalenceEvaluatorContext.

Name

Gets or sets the name for this EvaluationContext.

(Inherited from EvaluationContext)

Applies to