Files
chatgpt_telegram_bot/config/config.example.yml
T
Clément Sauvage 76da87bb31 Add support for user ids in config
* Add support for user ids

* Allow both usernames and user ids at the same time
2023-03-14 15:22:06 +03:00

9 lines
371 B
YAML

telegram_token: ""
openai_api_key: ""
use_chatgpt_api: true
allowed_telegram_usernames: [] # if empty, the bot is available to anyone. pass a username string to allow it and/or user ids as integers
new_dialog_timeout: 600 # new dialog starts after timeout (in seconds)
chatgpt_price_per_1000_tokens: 0.002
gpt_price_per_1000_tokens: 0.02
whisper_price_per_1_min: 0.006