AI engineering glossary · RAG vector search

What is CRAG (Corrective RAG)?

Corrective RAG (also called CRAG): A RAG variant that evaluates the quality of retrieved passages and, if they look irrelevant or weak, triggers a fallback such as a web search or query rewrite before generating. It aims to stop poor retrieval from producing poor answers.

Level: advancedTopic: RAG vector search

Corrective RAG: an example

If a grader marks all 5 retrieved chunks as off-topic, the system reruns the search with a rewritten query.

Related terms

More RAG vector search terms

Where you learn it

Corrective RAG 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.