AI engineering glossary · RAG vector search

What is context relevance?

Context relevance: A RAG evaluation measure of how much of the retrieved context is actually useful for answering the question. Low values mean the retriever is fetching noise that wastes tokens and may distract the model.

Level: intermediateTopic: RAG vector search

Context relevance: an example

If 2 of 5 retrieved chunks bear on the question, context relevance is about 0.4.

Related terms

More RAG vector search terms

Where you learn it

Context relevance is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.