UngroundedAttributesEvaluatorContext(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contextual information that the UngroundedAttributesEvaluator uses to evaluate whether a response is ungrounded.
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)
Parameters
- groundingContext
- String
Contextual information against which the groundedness (or ungroundedness) of a response is evaluated.
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.