Chatbot, your second brain, utilizes the power of GenerativeAI to be your personal assistant ! Think of it as Obsidian, but turbocharged with AI capabilities.
- Fast and Efficient: Designed with speed and efficiency at its core. Chatbot ensures rapid access to your data.
- Secure: Your data, your control. Always.
- OS Compatible: Ubuntu 20 or newer.
- File Compatibility: Text, Markdown, PDF, Powerpoint, Excel, CSV, Word, Audio, Video
- Open Source: Freedom is beautiful, and so is Chatbot. Open source and free to use.
- Public/Private: Share your brains with your users via a public link, or keep them private.
- Offline Mode: Chatbot works offline, so you can access your data anytime, anywhere.
Ensure you have the following installed:
- Docker
- Docker Compose
You can find the installation video here.
-
Step 0: Supabase CLI
Follow the instructions here to install the Supabase CLI that is required.
supabase -v # Check that the installation worked -
Step 1: Clone the repository:
git clone https://github.com/quivrhq/chatbot.git && cd chatbot
-
Step 2: Copy the
.env.examplefilescp .env.example .env
-
Step 3: Update the
.envfilesvim .env # or emacs or vscode or nanoUpdate OPENAI_API_KEY in the
.envfile.You just need to update the
OPENAI_API_KEYvariable in the.envfile. You can get your API key here. You need to create an account first. And put your credit card information. Don't worry, you won't be charged unless you use the API. You can find more information about the pricing here. -
Step 4: Launch the project
cd backend && supabase start
and then
cd ../ docker compose pull docker compose upIf you have a Mac, go to Docker Desktop > Settings > General and check that the "file sharing implementation" is set to
VirtioFS.If you are a developer, you can run the project in development mode with the following command:
docker compose -f docker-compose.dev.yml up --build -
Step 5: Login to the app
You can now sign in to the app with
[email protected]&admin. You can access the app at http://localhost:3000/login.You can access Chatbot backend API at http://localhost:5050/docs
You can access supabase at http://localhost:54323
-
Step 1: Pull the latest changes
git pull
-
Step 2: Update the migration
supabase migration up