54 lines
2 KiB
Text
54 lines
2 KiB
Text
# =============================================================================
|
|
# DidiBrain — environment configuration
|
|
# Copy to .env and fill in. .env is gitignored.
|
|
# =============================================================================
|
|
|
|
# -- LLM router (single entry point, picks backend) ---------------------------
|
|
LLM_ROUTER_URL=http://10.11.10.17:14011
|
|
LLM_ROUTER_API_KEY=
|
|
|
|
# Direct backends (used only as fallback / health checks)
|
|
LLM_VLLM_URL=http://localhost:14001
|
|
LLM_LLAMACPP_URLS=http://10.11.10.18:14001,http://10.11.10.19:14001
|
|
|
|
# -- Model names (as reported by /v1/models) ----------------------------------
|
|
# Workhorse for everything critical: extraction, NLI, verdict, wiki, chat
|
|
MODEL_REASONING=Qwen3.5-397B-A17B
|
|
MODEL_REASONING_BACKEND=llamacpp
|
|
|
|
# Fast worker for mass processing (currently DISABLED — thinking mode + safety
|
|
# alignment block structured output on disinfo topics). Re-enable when fixed.
|
|
MODEL_FAST=qwen3.5
|
|
MODEL_FAST_BACKEND=vllm
|
|
MODEL_FAST_ENABLED=false
|
|
|
|
# Multimodal / second-opinion (currently DOWN — port 8001 not responding)
|
|
MODEL_VISION=gemma-3-27b-it
|
|
MODEL_VISION_URL=http://10.11.10.16:8001
|
|
MODEL_VISION_ENABLED=false
|
|
|
|
# -- Embeddings (BGE-M3 via vLLM) ---------------------------------------------
|
|
EMBEDDING_URL=http://10.11.10.15:8200
|
|
EMBEDDING_API_KEY=
|
|
EMBEDDING_MODEL=BAAI/bge-m3
|
|
EMBEDDING_DIM=1024
|
|
EMBEDDING_MAX_TOKENS=8192
|
|
|
|
# -- Reranker (BGE-reranker-v2-m3) --------------------------------------------
|
|
RERANKER_URL=http://10.11.10.15:8100
|
|
RERANKER_API_KEY=
|
|
RERANKER_MODEL=BAAI/bge-reranker-v2-m3
|
|
|
|
# -- Atomic server (the brain) ------------------------------------------------
|
|
# When running locally for dev, this is the dockerized atomic-server
|
|
ATOMIC_URL=http://localhost:8088
|
|
ATOMIC_TOKEN=
|
|
|
|
# -- Postgres (for atomic-server multi-db scale) ------------------------------
|
|
POSTGRES_USER=atomic
|
|
POSTGRES_PASSWORD=changeme_in_real_env
|
|
POSTGRES_DB=atomic
|
|
POSTGRES_PORT=5434
|
|
|
|
# -- Logging ------------------------------------------------------------------
|
|
LOG_LEVEL=INFO
|