RAG_Chatbot / .env.example
senlinyy's picture
feat: add login
6230227
Raw
History Blame Contribute Delete
954 Bytes
# ---- Hugging Face ----
# A read+write token from https://huggingface.co/settings/tokens
HF_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# ---- Optional overrides ----
# Default student-facing login is student/password; override before sharing a public Space.
APP_USERNAME=student
APP_PASSWORD=change-me
# Defaults to "<SPACE_ID>-corpus" on Hugging Face Spaces, or "iam-earth-dev-corpus" locally.
# DATASET_ID=your-username/iam-earth-dev-corpus
# Default admin passcode is "password"; override this for real deployments.
# ADMIN_PASSCODE=change-me
LLM_MODEL=Qwen/Qwen2.5-7B-Instruct
EMBED_MODEL=BAAI/bge-small-en-v1.5
# Leave reasoning hidden in the student UI. Set true only when debugging models
# that expose a separate thinking/reasoning stream.
SHOW_LLM_REASONING=false
# ---- Internal (defaults are fine for local dev; Docker sets these via Dockerfile ENV) ----
BACKEND_PORT=8000
BACKEND_INTERNAL_URL=http://127.0.0.1:8000
FRONTEND_PORT=7860