File size: 1,037 Bytes
4b81334
 
 
 
6be14c8
6230227
 
 
 
6be14c8
 
 
 
 
4b81334
5bd66e6
 
 
 
4b81334
 
 
 
 
 
 
 
6be14c8
4b81334
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
# ---- 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=deepseek-ai/DeepSeek-V4-Flash
# LLM_PROVIDER=deepinfra
LLM_MAX_TOKENS=8192
LLM_FINAL_ANSWER_MAX_TOKENS=8192
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