RAG From Zero

Coursera Courses ↗ · Coursera

Open Course on Coursera

Free to audit · Opens on Coursera

RAG From Zero

Coursera · Intermediate ·🔍 RAG & Vector Search ·4h ago
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 Coursera ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

I Spent 6 Months Fixing RAG. Here's What I Found (And Built)
Learn how to debug and improve RAG models by following a 6-month debugging session that led to a research paper
Dev.to · vigneshwar
Building Production-Grade RAG: A Complete Architecture Guide
Learn to build a production-grade RAG system with a complete architecture guide, moving beyond basic demos to create a reliable and observable enterprise-ready system
Medium · AI
Building a Hybrid RAG in 200 Lines — SQLite + FTS5 + sqlite-vec + RRF
Learn to build a hybrid RAG system using SQLite, FTS5, and sqlite-vec in 200 lines of Python code, with zero server costs
Dev.to · soy
Chunking Is Easy. Parsing Is Hard.
Learn why your RAG pipeline may be reasoning over broken data and how to improve it by understanding the differences between chunking and parsing
Medium · AI
Up next
Watch this before applying for jobs as a developer.
Tech With Tim
Watch →