38 lines
871 B
YAML
38 lines
871 B
YAML
|
# Make sure to quote any string with @ or ! characters.
|
||
|
|
||
|
data_storage: bot-store
|
||
|
|
||
|
bot_auth:
|
||
|
username: chatgpt
|
||
|
password: password1234
|
||
|
homeserver: matrix.example.com
|
||
|
store_path: 'bot-store/'
|
||
|
device_id: ABCDEFGHIJ
|
||
|
|
||
|
openai_api_key: sk-J12J3O12U3J1LK2J310283JIJ1L2K3J
|
||
|
openai_model: gpt-3.5-turbo
|
||
|
|
||
|
# Who is the bot allowed to respond to?
|
||
|
# Possible values: "all", an array of usernames, or a homeserver
|
||
|
allowed_to_chat: 'all'
|
||
|
|
||
|
# Who can invite the bot to a DM for a private chat?
|
||
|
# Possible values: "all", an array of usernames, or a homeserver
|
||
|
allowed_to_invite:
|
||
|
- '@bobjoe@example.com'
|
||
|
|
||
|
# Room IDs to auto-join.
|
||
|
autojoin_rooms:
|
||
|
- '!kjllkjlkj321123:example.com'
|
||
|
|
||
|
#whitelist_rooms:
|
||
|
|
||
|
#blacklist_rooms:
|
||
|
|
||
|
# Should the bot set its avatar on login?
|
||
|
#set_avatar: true
|
||
|
|
||
|
command_prefix: '!c'
|
||
|
|
||
|
reply_in_thread: true
|