weiwill88/Local_Pdf_Chat_RAG

🧠 纯原生 Python 实现的 RAG 框架 | FAISS + BM25 混合检索 | 支持 Ollama / SiliconFlow | 适合新手入门学习

51
/ 100
Established

Implements a complete RAG pipeline with modular components decomposing document loading, text chunking, embedding, vector storage (FAISS), and LLM generation into learnable stages. Combines dense vector retrieval with BM25 sparse retrieval, adds cross-encoder reranking and recursive retrieval for improved accuracy, and provides a Gradio interface for interactive learning. Supports pluggable LLM backends via auto-detection of local Ollama or SiliconFlow API endpoints.

842 stars. Actively maintained with 1 commit in the last 30 days.

No License No Package No Dependents
Maintenance 16 / 25
Adoption 10 / 25
Maturity 1 / 25
Community 24 / 25

How are scores calculated?

Stars

842

Forks

159

Language

Python

License

Last pushed

Mar 18, 2026

Commits (30d)

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/weiwill88/Local_Pdf_Chat_RAG"

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