kopia lustrzana https://codeberg.org/pluja/openai-telegram-bot
Update 'README.md'
rodzic
a205fce700
commit
63862ab50a
|
@ -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!
|
||||
|
|
Ładowanie…
Reference in New Issue