|
|
|
|
|
|
|
MONGODB_URL=${MONGODB_URL} |
|
MONGODB_DB_NAME=chat-ui-online |
|
MONGODB_DIRECT_CONNECTION=false |
|
|
|
|
|
COOKIE_NAME=chat-ui |
|
HF_ACCESS_TOKEN= |
|
|
|
|
|
SERPAPI_KEY= |
|
|
|
|
|
OPENID_CLIENT_ID= |
|
OPENID_CLIENT_SECRET= |
|
OPENID_SCOPES="openid profile" |
|
OPENID_PROVIDER_URL=https://huggingface.co |
|
|
|
|
|
OPENAI_API_KEY=${OPENAI_API_KEY} |
|
|
|
MODELS=`[ |
|
{ |
|
"name": "01-ai/Yi-34B-Chat", |
|
"parameters": { |
|
"temperature": 0.3, |
|
"top_p": 0.8, |
|
"repetition_penalty": 0.0, |
|
"max_tokens": 1024, |
|
"top_k": 50, |
|
"truncate": 1000, |
|
"max_new_tokens": 1024 |
|
}, |
|
"endpoints": [{ |
|
"type" : "openai", |
|
"baseURL": "${ENDPOINT}" |
|
}] |
|
} |
|
]` |
|
|
|
OLD_MODELS=`[]` |
|
|
|
PUBLIC_ORIGIN=${SPACE_HOST} |
|
PUBLIC_SHARE_PREFIX=${SPACE_HOST}/r |
|
PUBLIC_GOOGLE_ANALYTICS_ID= |
|
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID= |
|
PUBLIC_ANNOUNCEMENT_BANNERS=`[ |
|
{ |
|
"title": "Chat UI is now open sourced on GitHub", |
|
"linkTitle": "GitHub repo", |
|
"linkHref": "https://github.com/huggingface/chat-ui" |
|
} |
|
]` |
|
|
|
PARQUET_EXPORT_DATASET= |
|
PARQUET_EXPORT_HF_TOKEN= |
|
PARQUET_EXPORT_SECRET= |
|
|
|
PUBLIC_APP_NAME=${APP_NAME} |
|
PUBLIC_APP_ASSETS=chatui |
|
PUBLIC_APP_COLOR=${APP_COLOR} |
|
PUBLIC_APP_DATA_SHARING=1 |
|
PUBLIC_APP_DATA_DISCLAIMER=1 |