Repository navigation
Expand file tree
/
Copy pathenv.example
More file actions
50 lines (42 loc) · 1.64 KB
/
Copy pathenv.example
File metadata and controls
50 lines (42 loc) · 1.64 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
48
49
50
# ==============================================================================
# Intent Hub Configuration Template
# ==============================================================================
# Configuration Hierarchy (Priority: Highest to Lowest):
# 1. data/settings.json (SSoT - All application settings modified via Web UI)
# 2. Environment Variables (.env)
# 3. Hardcoded Defaults
# ==============================================================================
# --- [Level 2: Infrastructure & Initial Setup] ---
# Note: Most values below are for INITIALIZATION. Once the app is running,
# please use the Web UI (Settings page) to manage your configuration.
# Changes made in the UI are saved to data/settings.json and take precedence.
# --- Infrastructure ---
FLASK_HOST=0.0.0.0
FLASK_PORT=5000
FLASK_DEBUG=False
# Data Directory (Where settings.json and other data are stored)
INTENT_HUB_DATA_DIR=/app/data
# --- Qdrant Vector Database ---
# Use http://qdrant:6333 if running with Docker Compose
QDRANT_URL=http://qdrant:6333
QDRANT_COLLECTION=intent_hub_routes
QDRANT_API_KEY=
# --- LLM Service (Required for Dataset Generation & Diagnostics) ---
# Supported providers: deepseek, openrouter, doubao, qwen, gemini
LLM_PROVIDER=deepseek
LLM_API_KEY=your_api_key_here
LLM_BASE_URL=https://api.deepseek.com
LLM_MODEL=deepseek-chat
# --- Initial Embedding Settings ---
EMBEDDING_MODEL_NAME=Qwen/Qwen3-Embedding-0.6B
EMBEDDING_DEVICE=cpu
HUGGINGFACE_ACCESS_TOKEN=
# --- Initial Auth Settings ---
AUTH_ENABLED=True
DEFAULT_USERNAME=admin
DEFAULT_PASSWORD=123456
# Multiple API keys can be comma-separated
API_KEYS=
# --- Build Settings ---
NPM_REGISTRY=
PIP_INDEX_URL=