RAG From Zero

External: Coursera Courses ↗ · Coursera

Open Course on External: Coursera

Free to audit · Opens on External: Coursera

RAG From Zero

Coursera · Intermediate ·🔍 RAG & Vector Search ·1mo ago

Key Takeaways

Teaches building production Retrieval-Augmented Generation pipelines in Rust with the aprender-rag crate

Original Description

RAG from Zero is a hands-on two-module course that teaches you to build production Retrieval-Augmented Generation pipelines in Rust by walking two real tools you can use the same day. Module 1 walks the encode-chunk-index-fuse-retrieve pipeline one stage at a time using the published aprender-rag crate — RecursiveChunker(512, 50) with overlap, MockEmbedder(384) for deterministic teaching with candle for production, reciprocal-rank fusion at k=60, and a closing aprender_film_search demo against a 50-row Sakila fixture that asserts four runtime contracts. Module 2 walks pmat query, a production code-search RAG that ranks by semantic intent plus pagerank plus structural signals — --churn (90-day git volatility), --duplicates (MinHash + Locality-Sensitive Hashing clones), --entropy (pattern diversity), --faults, and -G git-history fusion. The course closes with cross-project search across a sibling-repo workspace via --include-project and --include-source so you can navigate a multi-crate codebase as one indexed corpus. No toy fixtures, no aspirational APIs — aprender-rag is on crates.io today, pmat ships from paiml/pmat, and the companion paiml/rag-from-zero repo runs end-to-end with cargo run and zero infrastructure.
Watch on External: Coursera ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related Reads

📰
AnswerSurvivalRAG: What Happens When RAG Finds the Answer, Then Drops It?
Learn how RAG systems can fail even when they find the correct answer, and why it matters for reliable AI performance
Medium · Machine Learning
📰
A RAG evaluator that admits what it can't judge
Learn how to build a reliable RAG evaluator that acknowledges its limitations, a crucial aspect of AI safety and robustness
Dev.to · Melissa D. Ellison
📰
RAG on Google Cloud in Regulated Environments: A Lifecycle Playbook from Inception to…
Learn to implement RAG on Google Cloud in regulated environments with a lifecycle playbook
Medium · Machine Learning
📰
Solving One of the Hardest Problems in Code RAG: Context Retrieval
Learn to solve context retrieval in code RAG systems, a crucial challenge in automation code generation, and improve your skills in RAG and code analysis.
Medium · RAG
Up next
RRF vs DBSF with Qdrant: Hybrid Retrieval Fusion for RAG in Python
Professor Py: AI Engineering
Watch →