Intermediate · Learning path
Production RAG and Document Intelligence
Follow the retrieval pipeline from source documents through indexing, retrieval, context construction, and failure analysis.
Learning objectives
- Explain the stages and contracts of a retrieval pipeline.
- Identify where document structure and language affect retrieval.
- Separate retrieval failures from generation failures.
Local progress
Module checks are stored only in this browser. There is no account, synchronization or transmission to the site.
Path modules
-
1. Search, embeddings, and ranking
Read
- Build a Small Search Engine from Scratch with Python
- Word Embeddings to Retrieval Vectors: What an Embedding Means
- مقایسهٔ Vector Databaseها برای RAG: انتخاب و Benchmark
- چطور Embedding Model مناسب برای فارسی انتخاب کنیم؟
Practice activity
Compare one lexical and one semantic retrieval example; write what evidence each ranker can and cannot use.
-
2. Parsing and chunking documents
Read
Practice activity
Choose a document with headings or tables and list the structural information that should survive extraction before chunking.
-
3. Design the retrieval stage
Read
- Vector Databases for RAG: How to Choose and Benchmark
- بازیابی Contextual؛ چطور context گمشدهٔ chunk را برگردانیم؟
- چرا برای جستوجوی یک سند به چند embedding نیاز داریم؟
Practice activity
Draw a retrieval flow with candidate generation, filtering, and context selection; state the observable evidence at each boundary.
-
4. Architecture and failure diagnosis
Read
- معماری Production RAG؛ از Ingestion تا پاسخ قابلردیابی
- ده خطای RAG و راه پیدا کردن لایهای که خراب شده
Practice activity
For an incorrect answer, make a table of evidence that would distinguish parsing, retrieval, context assembly, and generation causes.
Completion criteria
Explain a retrieval-backed system as observable stages and propose a diagnosis for one failure without treating the final answer alone as sufficient evidence.