A Generative AI Engineer is planning MLflow evaluation for a RAG agent whose retriever step is traced. Subject-matter experts have budget to label only some records with expected facts. The engineer wants to know which built-in judges depend on that labeling before they can report anything useful. Which TWO judges require ground truth in the records' expectations? (Select TWO.)
Choose TWO.
Ground-truth judges compare against expectations; the others judge inputs, outputs and retrieved context alone.
Correctness and RetrievalSufficiency both need to know what the right answer contains: one compares the response with it, the other checks whether the retrieved context covers it. RetrievalGroundedness and RetrievalRelevance sound similar but only relate the response or chunks to the request and the retrieved context, which the trace already holds. RelevanceToQuery uses the request and response only.
- For each judge, ask what it compares the response or context with.
- If it compares with what the answer should contain, it needs expectations.
- Correctness and RetrievalSufficiency qualify; the others use trace data only.
Exam tip: Needs to know the right answer = needs expectations: Correctness, RetrievalSufficiency.
Databricks GenAI Engineer: Evaluating LLMs and Agents with MLflow Scorers and Judges — the lesson that teaches this.