This commit is contained in:
Cyberes 2023-03-18 02:56:06 -06:00
parent 0dfc81264d
commit a71baefdbc
2 changed files with 9 additions and 8 deletions

View File

@ -11,6 +11,8 @@ sudo apt install libolm-dev gcc python3-dev
pip install -r requirements.txt pip install -r requirements.txt
``` ```
### Is Encryption Supported? Copy `config.sample.yaml` to `config.yaml` and fill it out with your bot's auth and your OpenAI API key.
No, not right now. Encryption is pointless because messages with the bot have to be processed and sent to OpenAI. Then invite your bot and start a chat by prefixing your message with `!c`. The bot will create a thread (you don't need to use `!c` in the thread).
I included a sample Systemd service.

View File

@ -13,13 +13,12 @@ openai_api_key: sk-J12J3O12U3J1LK2J310283JIJ1L2K3J
openai_model: gpt-3.5-turbo openai_model: gpt-3.5-turbo
# Who is the bot allowed to respond to? # Who is the bot allowed to respond to?
# Possible values: "all", an array of usernames, or a homeserver # Possible values: "all", an array of usernames, or an array homeservers.
allowed_to_chat: 'all' allowed_to_chat: all
# Who can invite the bot to a DM for a private chat? # Who can invite the bot? Also applies to DM creation.
# Possible values: "all", an array of usernames, or a homeserver # Possible values: "all", an array of usernames, or an array homeservers.
allowed_to_invite: allowed_to_invite: all
- '@bobjoe@example.com'
# Room IDs to auto-join. # Room IDs to auto-join.
autojoin_rooms: autojoin_rooms: