UngroundedAttributesEvaluator 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.
An IEvaluator that utilizes the Azure AI Foundry Evaluation service to evaluate responses produced by an AI model for presence of content that indicates ungrounded inference of human attributes.
public:
UngroundedAttributesEvaluator();
public UngroundedAttributesEvaluator();
Public Sub New ()
Remarks
The UngroundedAttributesEvaluator checks 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. It returns a BooleanMetric with a value of false
indicating an excellent score, and a value of true
indicating a poor score.
Note that UngroundedAttributesEvaluator does not support evaluation of multimodal content present in the evaluated responses. Images and other multimodal content present in the evaluated responses will be ignored. Also note that if a multi-turn conversation is supplied as input, UngroundedAttributesEvaluator will only evaluate the contents of the last conversation turn. The contents of previous conversation turns will be ignored.
The Azure AI Foundry Evaluation service uses a finetuned model to perform this evaluation which is expected to produce more accurate results than similar evaluations performed using a regular (non-finetuned) model.