#119 · Primary category: Knowledge Base & RAG
Local_Pdf_Chat_RAG
Transparent Python RAG reference with FAISS + BM25 hybrid retrieval, reranking, Gradio UI, and FastAPI.
Project last updated:08/16/26
GitHub Stars
949
Forks
179
Contributors
3
License
MIT
Why we included this project
For developers who want to see how retrieval-augmented generation actually works instead of treating a framework as a black box, this is a readable reference implementation. The pipeline is split into modules for document parsing, chunking, embedding with FAISS, BM25 keyword retrieval, hybrid search, reranking, and answer generation, and each piece can be read, tested, or swapped on its own. Both a Gradio interface and a FastAPI endpoint expose the same workflow, so you can upload a PDF and ask questions locally without much setup. Ollama and OpenAI-compatible backends are supported, which keeps offline experimentation practical. The repo is upfront that this is a teaching tool, not a hardened service, and it flags the limitations you should expect before trusting it with real data.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
ragflow
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
crawl4ai
🚀🤖 Crawl4AI: Open-source LLM Friendly Web Crawler & Scraper. Don't be shy, join here: https://discord.gg/jP8KfhDhyN
docling
Get your documents ready for gen AI
anything-llm
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience