Pragmatic AI Labs

RAG From Zero

Noah Gift

Instructor: Noah Gift

Included with Coursera Plus

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

7 hours to complete
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

7 hours to complete
Flexible schedule
Learn at your own pace

What you'll learn

  • Apply the five-stage RAG pipeline (encode, chunk, index, fuse, retrieve) using the aprender-rag crate against a real corpus

  • Analyze recursive-chunking overlap and reciprocal-rank-fusion k for the recall-vs-noise trade-off

  • Evaluate pmat query enrichment flags (--churn, --duplicates, --entropy, --faults, -G) for ranking source-code search by intent

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

May 2026

Assessments

2 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

There are 3 modules in this course

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

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

Build a Final Capstone Project on RAG

What's included

3 readings1 assignment

Instructor

Noah Gift
Pragmatic AI Labs
42 Courses2,928 learners

Offered by

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."
Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Frequently asked questions