← all repositories
NirDiamant/RAG_Techniques

A Field Guide to RAG: 42 Runnable Techniques

It catalogs 42 advanced RAG techniques as runnable notebooks so developers can compare chunking, reranking, and graph retrieval strategies without wiring up every pipeline from scratch.

★30k stars Jupyter Notebook RAG · SearchLearning
RAG_Techniques
Velocity · 7d
+13
★ / day
Trend
↘cooling
star history

What it does

This repository collects Jupyter notebooks that implement specific Retrieval-Augmented Generation patterns, from foundational chunking to graph-based retrieval. Each notebook demonstrates a single technique—such as MemoRAG, JSON RAG, or Open-RAG-Eval—so you can inspect the mechanics without building a pipeline from scratch. The author pairs the code with external write-ups that explain the intuition behind each approach and when it quietly fails.

The interesting bit

Instead of treating RAG as a solved problem with one true architecture, the repo frames it as a design space of 42 distinct strategies you can compare side-by-side. That makes it less of a framework and more of a field guide for retrieval mechanics.

Key highlights

  • 42 runnable notebooks covering foundational to advanced RAG patterns
  • Recently added techniques include MemoRAG, Open-RAG-Eval, end-to-end evaluation, and JSON RAG
  • Each notebook is accompanied by a detailed explainer on when the technique wins (and when it quietly fails)
  • Links out to related repos covering agents, prompt engineering, and agent memory
  • Actively accepts community contributions with documented guidelines

Verdict

Developers who are debugging retrieval pipelines or choosing between chunking and reranking strategies will find this a useful survey. Skip it if you need a single, opinionated production framework rather than a broad technique catalog.

Frequently asked

What is NirDiamant/RAG_Techniques?
It catalogs 42 advanced RAG techniques as runnable notebooks so developers can compare chunking, reranking, and graph retrieval strategies without wiring up every pipeline from scratch.
Is RAG_Techniques open source?
Yes — NirDiamant/RAG_Techniques is an open-source project tracked on heatdrop.
What language is RAG_Techniques written in?
NirDiamant/RAG_Techniques is primarily written in Jupyter Notebook.
How popular is RAG_Techniques?
NirDiamant/RAG_Techniques has 30k stars on GitHub and is currently cooling off.
Where can I find RAG_Techniques?
NirDiamant/RAG_Techniques is on GitHub at https://github.com/NirDiamant/RAG_Techniques.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.