By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
Every AI evaluation framework in existence — DeepEval, RAGAS, TruLens, LangSmith, your own scripts — uses roughly the same small vocabulary. Learn these six and the frameworks become interchangeable.
Question it answers: is every factual claim in the answer supported by the retrieved context?
The judge breaks the answer into individual claims, then checks each claim against the context. Score = supported claims ÷ total claims.
CONTEXT: Sale items may be returned within 14 days of delivery for store credit.
ANSWER : You can return sale items within 14 days and receive a full refund to your
card within 3 working days.
Claims:
1. sale items returnable within 14 days -> SUPPORTED
2. refund goes back to your card -> NOT SUPPORTED (store credit)
3. takes 3 working days -> NOT SUPPORTED (nothing said)
Faithfulness = 1/3 = 0.33This is why faithfulness is the anti-hallucination metric. The answer is fluent, plausible, and two-thirds invented.
Question it answers: does the answer actually address the question, without dodging or rambling?
Judged by generating questions the answer would be a good response to, and measuring how close those are to the real question. A non-answer to a real question scores low even if every word is true.
'Our returns policy is designed to give customers flexibility and value.' That is perfectly true, perfectly relevant to nothing, and should score near zero.
These two look at the retrieved chunks only, ignoring the answer. They tell you whether your search is the problem.
| Metric | Question | Low score means | Fix |
|---|---|---|---|
| Context precision | Are the good chunks ranked above the bad ones? | Relevant docs are buried under noise | Reranking, better chunking, metadata filters |
| Context recall | Did we retrieve everything needed for a correct answer? | Missing documents | More top-k, better embeddings, hybrid search |
| Context relevancy | Are the chunks on-topic at all? | Retrieval is returning junk | Index quality, embedding model, filters |
A worked pair of examples makes the difference obvious:
Question: 'Can I return a sale item bought in the UK?'
Needed : [uk-returns-policy]
Retrieved: [us-returns-policy, uk-returns-policy, shipping-faq]
recall = 1.0 (the needed doc IS there)
precision = 0.5 (the best doc ranked second, one junk chunk)
-> the model may still answer from the US doc. Fix ranking.
Retrieved: [us-returns-policy, gift-cards-faq]
recall = 0.0 (the needed doc is missing entirely)
-> no prompt can fix this. Fix retrieval.Question it answers: compared to a known-good answer, did we cover all the required points? Faithfulness says 'nothing invented'; completeness says 'nothing important omitted'. You need both, and you can only compute completeness when you have an expected answer.
Expected: sale items returnable within 14 days, store credit only,
worn items excluded.
Actual : sale items returnable within 14 days for store credit.
faithfulness = 1.0 (nothing invented)
completeness = 0.67 (missed 'worn items excluded')| If you can only afford three | Use these | Why |
|---|---|---|
| RAG question answering | Faithfulness, answer relevancy, context recall | Covers invented claims, dodged questions and missing documents |
| Chatbot with no retrieval | Answer relevancy, completeness, toxicity | No context to be faithful to |
| Agent | Faithfulness + tool-trace assertions | Words can lie; assertions on actions cannot |
| Summarisation | Faithfulness, completeness, conciseness | Invention and omission are the two failure modes |
Key takeaways
Six metrics cover most work: faithfulness, relevancy, completeness, precision, recall, context relevancy.
Faithfulness = share of claims supported by context. It is the anti-hallucination metric.
Precision and recall judge the retriever — low recall cannot be fixed by prompting.
High faithfulness with wrong answers means retrieval is the bug.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.