mirror of
https://github.com/hibobmaster/matrix_chatgpt_bot.git
synced 2024-10-01 05:35:36 -04:00
30 lines
1012 B
Plaintext
30 lines
1012 B
Plaintext
HOMESERVER="https://matrix-client.matrix.org"
|
|
USER_ID="@lullap:xxxxxxxxxxxxx.xxx"
|
|
PASSWORD="xxxxxxxxxxxxxxx"
|
|
ACCESS_TOKEN="xxxxxxxxxxx"
|
|
DEVICE_ID="xxxxxxxxxxxxxx"
|
|
ROOM_ID="!FYCmBSkCRUXXXXXXXXX:matrix.XXX.XXX"
|
|
IMPORT_KEYS_PATH="element-keys.txt"
|
|
IMPORT_KEYS_PASSWORD="xxxxxxxxxxxx"
|
|
OPENAI_API_KEY="xxxxxxxxxxxxxxxxx"
|
|
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
|
|
SYSTEM_PROMPT="You are ChatGPT, a large language model trained by OpenAI. Respond conversationally"
|
|
TEMPERATURE=0.8
|
|
LC_ADMIN="@admin:xxxxxx.xxx,@admin2:xxxxxx.xxx"
|
|
IMAGE_GENERATION_ENDPOINT="http://127.0.0.1:7860/sdapi/v1/txt2img"
|
|
IMAGE_GENERATION_BACKEND="sdwui" # openai or sdwui or localai
|
|
IMAGE_GENERATION_SIZE="512x512"
|
|
IMAGE_FORMAT="webp"
|
|
SDWUI_STEPS=20
|
|
SDWUI_SAMPLER_NAME="Euler a"
|
|
SDWUI_CFG_SCALE=7
|
|
GPT_VISION_MODEL="llava"
|
|
GPT_VISION_API_ENDPOINT="https://localai.xxxxxxx.xxxxxxx/v1/chat/completions"
|
|
TIMEOUT=120.0
|