File size: 1,651 Bytes
7764421 9c0276d cad3e14 3ebd805 41b9769 7764421 3ebd805 1eb0e2e 9bebf7e b7f9ccb c8d90f4 abaaa3e ffa4f55 5006210 7764421 |
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 |
# Use .env.local to change these variables
# DO NOT EDIT THIS FILE WITH SENSITIVE DATA
MONGODB_URL=#your mongodb URL here
MONGODB_DB_NAME=chat-ui
COOKIE_NAME=hf-chat
HF_ACCESS_TOKEN=#hf_<token> from from https://huggingface.co/settings/token
MODELS=`["OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5"]`
# Alternative syntax (all fields are optional except 'name'):
# MODELS=`[{
# "name": "OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5",
# "displayName": "OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5",
# "endpoints": [{
# "url": "https://api-inference.huggingface.co/models/OpenAssistant/oasst-sft-4-pythia-12b-epoch-3.5",
# "authorization": "Bearer hf_<token>",
# "weight": 1
# }]
# }]
# Increase depending on the model
PUBLIC_MAX_INPUT_TOKENS=1000
PUBLIC_ORIGIN=#https://hf.co
PUBLIC_DISABLE_INTRO_TILES=false
PUBLIC_USER_MESSAGE_TOKEN=<|prompter|>
PUBLIC_ASSISTANT_MESSAGE_TOKEN=<|assistant|>
PUBLIC_SEP_TOKEN=</s>
PUBLIC_PREPROMPT="Below are a series of dialogues between various people and an AI assistant. The AI tries to be helpful, polite, honest, sophisticated, emotionally aware, and humble-but-knowledgeable. The assistant is happy to help with almost anything, and will do its best to understand exactly what is needed. It also tries to avoid giving false or misleading information, and it caveats when it isn't entirely sure about the right answer. That said, the assistant is practical and really does its best, and doesn't let caution get too much in the way of being useful."
PUBLIC_GOOGLE_ANALYTICS_ID=#G-XXXXXXXX / Leave empty to disable
PUBLIC_DEPRECATED_GOOGLE_ANALYTICS_ID=#UA-XXXXXXXX-X / Leave empty to disable |