329 B
329 B
Create an directory where you create an empty init.py file.
In the same directory create a config.py file 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