Part 17 / Topic 1 of 6
The RAG pipeline
LLMs know nothing after their cut-off and nothing private. RAG fixes both by retrieving your documents and generating from them:
offline: documents → chunk (Part 16) → embed → index
query: question → embed → top-k chunks → grounded prompt (Part 15) → Claude → cited answer
Every box is a part you have already built. RAG is not a product you install; it is this assembly — and each box fails independently, which is why the rest of this part is about measuring.
Done here? The practice set for Part 17 — 4 exercises with solutions — is on the part page.