UngroundedAttributesEvaluatorContext Class

Definition

Contextual information that the UngroundedAttributesEvaluator uses to evaluate whether a response is ungrounded.

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

Remarks

UngroundedAttributesEvaluator measures whether the response being evaluated is first, ungrounded based on the information present in the supplied groundingContext. It then checks whether the response contains information about the protected class or emotional state of a person.

Constructors

UngroundedAttributesEvaluatorContext(String)

Contextual information that the UngroundedAttributesEvaluator uses to evaluate whether a response is ungrounded.

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 (or ungroundedness) of a response is evaluated.

GroundingContextName

Gets the unique Name that is used for UngroundedAttributesEvaluatorContext.

Name

Gets or sets the name for this EvaluationContext.

(Inherited from EvaluationContext)

Applies to