Spaces:
Building
Building
File size: 9,688 Bytes
bb1671d efaa40c c1c5300 b20c9f5 bb1671d 1508132 bb1671d 8fda930 f86f7e5 8fda930 d912c3d 8fda930 bb1671d 8fda930 d912c3d 8fda930 bb1671d 8fda930 94d6ace d912c3d 48a5551 d912c3d 94d6ace d912c3d 8fda930 f86f7e5 39ee67d f86f7e5 39ee67d f86f7e5 8fda930 bb1671d 8fda930 8d879b4 8fda930 f87b5e6 0eff74a 8d879b4 0eff74a 8fda930 bb1671d 8fda930 bb1671d 8fda930 efaa40c f86f7e5 2c3c2a0 f86f7e5 2c3c2a0 f86f7e5 2c3c2a0 f86f7e5 8d879b4 8fda930 bb1671d c1c5300 48a5551 0a5157a 83664e6 bb1671d 2a748ce b20c9f5 bb1671d 2e66494 bb1671d 2e66494 bb1671d 869a762 bb1671d b99881d efaa40c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 |
# Use .env.local to change these variables
# DO NOT EDIT THIS FILE WITH SENSITIVE DATA
MONGODB_URL=${MONGODB_URL}
MONGODB_DB_NAME=chat-ui
MONGODB_DIRECT_CONNECTION=false
COOKIE_NAME=Solatium
HF_ACCESS_TOKEN=
USE_LOCAL_WEBSEARCH=false
OPENID_CLIENT_ID=${OPENID_CLIENT_ID}
OPENID_CLIENT_SECRET=${OPENID_CLIENT_SECRET}
OPENID_SCOPES="openid profile"
OPENID_PROVIDER_URL=https://huggingface.co
MODELS=`[
{
"name": "gpt-4o-mini",
"displayName": "GPT-4o-mini",
"modelUrl": "https://platform.openai.com/docs/models/gpt-4o-mini",
"websiteUrl": "https://openai.com/chatgpt",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${OPENAI_API_KEY}",
"baseURL": "${ENDPOINT}"
}]
},
{
"name": "gpt-3.5-turbo-0613",
"displayName": "GPT-3.5-Turbo",
"modelUrl": "https://platform.openai.com/docs/models/gpt-3-5-turbo",
"websiteUrl": "https://openai.com/chatgpt",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${OPENAI_API_KEY}",
"baseURL": "${ENDPOINT}"
}]
},
{
"name": "net-gpt-3.5-turbo",
"displayName": "GPT-3.5-Turbo-Browsering",
"modelUrl": "https://platform.openai.com/docs/models/gpt-3-5-turbo",
"websiteUrl": "https://openai.com/chatgpt",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${FREEGPT_API_KEY}",
"baseURL": "https://free.gpt.ge/v1"
}]
},
{
"name": "gpt-4o",
"displayName": "GPT-4o",
"modelUrl": "https://platform.openai.com/docs/models/gpt-4o",
"websiteUrl": "https://openai.com/chatgpt",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${OPENAI_API_KEY}",
"baseURL": "${ENDPOINT}"
}]
},
{
"name": "mistralai/Mistral-Nemo-Instruct-2407",
"displayName": "Mistral-Nemo-Instruct",
"modelUrl": "https://huggingface.co/mistralai/Mistral-Nemo-Instruct-2407",
"websiteUrl": "https://mistral.ai",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${HF_TOKEN}",
"baseURL": "https://api-inference.huggingface.co/v1"
}]
},
{
"name": "dbrx-instruct",
"displayName": "DBRX-Instruct",
"modelUrl": "https://huggingface.co/databricks/dbrx-instruct",
"websiteUrl": "https://www.databricks.com/",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${VISIONCRAFT_API_KEY}",
"baseURL": "https://visioncraft.top/v1"
}]
},
{
"name": "zephyr-orpo-141b-A35b-v0.1",
"displayName": "Zephyr-ORPO-141B",
"modelUrl": "https://huggingface.co/HuggingFaceH4/zephyr-orpo-141b-A35b-v0.1",
"websiteUrl": "https://huggingface.co/HuggingFaceH4",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${VISIONCRAFT_API_KEY}",
"baseURL": "https://visioncraft.top/v1"
}]
},
{
"name": "openchat_3.5",
"displayName": "OpenChat-3.5",
"modelUrl": "https://huggingface.co/openchat/openchat_3.5",
"websiteUrl": "https://huggingface.co/openchat",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${VISIONCRAFT_API_KEY}",
"baseURL": "https://visioncraft.top/v1"
}]
},
{
"name": "Mixtral-8x22B-Instruct-v0.1",
"displayName": "Mixtral-8x22B",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${VISIONCRAFT_API_KEY}",
"baseURL": "https://visioncraft.top/v1"
}]
},
{
"name": "mixtral-8x7b-32768",
"displayName": "Mixtral-8x7B",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${GROQ_API_KEY}",
"baseURL": "https://api.groq.com/openai/v1"
}]
},
{
"name": "gemma-1.1-7b-it",
"displayName": "Gemma-1.1-7B",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${VISIONCRAFT_API_KEY}",
"baseURL": "https://visioncraft.top/v1"
}]
},
{
"name": "llama3-70b-8192",
"displayName": "Llama3-70B",
"modelUrl": "https://huggingface.co/meta-llama/Meta-Llama-3-70B",
"websiteUrl": "https://llama.meta.com/llama3",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${GROQ_API_KEY}",
"baseURL": "https://api.groq.com/openai/v1"
}]
},
{
"name": "llama3-8b-8192",
"displayName": "Llama3-8B",
"modelUrl": "https://huggingface.co/meta-llama/Meta-Llama-3-8B",
"websiteUrl": "https://llama.meta.com/llama3",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${GROQ_API_KEY}",
"baseURL": "https://api.groq.com/openai/v1"
}]
},
{
"name": "llama2-70b-4096",
"displayName": "Llama2-70B",
"modelUrl": "https://huggingface.co/meta-llama/Llama-2-70b",
"websiteUrl": "https://llama.meta.com/llama2",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${GROQ_API_KEY}",
"baseURL": "https://api.groq.com/openai/v1"
}]
},
{
"name": "CodeLlama-70b-Instruct-hf",
"displayName": "CodeLlama2-70B",
"modelUrl": "https://huggingface.co/codellama/CodeLlama-70b-Instruct-hf",
"websiteUrl": "https://huggingface.co/codellama",
"parameters": {
"temperature": 0.3,
"top_p": 0.8,
"repetition_penalty": 0.0,
"max_tokens": 1024,
"top_k": 50,
"truncate": 1000,
"max_new_tokens": 2048
},
"endpoints": [{
"type" : "openai",
"apiKey": "${VISIONCRAFT_API_KEY}",
"baseURL": "https://visioncraft.top/v1"
}]
}
]`
OLD_MODELS=`[]`
TASK_MODEL=gpt-3.5-turbo-0613
LLM_SUMMERIZATION=false
#MESSAGES_BEFORE_LOGIN=5
PUBLIC_ORIGIN=${SPACE_HOST}
PUBLIC_SHARE_PREFIX=${SPACE_HOST}/r
PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable
PUBLIC_ANNOUNCEMENT_BANNERS=`[
{
"title": "🦾 GPT-4o is now available for free!",
"linkTitle": "try it",
"linkHref": "?model=gpt-4o"
}
]`
PARQUET_EXPORT_DATASET=
PARQUET_EXPORT_HF_TOKEN=
PARQUET_EXPORT_SECRET=
PUBLIC_APP_NAME=${APP_NAME} # name used as title throughout the app
PUBLIC_APP_DESCRIPTION=We provide free access to the latest AI models. There is a possibility that some models may be temporarily unavailable, in which case please select another model.
PUBLIC_APP_ASSETS=chatui # used to find logos & favicons in static/$PUBLIC_APP_ASSETS
PUBLIC_APP_COLOR=${APP_COLOR} # can be any of tailwind colors: https://tailwindcss.com/docs/customizing-colors#default-color-palette
PUBLIC_APP_DATA_SHARING=1#set to 1 to enable disclaimers & options about data sharing
PUBLIC_APP_DATA_DISCLAIMER=1#set to 1 to enable disclaimers about model outputs
PUBLIC_APP_DISCLAIMER_MESSAGE="Disclaimer: AI is an area of active research with known problems such as biased generation and misinformation. Do not use this application for high-stakes decisions or advice. Do not insert your personal data, especially sensitive, like health data."
ENABLE_ASSISTANTS=true
ENABLE_ASSISTANTS_RAG=true
REQUIRE_FEATURED_ASSISTANTS=true
EXPOSE_API=true |