179 questions
No questions match those filters.
How do you actually evaluate a RAG system end to end — what metrics matter?
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansThe reason evaluation has to split into retrieval and generation is that both produce the same visible symptom — a wrong answer — for completely different underlying reasons, and fixing the wrong one wastes effort. Retrieval-side metrics answer “did the system find the right material”: Hit Rate or Recall@K checks whether the correct chunk shows up anywhere in the top K results, MRR checks how highly it was ranked when it did show up, and NDCG accounts for graded relevance rather than a binary hit/miss.
Generation-side metrics answer “given what it found, did the model use it well”: Faithfulness checks whether every claim in the answer is actually grounded in the retrieved text rather than invented, Answer Relevancy checks whether the response actually addresses what was asked, and Context Relevancy checks how much of the retrieved material was useful signal versus noise. Running both sides simultaneously is what turns a diagnosis into an action — a system with 87% hit rate but only 79% context relevancy has a noise problem that reranking fixes, not a retrieval-coverage problem that needs better embeddings.