AI engineering glossary · RAG vector search
What is context precision?
Context precision: A RAG evaluation measure of whether relevant chunks are ranked above irrelevant ones in the retrieved list. It rewards putting useful passages at the top, which matters because position affects model use.
Context precision: an example
Retrieved order relevant, irrelevant, relevant scores better than irrelevant, irrelevant, relevant.
Related terms
More RAG vector search terms
- Context recall
- Context relevance
- Contextual chunk enrichment
- Contextual retrieval
- Conversational RAG
- Corrective RAG
- Cosine distance
- Dense retrieval
Where you learn it
Context precision is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.