File size: 1,768 Bytes
92bfe31
 
 
 
 
 
 
 
d66d64c
 
 
 
 
 
 
92bfe31
 
 
 
 
 
 
d66d64c
 
 
92bfe31
 
 
 
 
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
# โ”€โ”€ Vector Store โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# Path to ChromaDB vectorstore directory
CURRICULUM_VECTORSTORE_DIR=datasets/vectorstore

# Sentence transformer for embeddings
# WARNING: changing this requires full re-ingestion of all curriculum data
EMBEDDING_MODEL=BAAI/bge-small-en-v1.5

# โ”€โ”€ Claude API (Anthropic) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# Anthropic API key, required for all AI features
ANTHROPIC_API_KEY=your_anthropic_api_key_here
# Required when the API key is not scoped to a workspace
ANTHROPIC_WORKSPACE_ID=
CLAUDE_CHAT_MODEL=claude-haiku-5-5
CLAUDE_REASONER_MODEL=claude-opus-5-5

# โ”€โ”€ HuggingFace (dataset push / HF Space deployment only) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# HF API token โ€” kept only for HF Space deployment and dataset push
HF_API_TOKEN=hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


# โ”€โ”€ Model Selection โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# MODEL_PROFILE picks the Claude model per task (see the root .env.example): dev and budget run
# claude-haiku-5-5 everywhere; prod runs claude-opus-5-5 for RAG lessons and claude-haiku-5-5 elsewhere.
# MODEL_PROFILE=dev

# โ”€โ”€ Quiz Battle Internal Auth โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# Shared secret between Firebase Cloud Functions and FastAPI backend
# Used to authenticate server-to-server requests for correct answers
QUIZ_BATTLE_INTERNAL_SECRET=change_this_to_a_random_string