Our take
- Activity
- 19
- Community
- 31
- Issues
- 21
- Pull requests
- 20
+596 stars in the last 30 days
Project history
Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.
Stars
10,105Forks
2,308Change since Nov 16, 2026: +19 stars·+4 forks
Overview
rag-from-scratch is an educational notebook series for learning how retrieval-augmented generation (RAG) works. It explores how retrieved documents can provide context to an LLM, helping ground answers in information outside the model’s training data.
The project is suited to people who want to understand RAG’s core stages and concepts. It accompanies a video playlist and is instructional material, not a packaged RAG service.
Key Features
- Presents RAG concepts through Jupyter notebooks.
- Builds understanding from core indexing, retrieval, and generation steps.
- Connects the notebooks to an accompanying video playlist.
- Focuses on learning the RAG approach from the ground up.
Use Cases
- Developers new to RAG can follow the notebooks to learn its main building blocks.
- Students can use the materials alongside the video playlist for a structured introduction.
- LLM practitioners can use the series to refresh their understanding of indexing, retrieval, and generation.
- Teams evaluating whether RAG suits a knowledge-grounding problem can use it as introductory learning material before choosing an implementation.
Getting Started
Browse the notebooks in the repository and follow the video playlist. See the README for project context and links.
Alternatives
- rag-zero-to-hero-guide: It covers RAG from fundamentals through advanced techniques, evaluation, and tools, while rag-from-scratch teaches core building blocks through a notebook series.
| Project | Language | License | Stars | Status |
|---|---|---|---|---|
| rag-from-scratch | Jupyter Notebook | – | 9.4k | Not checked yet |
| rag-zero-to-hero-guide | Jupyter Notebook | Apache-2.0 | 1.5k | Inactive |
Considerations
- This is a learning resource, not a turnkey application or deployment package.
- The provided README does not specify installation steps, dependencies, or a license. Check the notebook contents and repository files before running or reusing the material.
Found this useful?
Share it with someone who would like rag-from-scratch.