When you enroll in this course, you'll also be enrolled in this Specialization.
Learn new concepts from industry experts
Gain a foundational understanding of a subject or tool
Develop job-relevant skills with hands-on projects
Earn a shareable career certificate
There are 3 modules in this course
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.
Build a complete five-stage RAG pipeline (encode → chunk → index → fuse → retrieve) in pure Rust with aprender-rag. You'll wire RecursiveChunker(512, 50) for 50-character overlap that repairs query seams, MockEmbedder(384) for deterministic teaching-grade embeddings (no GPU, no model download, no network), and FusionStrategy::Rrf { k: 60 } for reciprocal rank fusion that lifts long-tail recall without learned weights. The closing demo runs aprender_film_search against a 50-row Sakila film fixture and emits top-5 JSON with four runtime assert! contracts that fire if anything drifts.
What's included
5 videos4 readings1 assignment1 ungraded lab
Show info about module content
5 videos•Total 16 minutes
What RAG Is•4 minutes
Recursive Chunking•3 minutes
Embeddings: Mock vs Real•3 minutes
Reciprocal Rank Fusion•3 minutes
Demo: aprender_film_search•2 minutes
4 readings•Total 35 minutes
About This Course•10 minutes
Key Terms: aprender-rag and the Five-Stage Pipeline•10 minutes
Meet pmat: Production Code Search You'll Use Today•5 minutes
Reflection: One Pipeline, Every Backend•10 minutes
1 assignment•Total 5 minutes
aprender-rag — In-Process Text RAG•5 minutes
1 ungraded lab•Total 60 minutes
Module 1: One query, three modes•60 minutes
Module 2: pmat query — Production Code-Search RAG
Module 2•1 hour to complete
Module details
Apply the same five-stage RAG pipeline to source code instead of text. The pmat query tool indexes a workspace where chunks are functions, then layers production-grade enrichment on top: search modes (--literal for exact ripgrep-style match, --regex for pattern, semantic by default), enrichment flags (--churn for 90-day Git volatility, --duplicates for MinHash+LSH clone detection, --entropy for diversity, --faults for Batuta unwrap/panic/unsafe annotations, -G for git-history RRF fusion), and the --coverage-gaps mode that ranks every function by uncovered line count so you write tests for the highest-leverage gaps first.
What's included
5 videos2 readings
Show info about module content
5 videos•Total 17 minutes
pmat query Architecture•4 minutes
Enrichment Flags•4 minutes
Search Modes: Literal, Regex, Semantic•3 minutes
Coverage Gaps Mode•3 minutes
Demo: pmat query in a Real Codebase•3 minutes
2 readings•Total 20 minutes
Key Terms: pmat query and Search Modes•10 minutes
Reflection: Same Pipeline, Source-Code Corpus•10 minutes
Capstone
Module 3•5 hours to complete
Module details
Build a Final Capstone Project on RAG
What's included
3 readings1 assignment
Show info about module content
3 readings•Total 260 minutes
Capstone: Three-Backend RAG with Provable Contracts•240 minutes
Before You Go•10 minutes
Next Steps•10 minutes
1 assignment•Total 15 minutes
Final Graded Quiz•15 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
When will I have access to the lectures and assignments?
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
What will I get if I subscribe to this Specialization?
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Is financial aid available?
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.