Faithfulness
An eval metric measuring whether every claim in an answer is supported by the retrieved context.
Step 1 of 5
Take answer
The answer under test: 'Refunds take 5-7 days and include a 10% restocking fee.'
Faithful means supported by the context, which is not the same as true.
Simple explanation
Faithfulness asks: 'Is everything the model said actually in the sources?' A faithful answer doesn't add, embellish or hallucinate. It's a core RAG eval metric.
Engineering explanation
Faithfulness is scored by an LLM-as-judge (different model from the system) that checks each claim in the answer against the retrieved context. Score = (supported claims / total claims). Teams set their own thresholds on the score, and an eval gate can block a deploy when faithfulness drops noticeably from the baseline.
Example
Answer: 'Refunds take 5-7 days and include a 10% restocking fee.' Context only mentions 5-7 days. Faithfulness = 0.5 (one claim supported, one hallucinated).
When to use it
Any RAG eval pipeline. The primary generation-quality metric alongside answer_relevance.
Common misconception
Faithfulness is NOT the same as accuracy. Faithfulness = supported by context. Accuracy = factually true. An answer can be faithful (matches wrong context) but inaccurate.