RAG Architecture: The Components End to End
A map of a complete retrieval-augmented generation system, from ingestion to answer, and what each component is responsible for.
RAG 1 min read 7 Dec 2025 For people
Read
Short, practical reads on AI and data — from first principles to RAG, agents, MCP and AI security. Free, no sign-in.
35 guides in RAG
A map of a complete retrieval-augmented generation system, from ingestion to answer, and what each component is responsible for.
RAG 1 min read 7 Dec 2025 For people
Turning PDFs, slides, HTML and scans into clean, structured text — the unglamorous step that decides RAG quality.
RAG 2 min read 6 Dec 2025 For people
How to choose chunk size and overlap for retrieval by testing against real questions rather than guessing.
RAG 2 min read 5 Dec 2025 For people
Combining keyword and vector search so RAG finds both exact terms and paraphrased meaning.
RAG 2 min read 4 Dec 2025 For people
Improving retrieval by rewriting user questions: expansion, decomposition, hypothetical answers and conversational context.
RAG 1 min read 3 Dec 2025 For people
Using document metadata — dates, sources, products, permissions — to narrow retrieval and get more relevant, safer results.
RAG 2 min read 2 Dec 2025 For people
How to make RAG answers cite their sources reliably, and how to check that citations really support the claims.
RAG 2 min read 1 Dec 2025 For people
How to measure a RAG system properly: retrieval quality, answer correctness, faithfulness and the test set that ties them together.
RAG 2 min read 30 Nov 2025 For people
Keeping answers tied to retrieved sources: prompting, checking and measuring whether every claim is supported.
RAG 2 min read 29 Nov 2025 For people
Incremental updates, deletions, versioning and monitoring so a RAG system never answers from outdated documents.
RAG 1 min read 28 Nov 2025 For people
Making sure RAG only retrieves content each user is allowed to see, and avoiding leaks through prompts, caches and logs.
RAG 2 min read 27 Nov 2025 For people
Answering questions over databases and spreadsheets with text-to-SQL and table retrieval instead of text chunks.
RAG 2 min read 26 Nov 2025 For people
When a single retrieval step isn't enough: letting an agent decide what to search, when, and how often.
RAG 1 min read 25 Nov 2025 For people
Using knowledge graphs alongside vector search to answer questions about relationships and whole collections.
RAG 2 min read 24 Nov 2025 For people
With context windows now very large, when should you just paste in the documents, and when is retrieval still better?
RAG 2 min read 23 Nov 2025 For people
Why chunks lose meaning when cut from their documents, and how prepending context improves retrieval accuracy.
RAG 2 min read 22 Nov 2025 For people
The recurring ways RAG systems fail — from missed retrieval to stale content — and how to diagnose each one.
RAG 1 min read 21 Nov 2025 For people
The factors that matter when picking an embedding model for retrieval: language, domain, dimensions, input length, cost and licence.
RAG 2 min read 20 Nov 2025 For people
How to structure the prompt that turns retrieved passages into a grounded, cited answer.
RAG 1 min read 19 Nov 2025 For people
Making RAG work in multi-turn chat: rewriting follow-ups, carrying context and avoiding stale retrieval.
RAG 1 min read 18 Nov 2025 For people