shibing624/ChatPDF

RAG for Local LLM, chat with PDF/doc/txt files, ChatPDF. 纯原生实现RAG功能,基于本地LLM、embedding模型、reranker模型实现,支持GraphRAG,无须安装任何第三方agent库。

50
/ 100
Established

Implements a lightweight GraphRAG system with hybrid retrieval combining BM25 keyword matching and sentence-embedding similarity, plus a reranker module to refine candidate chunks. Supports multiple local LLM APIs (Ollama, Deepseek, Qwen) with pluggable embedding models and optimized Chinese/bilingual text chunking. Built on Gradio for the web interface with async concurrent requests and context-window expansion for retrieved passages.

840 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 24 / 25

How are scores calculated?

Stars

840

Forks

144

Language

Python

License

Apache-2.0

Last pushed

Apr 02, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/shibing624/ChatPDF"

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