6.5 Evaluation
RAG systems work surprisingly well, but what does “well” actually mean? And how can we compare the effectiveness, accuracy, and efficiency of different RAG approaches? For this reason, RAG evaluation techniques try to measure the following parameters:
-
EffectivenessDoes our RAG system retrieve and use the relevant knowledge?
-
AccuracyHow good are the generated responses? Are they grounded in facts and coherent?
-
EfficiencyHow well does our system perform in different scenarios?
To make all this measurable and comparable, different metrics can be applied. So many metrics exist that only a small number can be presented.
First, we’ll look at some of the challenges that RAG systems face. Based on these findings, we’ll discuss ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access