2023-09-13 15:27:34 +08:00
|
|
|
{
|
|
|
|
"homeserver": "https://matrix-client.matrix.org",
|
|
|
|
"user_id": "@lullap:xxxxx.org",
|
|
|
|
"password": "xxxxxxxxxxxxxxxxxx",
|
2023-12-05 19:14:26 +08:00
|
|
|
"access_token": "xxxxxxxxxxxxxx",
|
2023-09-13 15:27:34 +08:00
|
|
|
"device_id": "MatrixChatGPTBot",
|
|
|
|
"room_id": "!xxxxxxxxxxxxxxxxxxxxxx:xxxxx.org",
|
|
|
|
"import_keys_path": "element-keys.txt",
|
|
|
|
"import_keys_password": "xxxxxxxxxxxxxxxxxxxx",
|
|
|
|
"openai_api_key": "xxxxxxxxxxxxxxxxxxxxxxxx",
|
|
|
|
"gpt_api_endpoint": "https://api.openai.com/v1/chat/completions",
|
|
|
|
"gpt_model": "gpt-3.5-turbo",
|
|
|
|
"max_tokens": 4000,
|
|
|
|
"top_p": 1.0,
|
|
|
|
"presence_penalty": 0.0,
|
|
|
|
"frequency_penalty": 0.0,
|
|
|
|
"reply_count": 1,
|
|
|
|
"temperature": 0.8,
|
|
|
|
"system_prompt": "You are ChatGPT, a large language model trained by OpenAI. Respond conversationally",
|
2023-09-17 23:00:02 +08:00
|
|
|
"lc_admin": ["@admin:xxxxx.org"],
|
2023-09-17 12:27:16 +08:00
|
|
|
"image_generation_endpoint": "http://localai:8080/v1/images/generations",
|
2023-12-23 21:03:36 +08:00
|
|
|
"image_generation_backend": "localai",
|
|
|
|
"image_generation_size": "512x512",
|
|
|
|
"image_format": "webp",
|
2023-09-13 15:27:34 +08:00
|
|
|
"timeout": 120.0
|
|
|
|
}
|