Context Precision
A RAG metric: how relevant the found fragments are to the question and whether relevant ones are ranked highly.
What It Shows
If the model finds 10 fragments and the needed one is in 8th place — the context precision is low. The metric penalizes for a 'buried' relevant fragment.
Difference from Context Recall
| Context Precision | Context Recall | |
|---|---|---|
| Question | Is what was found relevant? | Did it find everything relevant? |
| Problem | Junk in the results | Missing important |
How It Is Calculated
An LLM-judge evaluates each fragment for relevance and considers its position.