liu673/rag-all-techniques

Implementation of all RAG techniques in a simpler way(以简单的方式实现所有 RAG 技术)

51
/ 100
Established

Implements 17+ RAG techniques (semantic chunking, query transformation, reranking, graph-based retrieval, etc.) using standard Python libraries (OpenAI, NumPy, PyMuPDF) rather than framework abstractions like LangChain or FAISS. Each technique includes fully-commented notebook implementations demonstrating the complete pipeline from document ingestion through embedding creation, semantic search, and LLM-based response generation. Covers advanced patterns including adaptive retrieval strategy selection, self-evaluating RAG with relevance assessment, hybrid vector/BM25 fusion, and iterative feedback loops for continuous optimization.

453 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 10 / 25
Maturity 15 / 25
Community 24 / 25

How are scores calculated?

Stars

453

Forks

114

Language

Jupyter Notebook

License

MIT

Last pushed

May 06, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/liu673/rag-all-techniques"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.