A company runs a RAG agent on Azure Databricks. Before rolling out a change, the team wants to compare two variants offline by using Agent Evaluation and its hosted LLM judges:
- Variant A: the current prompt and retriever configuration
- Variant B: a revised prompt and retriever configuration
The evaluation set contains 200 real user questions sampled from production logs. It contains only the request text: there are no expected (reference) responses and no list of relevant documents for any question. Both variants record the chunks they retrieve and the responses they generate. The team will not add any labels to the evaluation set.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
| Statement | Yes | No |
|---|---|---|
| chunk_relevance/precision can be scored for each variant by using the evaluation set as it is. Precision is assessed by an LLM judge that rates each retrieved chunk against the user's request, and it does not need ground truth, so the request text and the recorded chunks are enough. | Correct | |
| context_sufficiency can be scored for each variant by using the evaluation set as it is. Although context_sufficiency is an LLM-judged retrieval metric like precision, it asks whether the retrieved chunks are enough to produce the expected response, so it needs ground truth that this evaluation set does not contain. | Correct | |
| groundedness can be scored for each variant by using the evaluation set as it is. Groundedness checks whether the response is supported by the retrieved context and does not require human-labeled ground truth, so the recorded responses and chunks are enough. | Correct |
When an evaluation set has only questions, the team can still compare variants on metrics that do not need ground truth. Chunk relevance/precision and groundedness are LLM-judged from the request, retrieved context and response alone. context_sufficiency is also LLM-judged, but it compares the retrieved chunks with the expected response, so it cannot be scored until reference answers are added.