Thanks to visit codestin.com
Credit goes to github.com

Skip to content
forked from QuivrHQ/quivr

🧠 Your Second Brain supercharged by Generative AI 🧠 Dump all your files and chat with your personal assistant on your files & more using GPT 3.5/4, Private, Anthropic, VertexAI, LLMs...

License

Notifications You must be signed in to change notification settings

longdx304/quivr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,298 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatbot - Your Second Brain, Empowered by Generative AI

Chatbot, your second brain, utilizes the power of GenerativeAI to be your personal assistant ! Think of it as Obsidian, but turbocharged with AI capabilities.

Key Features 🎯

  • 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.

Getting Started 🚀

Prerequisites 📋

Ensure you have the following installed:

  • Docker
  • Docker Compose

60 seconds Installation 💽

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.example files

    cp .env.example .env
  • Step 3: Update the .env files

    vim .env # or emacs or vscode or nano

    Update OPENAI_API_KEY in the .env file.

    You just need to update the OPENAI_API_KEY variable in the .env file. 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 up

    If 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

Updating Chatbot 🚀

  • Step 1: Pull the latest changes

    git pull
  • Step 2: Update the migration

    supabase migration up

About

🧠 Your Second Brain supercharged by Generative AI 🧠 Dump all your files and chat with your personal assistant on your files & more using GPT 3.5/4, Private, Anthropic, VertexAI, LLMs...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 53.8%
  • TypeScript 32.6%
  • SCSS 5.6%
  • PLpgSQL 3.9%
  • Jupyter Notebook 1.8%
  • JavaScript 1.2%
  • Other 1.1%