2023-03-18 02:14:45 -06:00
|
|
|
# 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?
|
2023-03-18 02:56:06 -06:00
|
|
|
# Possible values: "all", an array of usernames, or an array homeservers.
|
|
|
|
allowed_to_chat: all
|
2023-03-18 02:14:45 -06:00
|
|
|
|
2023-03-18 02:56:06 -06:00
|
|
|
# Who can invite the bot? Also applies to DM creation.
|
|
|
|
# Possible values: "all", an array of usernames, or an array homeservers.
|
|
|
|
allowed_to_invite: all
|
2023-03-18 02:14:45 -06:00
|
|
|
|
|
|
|
# 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
|
2023-03-18 13:32:04 -06:00
|
|
|
|
|
|
|
# The system message helps set the behavior of the assistant.
|
|
|
|
# For example, you can instruct the assistant with "You are a helpful assistant."
|
|
|
|
system_prompt:
|