RAG interview question · Most asked

How do you evaluate a RAG system?

Create a free account to save this page, take notes and track your progress. Sign in

Summary

Separately for retrieval and generation, on a labelled set of real questions: retrieval with recall@k and MRR against gold passages; generation with correctness against key facts, faithfulness (claims supported by retrieved text) and citation validity, using code graders and calibrated model graders. Compare per question to find regressions, and gate changes in CI.

Longer Answer

Production signals (negative feedback, 'not found' rate, escalations) feed new cases into the set.

Key Points

  • Retrieval: recall@k, MRR.
  • Generation: correctness, faithfulness, citations.
  • Per-question comparison.
  • CI gates and production feedback.

Deep dive: Measuring Retrieval and Answer Quality

More most-asked RAG questions

← All RAG questions

Was this page helpful?