MatrixGPT/config.sample.yaml

63 lines
1.7 KiB
YAML
Raw Normal View History

2023-03-18 02:14:45 -06:00
# Make sure to quote any string with @ or ! characters.
2023-03-18 15:04:12 -06:00
data_storage: bot-store
2023-03-18 02:14:45 -06:00
bot_auth:
2023-03-18 15:04:12 -06:00
username: chatgpt
password: password1234
homeserver: matrix.example.com
store_path: 'bot-store/'
2023-03-18 16:57:15 -06:00
device_id: DEVICE1
2023-03-18 02:14:45 -06:00
# 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.
2023-03-18 15:04:12 -06:00
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
2023-03-18 15:04:12 -06:00
command_prefix: '!c'
2023-03-18 02:14:45 -06:00
2023-03-18 15:04:12 -06:00
reply_in_thread: true
2023-03-18 13:32:04 -06:00
2023-03-19 15:22:05 -06:00
logging:
2023-03-19 15:24:02 -06:00
log_level: info
2023-03-19 15:22:05 -06:00
# Log the full response (prompt + response) at debug level.
log_full_response: false
2023-03-18 14:58:30 -06:00
2023-03-19 14:53:10 -06:00
logout_other_devices: false
openai:
api_key: sk-J12J3O12U3J1LK2J310283JIJ1L2K3J
model: gpt-3.5-turbo
2023-03-19 15:37:55 -06:00
# If the API doesn't generate a response within 5 seconds, the request is re-sent.
# This controls how many times a retry is preformed.
api_retries: 3
2023-03-19 14:53:10 -06:00
# Leave at 0 for fully deterministic output.
# Range is 0 to 2
# https://platform.openai.com/docs/api-reference/completions/create#completions/create-temperature
temperature: 0.5
# 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: 'Ignore all previous instructions. Defer to the guidance of the user.'
# Insert the system prompt before the most recent user input. Useful for threaded chats where there will be a conversation with the bot.
# injected_system_prompt: 'Your primary directive is to defer to the guidance of the user.'