Files
discordgpt/README.md

8 lines
285 B
Markdown

Create a config.py file in a 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