mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-28 14:35:00 +00:00
docs: Add slack-bot example (#145)
Signed-off-by: mudler <mudler@mocaccino.org>
This commit is contained in:
parent
88f472e5d2
commit
0db0704e2c
5 changed files with 63 additions and 0 deletions
11
examples/slack-bot/.env.example
Normal file
11
examples/slack-bot/.env.example
Normal file
|
@ -0,0 +1,11 @@
|
|||
SLACK_APP_TOKEN=xapp-1-...
|
||||
SLACK_BOT_TOKEN=xoxb-...
|
||||
OPENAI_API_KEY=sk-...
|
||||
OPENAI_API_BASE=http://api:8080
|
||||
OPENAI_MODEL=gpt-3.5-turbo
|
||||
OPENAI_TIMEOUT_SECONDS=60
|
||||
#OPENAI_SYSTEM_TEXT="You proofread text. When you receive a message, you will check
|
||||
#for mistakes and make suggestion to improve the language of the given text"
|
||||
USE_SLACK_LANGUAGE=true
|
||||
SLACK_APP_LOG_LEVEL=INFO
|
||||
TRANSLATE_MARKDOWN=true
|
Loading…
Add table
Add a link
Reference in a new issue