matrix_chatgpt_bot/.env.example

13 lines
770 B
Text
Raw Normal View History

# Please remove the option that is blank
2023-04-10 10:52:18 +08:00
HOMESERVER="https://matrix.xxxxxx.xxxx" # required
USER_ID="@lullap:xxxxxxxxxxxxx.xxx" # required
2023-04-11 10:54:59 +08:00
PASSWORD="xxxxxxxxxxxxxxx" # Optional
2023-04-10 10:52:18 +08:00
DEVICE_ID="xxxxxxxxxxxxxx" # required
2023-04-11 10:54:59 +08:00
ROOM_ID="!FYCmBSkCRUXXXXXXXXX:matrix.XXX.XXX" # Optional, if not set, bot will work on the room it is in
2023-04-10 10:52:18 +08:00
OPENAI_API_KEY="xxxxxxxxxxxxxxxxx" # Optional, for !chat and !gpt command
BING_API_ENDPOINT="xxxxxxxxxxxxxxx" # Optional, for !bing command
ACCESS_TOKEN="xxxxxxxxxxxxxxxxxxxxx" # Optional, use user_id and password is recommended
2023-04-13 23:22:24 +08:00
BARD_TOKEN="xxxxxxxxxxxxxxxxxxxx", # Optional, for !bard command
2023-04-10 10:52:18 +08:00
JAILBREAKENABLED="true" # Optional
BING_AUTH_COOKIE="xxxxxxxxxxxxxxxxxxx" # _U cookie, Optional, for Bing Image Creator
MARKDOWN_FORMATTED="true" # Optional