LocalAI/examples/slack-bot
James Braza e34b5f0119
Cleaning up examples/ models and starter .env files ()
Closes https://github.com/go-skynet/LocalAI/issues/1066 and
https://github.com/go-skynet/LocalAI/issues/1065

Standardizes all `examples/`:
- Models in one place (other than `rwkv`, which was one-offy)
- Env files as `.env.example` with `cp`
    - Also standardizes comments and links docs
2023-10-02 18:14:10 +02:00
..
.env.example Cleaning up examples/ models and starter .env files () 2023-10-02 18:14:10 +02:00
docker-compose.yaml images: cleanup, drop .dev Dockerfile () 2023-05-30 15:58:10 +02:00
models Cleaning up examples/ models and starter .env files () 2023-10-02 18:14:10 +02:00
README.md Cleaning up examples/ models and starter .env files () 2023-10-02 18:14:10 +02:00

Slack bot

Slackbot using: https://github.com/seratch/ChatGPT-in-Slack

Setup

# Clone LocalAI
git clone https://github.com/go-skynet/LocalAI

cd LocalAI/examples/slack-bot

git clone https://github.com/seratch/ChatGPT-in-Slack

# (optional) Checkout a specific LocalAI tag
# git checkout -b build <TAG>

# Download gpt4all-j to models/
wget https://gpt4all.io/models/ggml-gpt4all-j.bin -O models/ggml-gpt4all-j

# Set the Slack bot options (see: https://github.com/seratch/ChatGPT-in-Slack)
cp -rfv .env.example .env
vim .env

# start with docker-compose
docker-compose up -d --build