Add support of ChatGPT API (#70)

Co-authored-by: Karim Iskakov <kar.iskakov@gmail.com>
This commit is contained in:
Karim Iskakov
2023-03-02 21:31:54 +03:00
committed by GitHub
parent 7264f7c364
commit 0779808db3
6 changed files with 54 additions and 21 deletions
+1
View File
@@ -1,4 +1,5 @@
telegram_token: ""
openai_api_key: ""
use_chatgpt_api: true
allowed_telegram_usernames: [] # if empty, the bot is available to anyone
new_dialog_timeout: 600 # new dialog starts after timeout (in seconds)