Skill 2.1.4

Evaluate models and apps, including detecting fabrications, relevance, quality, and safety

Key Concepts

An evaluation runs a dataset of inputs (and, where available, context and ground-truth answers) through the model or application and scores the outputs. AI-assisted evaluators use a judge model: groundedness checks whether claims are supported by the provided context and so detects fabrications (hallucinations); relevance checks whether the response addresses the query; coherence and fluency check readability; response completeness and similarity compare with ground truth. Textual-similarity metrics such as F1, BLEU and ROUGE need no judge model.

Safety evaluators score violence, sexual, self-harm and hate content, indirect attack susceptibility and protected material. Evaluations run locally with evaluate() from azure-ai-evaluation or as cloud evaluations in a Foundry project, where results are stored and compared across runs in the portal. Model comparison uses the same dataset across candidate deployments; application evaluation includes retrieval, so both retrieval and generation metrics are reported.