Zenaique

Pick the Phoenix evaluator that flags 'the answer contradicts the retrieved context'

MCQ·Medium·4.0 · 0·~1 min·Asked atBcgCerebrasForethought
Attempt it
TL;DR

The hallucination / groundedness / faithfulness evaluator is the one that checks whether the answer is supported by the retrieved context; relevance checks the retrieval side, QA Correctness needs ground truth.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

Imagine a student writing an essay with a stack of source books at the desk. Three different graders might look at the work. One checks whether the books on the desk are actually about the essay topic (relevance). One checks whether every claim in the essay can be traced back to a passage in those books (groundedness). And one checks whether the essay matches an official answer key, if one exists (correctness). Each grader catches a different kind of mistake. Picking the wrong grader for your failure mode misses the bug.

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

Phoenix from Arize is one of the canonical 2026 OSS observability tools for LLM applications, with particular strength on RAG evaluation. Where Langfuse and LangSmith ship a generic LLM-as-judge slot and let you write the prompt, Phoenix ships a small set of opinionated evaluators (Relevance, Hallucination, QA Correctness, Toxicity) that target specific RAG failure modes.

The interview skill is failure-mode mapping: knowing which evaluator catches which bug. Picking by name similarity is the failure mode the question tests for.

Mental model: evaluators are diagnostic instruments, each for one symptom. A doctor does not use a thermometer to check blood pressure.

The four Phoenix evaluators and what each one's input pair is

Hallucination (a.k.a. Groundedness, Faithfulness)

Input: (generated answer, retrieved context). The judge prompt decomposes the answer into claims and checks each claim against the context. A claim that cannot be supported by any passage in the context lowers the score. This is the evaluator for the failure mode 'the answer says things the context does not support'.

Relevance

Input: (question, retrieved chunks). The judge checks whether each chunk in the top-k is actually about the question. This evaluator does not look at the generated answer at all. It catches retrieval-side problems: irrelevant chunks surfacing in top-k, missing the right chunk, or noise dominating signal.

QA Correctness

Input: (generated answer, ground-truth answer). The judge compares the two for substantive agreement. This requires a labeled dataset, so it lives in offline regression suites and golden-set comparisons, not in online traffic where ground truth does not exist.

Toxicity

Input: (generated answer). Standard content-safety check, orthogonal to factuality. Belongs in a safety dashboard, not in a grounding dashboard.

The pattern

Each evaluator pairs a specific failure mode with a specific input pair. Reading the question carefully (what is being compared to what?) is how you pick correctly.

Why naming varies and what to call it
Failure-mode mapping in practice
The bias caveats every evaluator inherits
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • Phoenix from Arize ships the hallucination evaluator as the default RAG groundedness check, with the OpenInference span shape feeding the judge prompt.
  • TruLens uses 'groundedness' as the canonical name for the same check, including a sentence-level decomposition variant.
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QHow would you tell whether a RAG failure was retrieval or generation, using Phoenix evaluators?
A

Run Relevance over (question, chunks) and Hallucination over (answer, chunks) on the same traces. Relevance low + Hallucination high: retrieval is fine but generation made stuff up. Relevance low + Hallucination low: retrieval pulled the wrong context and generation faithfully paraphrased it. Together the two scores localize the bug.

2 more follow-ups an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Picking the Relevance evaluator because it sounds related. Relevance is about the retrieved chunks vs the question, not the answer vs the chunks; it cannot detect a hallucinated answer drawn from good context.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Four Phoenix evaluators: Relevance, Hallucination, QA Correctness, Toxicity

  • What each evaluator's input pair is

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
Describe how end user thumbs up/down should flow back onto a trace
Flashcard·Easy