# 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-4", "displayName": "GPT-4", "modelUrl": "https://platform.openai.com/docs/models/gpt-4", "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-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": "microsoft/Phi-3-mini-4k-instruct", "displayName": "Phi-3-mini-4k-instruct", "modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct", "websiteUrl": "https://azure.microsoft.com/en-us/products/phi-3", "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": "Qwen2-72B-Instruct", "displayName": "Qwen2-72B", "modelUrl": "https://huggingface.co/Qwen/Qwen2-72B-Instruct", "websiteUrl": "https://huggingface.co/Qwen", "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": "Yi-34B-Chat", "displayName": "Yi-34B", "modelUrl": "https://huggingface.co/01-ai/Yi-34B-Chat", "websiteUrl": "https://huggingface.co/01-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": "${VISIONCRAFT_API_KEY}", "baseURL": "https://visioncraft.top/v1" }] }, { "name": "openchat-3.6-8b", "displayName": "OpenChat-3.6", "modelUrl": "https://huggingface.co/openchat/openchat-3.6-8b-20240522", "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": "llama-3.1-405b-reasoning", "displayName": "Llama-3.1-405B", "modelUrl": "https://huggingface.co/meta-llama/Meta-Llama-3.1-405B", "websiteUrl": "https://llama.meta.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": "${GROQ_API_KEY}", "baseURL": "https://api.groq.com/openai/v1" }] }, { "name": "llama-3.1-70b-versatile", "displayName": "Llama-3.1-70B", "modelUrl": "https://huggingface.co/meta-llama/Meta-Llama-3.1-70B", "websiteUrl": "https://llama.meta.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": "${GROQ_API_KEY}", "baseURL": "https://api.groq.com/openai/v1" }] }, { "name": "llama-3.1-8b-instant", "displayName": "Llama-3.1-8B", "modelUrl": "https://huggingface.co/meta-llama/Meta-Llama-3.1-8B", "websiteUrl": "https://llama.meta.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": "${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" }] }, { "name": "openai-community/gpt2", "displayName": "GPT2", "modelUrl": "https://huggingface.co/openai-community/gpt2", "websiteUrl": "https://github.com/openai/gpt-2", "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", "apiKey": "${HF_TOKEN}", "baseURL": "https://api-inference.huggingface.co/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