NirDiamant / RAG_Techniques
git clone https://github.com/NirDiamant/RAG_Techniques.git
book-v1.0 Β· 6mo ago
π₯ on GitHub Trending today
This repository showcases various advanced techniques for Retrieval-Augmented Generation (RAG) systems. Each technique has a detailed notebook tutorial.
β
stars, 24h
+98
stars, 7 days Β· #514
+418
stars, 30 days Β· #648
30k
β
total Β· +0% this week
3.7k
forks Β· 8 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguageJupyter Notebook
Licenseβ
Created2024-07-13 (2y ago)
Last pushtoday
Watchers258
OwnerUser
Seen on GitHub Trending
- 2026-10-20 β #18 monthly in jupyter-notebook Β· +418 β
- 2026-10-20 β #14 weekly in jupyter-notebook Β· +98 β
GitHub topics
agentic-ragaiembeddingsgenerative-aigptlangchainllama-indexllmllmsmachine-learningnlpopenaipythonragretrieval-augmented-generationsemantic-searchtutorialsvector-database
Links
- GitHub: github.com/NirDiamant/RAG_Techniques
- Homepage: https://diamant-ai.com
- Releases Β· Issues Β· Hacker News mentions
README excerpt
# Advanced RAG Techniques π ### Elevating Your Retrieval-Augmented Generation Systems A community-driven hub of **42+ runnable notebooks** covering RAG techniques from foundational to cutting-edge - the intuition, the code, and the references to build more accurate, context-rich retrieval systems. --- π From RAG prototypes to production **Prompt to Production** - my full course on building software with AI the way professionals do: the methods and paradigms behind reliable, efficient, modular production systems, taught systematically. 17 modules, each pairing a video lecture with a hands-on lab, from your first structured prompt to a working production system. **$199 Β· one payment Β· lifetime access Β· 30-day refund, no questions** $99 in India, Pakistan, Bangladesh, Sri Lanka and Nepal, applied at checkout. > "I went through the module and I like that you explicitly separate advisory rules from rules that become executable through hooks, tests or CI." > **Theo Valmis, Mneme HQ** ### π **Get the course: $199** Not ready? Try the first module free, no signup Β· Expensing it? The note for your manager ## Sponsors β€οΈ We gratefully acknowledge the organizations and individuals who have made significant contributions to this project. **Company Sponsors** **Individual Sponsors** ## π« Stay Updated! π Cutting-edge Updates π‘ Expert Insights π― Top 0.1% Content *Join over 50,000 AI enthusiasts getting unique cutting-edge insights and free tutorials!* ***Plus, subscribers get exclusive early access and special 33% discounts to my book and the upcoming RAG Techniques course!*** π¬ Prefer video? *I break these ideas down into short, one-idea-per-episode explainers on YouTube.* π AI Is Rewarded for Guessing [Hallucination] why a model guesses instead of saying I don't know, watched on its own token probabilities, and where retrieval moves the fact out of the guess RAG Explained: Why AI Gets Your Own Documents Wrong why chunks overlap, what "meaning space" is, and where simple RAG breaks down How Do You Search a Spreadsheet by Meaning? turn each row into one labelled line and search the table by meaning How Do You Know Your RAG Answer Isn't Made Up? three checkpoints that catch a bad chunk on the way in and an unsupported claim on the way out Why Does RAG Return a Paragraph When You Asked for One Fact? why a paragraph's embedding is a blend that points at nothing in particular Β **Browse every episode β** ## Introduction Retrieval-Augmented Generation (RAG) is revolutionizing the way we combine information retrieval with generative AI. This repository showcases a curated collection of advanced techniques designed to supercharge your RAG systems, enabling them to deliver more accurate, contextually relevant, and comprehensive responses. Our goal is to provide a valuable resource for researchers and practitioners looking to push the boundaries of what's possible with RAG. By fostering a collaborative environment, we aim to accelerate