Update 'README.md'

main
pluja 2023-03-06 15:34:35 +00:00
rodzic a205fce700
commit 63862ab50a
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -36,8 +36,9 @@ Self hosting this chatbot is pretty easy. You just need to follow this steps:
3. Edit the environment variables:
1. Set your OPENAI_TOKEN.
2. Set your BOT_TOKEN.
3. Set your ALLOWED_USERS (comma separated user ids).
3. Set your ALLOWED_USERS (comma separated user ids). Set it to `*` to allow all users.
4. Set the SYSTEM_PROMPT for ChatGPT. This is always instructed to ChatGPT as the system.
5. Optional: Edit the MAX_CONTEXT. This variable sets the number of messages that will be sent to ChatGPT API as context for the conversation.
4. Build and start the bot: `docker compose up --build -d`.
5. Enjoy!