Home

Awesome

<h1 align="center">everything-ai</h1> <h2 align="center">Your fully proficient, AI-powered and local chatbot assistantπŸ€–</h2> <div align="center"> <img src="https://img.shields.io/github/languages/top/AstraBert/everything-ai" alt="GitHub top language"> <img src="https://img.shields.io/github/commit-activity/t/AstraBert/everything-ai" alt="GitHub commit activity"> <img src="https://img.shields.io/badge/everything_ai-stable-green" alt="Static Badge"> <img src="https://img.shields.io/badge/Release-v4.2.0-purple" alt="Static Badge"> <img src="https://img.shields.io/docker/image-size/astrabert/everything-ai " alt="Docker image size"> <img src="https://img.shields.io/badge/Supported_platforms-Windows/macOS-brown" alt="Static Badge"> <div> <a href="https://huggingface.co/spaces/as-cle-bert/everything-rag"><img src="./imgs/everything-ai.drawio.png" alt="Flowchart" align="center"></a> <p><i>Flowchart for everything-ai</i></p> </div> </div>

Quickstart

1. Clone this repository

git clone https://github.com/AstraBert/everything-ai.git
cd everything-ai

2. Set your .env file

Modify:

An example of a .env file could be:

VOLUME="c:/Users/User/:/User/"
MODELS_PATH="c:/Users/User/.cache/llama.cpp/"
MODEL="stories260K.gguf"
MAX_TOKENS="512"

This means that now everything that is under "c:/Users/User/" on your local machine is under "/User/" in your Docker container, that llama.cpp knows where to look for models and what model to look for, along with the maximum new tokens for its output.

3. Pull the necessary images

docker pull astrabert/everything-ai:latest
docker pull qdrant/qdrant:latest
docker pull ghcr.io/ggerganov/llama.cpp:server

4. Run the multi-container app

docker compose up

5. Go to localhost:8670 and choose your assistant

You will see something like this:

<div align="center"> <img src="./imgs/select_and_run.png" alt="Task choice interface"> </div>

Choose the task among:

./
β”œβ”€β”€ test/
|   β”œβ”€β”€ label1/
|   └── label2/
└── train/
    β”œβ”€β”€ label1/
    └── label2/

You can query the database starting from your own pictures.

6. Go to localhost:7860 and start using your assistant

Once everything is ready, you can head over to localhost:7860 and start using your assistant:

<div align="center"> <img src="./imgs/chatbot.png" alt="Chat interface"> </div>