Język

UngroundedAttributesEvaluatorContext Klasa

Definicja

Kontekstowe informacje używane UngroundedAttributesEvaluator do oceny, czy odpowiedź jest nieprzystawiona.

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
Dziedziczenie
UngroundedAttributesEvaluatorContext

Uwagi

UngroundedAttributesEvaluator mierzy, czy oceniana odpowiedź jest pierwsza, bez podstaw na podstawie informacji znajdujących się w podanym elememencie groundingContext. Następnie sprawdza, czy odpowiedź zawiera informacje o chronionej klasie lub stanie emocjonalnym osoby.

Konstruktory

Nazwisko Opis
UngroundedAttributesEvaluatorContext(String)

Kontekstowe informacje używane UngroundedAttributesEvaluator do oceny, czy odpowiedź jest nieprzystawiona.

Właściwości

Nazwisko Opis
Contents

Pobiera lub ustawia listę AIContent obiektów, które zawierają wszystkie informacje znajdujące się w tym obiekcie EvaluationContext.

(Odziedziczone po EvaluationContext)
GroundingContext

Pobiera kontekstowe informacje, względem których oceniane jest uziemienie (lub bezpodstawność) odpowiedzi.

GroundingContextName

Pobiera unikatowy element Name używany dla elementu UngroundedAttributesEvaluatorContext.

Name

Pobiera lub ustawia nazwę dla tego elementu EvaluationContext.

(Odziedziczone po EvaluationContext)

Dotyczy