2023-09-18 13:47:50 +08:00
|
|
|
SERVER_URL="xxxxx.xxxxxx.xxxxxxxxx"
|
|
|
|
EMAIL="xxxxxx"
|
|
|
|
USERNAME="@chatgpt"
|
|
|
|
PASSWORD="xxxxxxxxxxxxxx"
|
|
|
|
PORT=443
|
|
|
|
SCHEME="https"
|
|
|
|
OPENAI_API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
|
|
|
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
|
|
|
|
IMAGE_GENERATION_ENDPOINT="http://127.0.0.1:7860/sdapi/v1/txt2img"
|
2023-12-23 22:30:11 +08:00
|
|
|
IMAGE_GENERATION_BACKEND="sdwui" # openai or sdwui or localai
|
|
|
|
IMAGE_GENERATION_SIZE="512x512"
|
|
|
|
IMAGE_FORMAT="jpeg"
|
2023-09-18 13:47:50 +08:00
|
|
|
TIMEOUT=120.0
|