{"id":17527149,"url":"https://github.com/datvodinh/rag-chatbot","last_synced_at":"2026-01-09T23:03:09.411Z","repository":{"id":228065259,"uuid":"773015046","full_name":"datvodinh/rag-chatbot","owner":"datvodinh","description":" Chat with multiple PDFs locally","archived":false,"fork":false,"pushed_at":"2024-10-11T04:30:01.000Z","size":9126,"stargazers_count":537,"open_issues_count":8,"forks_count":82,"subscribers_count":13,"default_branch":"main","last_synced_at":"2025-06-07T09:44:14.505Z","etag":null,"topics":["chatbot","chatbot-ui","chatbots","gradio","llama-index","llama3","llm","mistral","ollama","question-answering","rag"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datvodinh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-03-16T14:05:28.000Z","updated_at":"2025-06-04T10:37:26.000Z","dependencies_parsed_at":"2025-04-24T05:44:58.286Z","dependency_job_id":"1bbd130f-7937-4a47-b307-c18880116bf4","html_url":"https://github.com/datvodinh/rag-chatbot","commit_stats":null,"previous_names":["datvodinh/rag-chatbot"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/datvodinh/rag-chatbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datvodinh%2Frag-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datvodinh%2Frag-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datvodinh%2Frag-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datvodinh%2Frag-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datvodinh","download_url":"https://codeload.github.com/datvodinh/rag-chatbot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datvodinh%2Frag-chatbot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264914603,"owners_count":23682861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["chatbot","chatbot-ui","chatbots","gradio","llama-index","llama3","llm","mistral","ollama","question-answering","rag"],"created_at":"2024-10-20T15:08:08.675Z","updated_at":"2026-01-09T23:03:09.406Z","avatar_url":"https://github.com/datvodinh.png","language":"Python","funding_links":[],"categories":["others","A01_文本生成_文本对话","Web \u0026 Desktop UIs","Stale"],"sub_categories":["大语言对话模型及数据","RAG \u0026 Vector Search"],"readme":"# 🤖 Chat with multiple PDFs locally\n\n![alt text](assets/demo.png)\n\n## 📖 Table of Contents\n\n- [📖 Table of Contents](#-table-of-contents)\n- [⭐️ Key Features](#️-key-features)\n- [💡 Idea (Experiment)](#-idea-experiment)\n- [💻 Setup](#-setup)\n- [1. Kaggle (Recommended)](#1-kaggle-recommended)\n- [2. Local](#2-local)\n  - [2.1. Clone project](#21-clone-project)\n  - [2.2 Install](#22-install)\n  - [2.3 Run](#23-run)\n  - [3. Go to: `http://0.0.0.0:7860/` or Ngrok link after setup completed](#3-go-to-http00007860-or-ngrok-link-after-setup-completed)\n- [🌟 Star History](#-star-history)\n\n## ⭐️ Key Features\n\n- Easy to run on `Local` or `Kaggle` (new)\n- Using any model from `Huggingface` and `Ollama`\n- Process multiple PDF inputs.\n- Chat with multiples languages (Coming soon).\n- Simple UI with `Gradio`.\n\n## 💡 Idea (Experiment)\n\n![RAG Flow](./assets/rag-flow.svg)\n\n![Retriever](./assets/retriever.svg)\n\n## 💻 Setup\n\n## 1. Kaggle (Recommended)\n\n- Import [`notebooks/kaggle.ipynb`](notebooks/kaggle.ipynb) to Kaggle\n- Replace `\u003cYOUR_NGROK_TOKEN\u003e` with your tokens.\n\n## 2. Local\n\n### 2.1. Clone project\n\n```bash\ngit clone https://github.com/datvodinh/rag-chatbot.git\ncd rag-chatbot\n```\n\n### 2.2 Install\n\n#### 2.2.0 Install `uv` (once)\n\n```bash\ncurl -LsSf https://astral.sh/uv/install.sh | sh\n```\n\n\u003e Make sure `~/.local/bin` (default install location) is on your `PATH`.\n\n#### 2.2.1 Docker\n\n```bash\ndocker compose up --build\n```\n\n#### 2.2.2 Using script (Ollama, Ngrok, python package)\n\n```bash\nbash ./scripts/install_extra.sh\n```\n\n#### 2.2.3 Install manually\n\n##### 1. `Ollama`\n\n- MacOS, Window: [Download](https://ollama.com/)\n\n- Linux\n\n```bash\ncurl -fsSL https://ollama.com/install.sh | sh\n```\n\n##### 2. `Ngrok`\n\n- Macos\n\n```bash\nbrew install ngrok/ngrok/ngrok\n```\n\n- Linux\n\n```bash\ncurl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc \\\n| sudo tee /etc/apt/trusted.gpg.d/ngrok.asc \u003e/dev/null \\\n\u0026\u0026 echo \"deb https://ngrok-agent.s3.amazonaws.com buster main\" \\\n| sudo tee /etc/apt/sources.list.d/ngrok.list \\\n\u0026\u0026 sudo apt update \\\n\u0026\u0026 sudo apt install ngrok\n```\n\n##### 3. Install `rag_chatbot` Package\n\n```bash\nuv sync --locked\n```\n\n### 2.3 Run\n\n```bash\nbash ./scripts/run.sh\n```\n\nor\n\n```bash\nuv run python -m rag_chatbot --host localhost\n```\n\n- Using Ngrok\n\n```bash\nbash ./scripts/run.sh --ngrok\n```\n\n### 3. Go to: `http://0.0.0.0:7860/` or Ngrok link after setup completed\n\n## 🌟 Star History\n\n[![Star History Chart](https://api.star-history.com/svg?repos=datvodinh/rag-chatbot\u0026type=Date)](https://star-history.com/#datvodinh/rag-chatbot\u0026Date)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatvodinh%2Frag-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatvodinh%2Frag-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatvodinh%2Frag-chatbot/lists"}