example(slack-qa-bot): Add slack QA bot example (#654)

Signed-off-by: mudler <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2023-06-22 18:07:15 +02:00 committed by GitHub
parent 91a67d5ee0
commit 2a45a99737
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 206 additions and 0 deletions

View file

@ -0,0 +1,23 @@
## Slack QA Bot
This example uses https://github.com/spectrocloud-labs/Slack-QA-bot to deploy a slack bot that can answer to your documentation!
- Create a new Slack app using the manifest-dev.yml file
- Install the app into your Slack workspace
- Retrieve your slack keys and edit `.env`
- Start the app
```bash
# Clone LocalAI
git clone https://github.com/go-skynet/LocalAI
cd LocalAI/examples/slack-qa-bot
cp -rfv .env.example .env
# Edit .env and add slackbot api keys, or repository settings to scan
vim .env
# run the bot
docker-compose up
```