coyotte508's picture
coyotte508 HF Staff
⚡️ Limit the number of tokens sent to the backend (#93)
3c650ed unverified
raw
history blame
703 Bytes
# Use .env.local to change these variables, or directly change your env
# DO NOT EDIT THIS FILE WITH SENSITIVE DATA
MONGODB_URL=#your mongodb URL here
MONGODB_DB_NAME=chat-ui
HF_TOKEN=#your huggingface token here
COOKIE_NAME=hf-chat
PUBLIC_MAX_INPUT_TOKENS=1024
PUBLIC_ORIGIN=#https://hf.co
PUBLIC_MODEL_ENDPOINT=/static-proxy?url=https%3A%2F%2Fapi-inference.huggingface.co%2Fmodels%2FOpenAssistant%2Foasst-sft-6-llama-30b%3C!-- HTML_TAG_END -->
PUBLIC_MODEL_NAME=OpenAssistant/oasst-sft-6-llama-30b # public facing link
PUBLIC_MODEL_ID=OpenAssistant/oasst-sft-6-llama-30b-xor # used to link to model page
PUBLIC_DISABLE_INTRO_TILES=false
PUBLIC_USER_MESSAGE_TOKEN=<|prompter|>
PUBLIC_ASSISTANT_MESSAGE_TOKEN=<|assistant|>
PUBLIC_SEP_TOKEN=<|endoftext|>