Checking that each answer names its correct policy exception

GenAI Engineer Evaluation and Monitoring Medium Question 43 of 45

A Generative AI Engineer's evaluation dataset stores only the questions users asked a benefits assistant. Each question has a different correct policy exception, and the team wants a scorer that checks whether the answer names it.

How should the team set up this evaluation?

Show answer and explanation

AStore expected facts for each record in the record's expectations

An evaluation dataset record holds inputs plus optional expectations, which are the ground truth labels, and expected_facts is the reserved key naming the facts that should appear in the answer. Retrieved context is input to the app rather than a label, so it cannot say which exception is correct. A Guidelines judge applies one rubric to every record and cannot carry a different correct exception per question, and RetrievalGroundedness only checks that an answer follows its context, so it passes an answer grounded in the wrong policy.

Source: docs.databricks.com/aws/en/mlflow3/genai/eval-monitor/conce…

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 45 original GenAI Engineer practice questions