File size: 1,775 Bytes
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
31
32
33
# โ”€โ”€ 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

# โ”€โ”€ DeepSeek AI Inference โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# DeepSeek API key (OpenAI-compatible), required for all AI features
DEEPSEEK_API_KEY=your_deepseek_api_key_here
DEEPSEEK_BASE_URL=https://api.deepseek.com
DEEPSEEK_MODEL=deepseek-chat
DEEPSEEK_REASONER_MODEL=deepseek-reasoner

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

# HF Model ID for AI monitoring proxy
VITE_HF_MODEL_ID=Qwen/QwQ-32B

# โ”€โ”€ Model Selection โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
# LOCAL DEVELOPMENT โ€” deepseek-chat (fast, $0.14/M input)
HF_MODEL_ID=deepseek-chat

# PRODUCTION โ€” deepseek-reasoner for step-by-step solutions
# HF_MODEL_ID=deepseek-reasoner

# โ”€โ”€ 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