RAG Techniques
A large, actively maintained collection of notebooks where each one implements a single retrieval technique, from basic chunking through hybrid search, reranking, query rewriting and evaluation. Useful because you can compare techniques on the same problem and keep only the ones that actually improve your results.
GitHub repo
AI & Machine Learning
Nir Diamant
Intermediate
Free
A large, actively maintained collection of notebooks where each one implements a single retrieval technique, from basic chunking through hybrid search, reranking, query rewriting and evaluation. Useful because you can compare techniques on the same problem and keep only the ones that actually improve your results.
Ready to start?
Opens on Nir Diamant in a new tab.
Stuck on something specific?
Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.
Follow along
New writing, resources and project ideas land here first.