Język

UngroundedAttributesEvaluatorContext(String) Konstruktor

Definicja

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

public:
 UngroundedAttributesEvaluatorContext(System::String ^ groundingContext);
public UngroundedAttributesEvaluatorContext(string groundingContext);
new Microsoft.Extensions.AI.Evaluation.Safety.UngroundedAttributesEvaluatorContext : string -> Microsoft.Extensions.AI.Evaluation.Safety.UngroundedAttributesEvaluatorContext
Public Sub New (groundingContext As String)

Parametry

groundingContext
String

Kontekstowe informacje, względem których oceniana jest uziemioność (lub bezpodstawność) odpowiedzi.

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.

Dotyczy