← Overview

RAG FIELD GUIDE · MODULE 01

Retrieval, end to end.

A guided map of retrieval-augmented generation: the offline index, the online query path, and the choices that change the answer.

RAG / FLOW

The whole machine, on one page.

Indexing happens before the question arrives. Retrieval happens after. Most RAG confusion comes from mixing the two.

01Offline / indexing

  1. Sources
  2. Parse
  3. ChunkPC
  4. Metadata
  5. IndexHY · GR

02Online / query

  1. Query
  2. RewriteQW
  3. RetrieveHY
  4. FuseHY
  5. RerankRR
  6. ContextPC
  7. Generate
  8. Cite

The index built offline is what the query path retrieves from.

Badges mark where advanced techniques plug in: QW query rewrite · HY hybrid · RR rerank · PC parent-child · GR graph.

Overview

4 chapters