-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (37 loc) · 1.88 KB
/
.env.example
File metadata and controls
47 lines (37 loc) · 1.88 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Google Gemini API Key (REQUIRED)
LLM_API_KEY=your-gemini-api-key-here
# Optional: Specify Gemini model variant
# "latest" is currently Gemini 3 Flash (Preview) as of Dec 2025
# Stable alternative: gemini-2.5-flash
LLM_MODEL_NAME=gemini-2.5-flash
# Optional: LLM Generation Parameters
# Temperature: 0.0-1.0 (lower = more factual, higher = more creative)
LLM_TEMPERATURE=0.3
# Max tokens to generate in response
LLM_MAX_TOKENS=2048
# ==============================================================================
# API Security (Optional)
# ==============================================================================
# API Key Authentication (comma-separated list)
# Leave empty for no authentication (RECOMMENDED FOR LOCAL DEVELOPMENT)
# WARNING: If you set this, you MUST also configure the frontend to send this key
# via the 'X-API-Key' header, otherwise the UI will fail with 401 Unauthorized.
# Example: API_KEYS=key1,key2,key3
API_KEYS=
# ==============================================================================
# Logging Configuration
# ==============================================================================
# Log Level: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# ==============================================================================
# Model Cache Configuration (Optional)
# ==============================================================================
# HuggingFace models will be cached to models/ directory by default
# To disable symlink warnings on Windows, uncomment:
# HF_HUB_DISABLE_SYMLINKS_WARNING=1
# ==============================================================================
# Translation Settings (Strategy B)
# ==============================================================================
# Translation models are downloaded on-demand (~2.5GB for NLLB-200)
# First use of Strategy B will trigger automatic download
# Models: facebook/nllb-200-distilled