10 lines
329 B
Markdown
10 lines
329 B
Markdown
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 |