BooleanIQ / Learn

AI from the ground up / Level 600 / LESSON 609

Why RAG fails, and the fixes

Reranking, rewriting the question, filters, graphs, agents that search, pictures and tables

Know

Coming soon. This is the lesson outline; the full article is not available yet.

The wrong idea this corrects

"If RAG gives a wrong answer, the model is the problem." It is usually the retrieval.

What you will learn

  1. The right passage was cut in half: better chunking
  2. Similar but not relevant passages came back: a reranker
  3. The question was vague: rewrite it before searching
  4. An old circular outranked a new one: dates and filters
  5. The answer needs several documents together: let the model search in steps, or link facts in a graph; and tables and scanned pages need their own handling.

The picture to remember

A research assistant who brought the wrong five books from the library.

The honest part

Every fix adds cost and delay; which ones pay is found by measuring (611), not by fashion.