Why RAG evaluation is harder than it looks
A RAG pipeline has two moving parts: a retriever and a generator. When the final answer is wrong, you need to know which part failed. Did the retriever pull the wrong chunks? Did the LLM hallucinate despite good context? Or did the LLM ignore perfectly good context?
Standard NLP metrics like BLEU or ROUGE don't help here — they measure lexical overlap against a reference answer, which tells you almost nothing about factual faithfulness or retrieval quality. Human evaluation is reliable but doesn't scale. RAGAS (Retrieval-Augmented Generation Assessment) fills this gap with four complementary metrics that decompose RAG quality into distinct, measurable signals — all computable without a human in the loop for every sample.
