{"id":28317724,"url":"https://github.com/intrepidkid/rag-chatbot","last_synced_at":"2026-02-21T20:04:41.045Z","repository":{"id":286787097,"uuid":"962529187","full_name":"intrepidkid/RAG-Chatbot","owner":"intrepidkid","description":"RAG chatbot using Intel's Neural Chat 7B LLM, BGE Embeddings, ChromaDB, Langchain, and CTransformers. A simple frontend developed using HTML, CSS and bootstrap. Basic Project to implement the functionality of RAG.","archived":false,"fork":false,"pushed_at":"2025-04-08T10:59:22.000Z","size":1026,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T23:40:27.936Z","etag":null,"topics":["ai","bootstrap","langchain","python3","rag"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intrepidkid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-08T09:39:51.000Z","updated_at":"2025-04-09T09:25:50.000Z","dependencies_parsed_at":"2025-04-08T11:38:46.133Z","dependency_job_id":null,"html_url":"https://github.com/intrepidkid/RAG-Chatbot","commit_stats":null,"previous_names":["intrepidkid/rag-chatbot-"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/intrepidkid/RAG-Chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intrepidkid%2FRAG-Chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intrepidkid%2FRAG-Chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intrepidkid%2FRAG-Chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intrepidkid%2FRAG-Chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intrepidkid","download_url":"https://codeload.github.com/intrepidkid/RAG-Chatbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intrepidkid%2FRAG-Chatbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29691948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-21T18:18:25.093Z","status":"ssl_error","status_checked_at":"2026-02-21T18:18:22.435Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","bootstrap","langchain","python3","rag"],"created_at":"2025-05-25T06:12:36.224Z","updated_at":"2026-02-21T20:04:41.017Z","avatar_url":"https://github.com/intrepidkid.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🧠 RAG Chatbot – Retrieval-Augmented Generation with LangChain\n\nThis is a lightweight, local Retrieval-Augmented Generation (RAG) chatbot built using **LangChain**, **Chroma**, and a **local LLM** (neural-chat 7B GGUF model). It allows users to ask questions, and the system responds with contextually relevant answers based on ingested documents.\n\n## 🚀 Features\n\n- 🔍 **Document Search:** Uses Chroma vector store to find relevant chunks.\n- 🧠 **Local LLM:** Uses `CTransformers` to run a GGUF quantized model (no internet required).\n- 🧾 **Custom PDF Ingestion:** Load and split PDFs using `PyMuPDFLoader`.\n- 🧬 **HuggingFace BGE Embeddings:** For high-quality semantic search.\n- 🌐 **Flask Web App:** Simple frontend to interact with the chatbot.\n\n---\n\n## 🗂️ Project Structure\n\n```\nRAG_Chatbot_Inv_Bank/\n│\n├── Data/\n│   ├── app.py                  # Main Flask app\n│   ├── ingest.py               # For loading and vectorizing documents\n│   ├── neural-chat-7b...gguf   # Local quantized LLM (ignored in git)\n│   └── 400 Questions.pdf       # Sample document\n│\n├── templates/\n│   └── index.html              # Frontend for the chatbot\n│\n├── stores/                     # Chroma vector store (ignored in git)\n├── .gitignore\n└── README.md\n```\n\n---\n\n## 🛠️ Installation\n\n\u003e 📍 Make sure you have Python 3.10+ and `pip` installed.\n\n```bash\ngit clone https://github.com/intrepidkid/RAG-Chatbot-.git\ncd RAG-Chatbot-\n\npython -m venv venv\nvenv\\Scripts\\activate  # or source venv/bin/activate on Unix\n\npip install -r requirements.txt\n```\n\n\u003e Make sure to download the `.gguf` model file manually and place it inside the `Data/` folder.\n\n---\n\n## ⚙️ Usage\n\n### 1. Ingest Documents\n\nRun this once to process your PDF files and generate embeddings:\n\n```bash\npython Data/ingest.py\n```\n\n### 2. Start the Flask App\n\n```bash\npython Data/app.py\n```\n\nGo to `http://127.0.0.1:5000/` to chat!\n\n---\n\n## 🔒 .gitignore Example\n\n```gitignore\nvenv/\n__pycache__/\n*.pyc\n*.log\n.env\n*.gguf\nstores/\n```\n\n---\n\n## 💡 Tech Stack\n\n- [LangChain](https://www.langchain.com/)\n- [CTransformers](https://github.com/marella/ctransformers)\n- [ChromaDB](https://www.trychroma.com/)\n- [HuggingFace BGE Embeddings](https://huggingface.co/BAAI/bge-large-en)\n- Flask + HTML\n\n---\n\n## 🧼 TODO\n\n- [ ] Improve UI with streaming response\n- [ ] Add file upload functionality\n- [ ] Support GPU inference (optional)\n\n---\n\n## 📜 License\n\nMIT License\n\n---\n\n## 🧑‍💻 Author\n\n**@intrepidkid**  \n🔗 [GitHub](https://github.com/intrepidkid)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintrepidkid%2Frag-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintrepidkid%2Frag-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintrepidkid%2Frag-chatbot/lists"}