Files
discordgpt/README.md
2023-12-15 20:21:36 -05:00

8 lines
294 B
Markdown

Create a config.py file in a /config/ subdirectory of the root of leogpt.py and configure the following:
openai_api_key = 'YOUR_OPENAI_API_KEY'
discord_bot_token = 'YOUR_DISCORD_BOT_TOKEN'
assistant_id = 'YOUR_OPENAI_ASSISTANT_ID'
message_chunk_size = 2000
thread_inactivity_timeout_hours = 1