Skip to content
BobMaster edited this page Dec 23, 2023 · 22 revisions

If you have any questions, feel free to open an issue or join our matrix room:
https://matrix.to/#/#public:matrix.qqs.tw

Glossary
*: required

parameter
homeserver* your matrix server address
user_id* your matrix account name like @xxx.matrix.org
password account password
access_token access_token for specific logged in session, can get it from element web
device_id your device id(aka session id)(can use a fake one if login via password)
room_id if not set bot will work on the rooms it is in
import_keys_path location of the E2E room keys
import_keys_password E2E room keys password
openai_api_key openai api key
gpt_api_endpoint official or self-host chatgpt api endpoint
gpt_model str, gpt-3.5-turbo
max_tokens int, 4000
top_p float, 1.0
presence_penalty float, 0.0
frequency_penalty float, 0.0
reply_count int, 1
temperature float, 0.8
system_prompt str, You are ChatGPT, a large language model trained by OpenAI. Respond conversationally
lc_admin list, ["@admin:xxxxx.org", "@admin2:xxxx.org"]
image_generation_endpoint str, official DALL-E or self-host image generation endpoint
image_generation_backend str, openai or sdwui or localai
image_generation_size str, 512x512
image_format str, jpeg or webp or png, leave blank for jpeg
timeout float, 120.0

E2E room keys can be exported from element-web


Want to liberate your hands? Try our matrix-stt-bot

Clone this wiki locally