GroundednessEvaluatorContext Class

Definition

Contextual information that the GroundednessEvaluator uses to evaluate the 'Groundedness' of a response.

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

Remarks

GroundednessEvaluator measures the degree to which the response being evaluated is grounded in the information present in the supplied groundingContext.

Constructors

GroundednessEvaluatorContext(String)

Contextual information that the GroundednessEvaluator uses to evaluate the 'Groundedness' 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)
GroundingContext

Gets the contextual information against which the 'Groundedness' of a response is evaluated.

GroundingContextName

Gets the unique Name that is used for GroundednessEvaluatorContext.

Name

Gets or sets the name for this EvaluationContext.

(Inherited from EvaluationContext)

Applies to