DocsGPT πŸ¦–

Open-Source RAG Assistant

DocsGPT is an open-source genAI tool that helps users get reliable answers from any knowledge source, while avoiding hallucinations. It enables quick and reliable information retrieval, with tooling and agentic system capability built in.

![link to main GitHub showing Stars number](https://img.shields.io/github/stars/arc53/docsgpt?style=social) ![link to main GitHub showing Forks number](https://img.shields.io/github/forks/arc53/docsgpt?style=social) ![link to license file](https://img.shields.io/github/license/arc53/docsgpt) ![link to discord](https://img.shields.io/discord/1070046503302877216) ![X (formerly Twitter) URL](https://img.shields.io/twitter/follow/docsgptai)
[☁️ Cloud Version](https://app.docsgpt.cloud/) β€’ [πŸ’¬ Discord](https://discord.gg/n5BX8dh8rU) β€’ [πŸ“– Guides](https://docs.docsgpt.cloud/)
[πŸ‘« Contribute](https://github.com/arc53/DocsGPT/blob/main/CONTRIBUTING.md) β€’ [🏠 Self-host](https://docs.docsgpt.cloud/Guides/How-to-use-different-LLM) β€’ [⚑️ Quickstart](https://github.com/arc53/DocsGPT#quickstart)
video-example-of-docs-gpt

Key Features:

## Roadmap - [x] Full GoogleAI compatibility (Jan 2025) - [x] Add tools (Jan 2025) - [ ] Anthropic Tool compatibility - [ ] Add triggerable actions / tools (webhook) - [ ] Add OAuth 2.0 authentication for tools and sources - [ ] Manually updating chunks in the app UI - [ ] Devcontainer for easy development - [ ] Chatbots menu re-design to handle tools, scheduling, and more You can find our full roadmap [here](https://github.com/orgs/arc53/projects/2). Please don't hesitate to contribute or create issues, it helps us improve DocsGPT! ### Production Support / Help for Companies: We're eager to provide personalized assistance when deploying your DocsGPT to a live environment. [Get a Demo :wave:](https://www.docsgpt.cloud/contact)⁠ [Send Email :email:](mailto:support@docsgpt.cloud?subject=DocsGPT%20support%2Fsolutions) ## QuickStart > [!Note] > Make sure you have [Docker](https://docs.docker.com/engine/install/) installed 1. Clone the repository and run the following command: ```bash git clone https://github.com/arc53/DocsGPT.git cd DocsGPT ``` On Mac OS or Linux, write: 2. Run the following command: ```bash ./setup.sh ``` It will install all the dependencies and allow you to download the local model, use OpenAI or use our LLM API. Otherwise, refer to this Guide for Windows: On windows: 2. Create a `.env` file in your root directory and set the env variables. It should look like this inside: ``` LLM_NAME=[docsgpt or openai or others] API_KEY=[if LLM_NAME is openai] ``` See optional environment variables in the [/application/.env_sample](https://github.com/arc53/DocsGPT/blob/main/application/.env_sample) file. 3. Run the following command: ```bash docker compose -f deployment/docker-compose.yaml up --build ``` 4. Navigate to http://localhost:5173/. To stop, just run `Ctrl + C`. > [!Note] > For development environment setup instructions, please refer to the [Development Environment Guide](https://docs.docsgpt.cloud/Deploying/Development-Environment). ## Contributing Please refer to the [CONTRIBUTING.md](CONTRIBUTING.md) file for information about how to get involved. We welcome issues, questions, and pull requests. ## Architecture ![Architecture chart](https://github.com/user-attachments/assets/fc6a7841-ddfc-45e6-b5a0-d05fe648cbe2) ## Project Structure - Application - Flask app (main application). - Extensions - Extensions, like react widget or discord bot. - Frontend - Frontend uses Vite and React. - Scripts - Miscellaneous scripts. ## Code Of Conduct We as members, contributors, and leaders, pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation. Please refer to the [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md) file for more information about contributing. ## Many Thanks To Our Contributors⚑ Contributors ## License The source code license is [MIT](https://opensource.org/license/mit/), as described in the [LICENSE](LICENSE) file.

This project is supported by: