45 lines
1022 B
Plaintext
45 lines
1022 B
Plaintext
# Botino - Example Environment Variables
|
|
# Copy this file to .env and fill in the values
|
|
|
|
# ===================
|
|
# Core
|
|
# ===================
|
|
PORT=3000
|
|
TENANT_KEY=piaf
|
|
DATABASE_URL=postgresql://user:password@localhost:5432/botino
|
|
PG_POOL_MAX=10
|
|
PG_IDLE_TIMEOUT_MS=30000
|
|
PG_CONN_TIMEOUT_MS=5000
|
|
APP_ENCRYPTION_KEY=your-32-char-encryption-key-here
|
|
|
|
# ===================
|
|
# OpenAI
|
|
# ===================
|
|
OPENAI_API_KEY=sk-xxx
|
|
OPENAI_MODEL=gpt-4o-mini
|
|
|
|
# ===================
|
|
# Turn Engine
|
|
# ===================
|
|
# v1 = pipeline actual (heurísticas + guardrails + LLM plan final)
|
|
# v2 = LLM-first NLU, deterministic core (nuevo motor)
|
|
TURN_ENGINE=v1
|
|
|
|
# ===================
|
|
# WooCommerce (fallback si falta config por tenant)
|
|
# ===================
|
|
WOO_BASE_URL=https://tu-tienda.com
|
|
WOO_CONSUMER_KEY=ck_xxx
|
|
WOO_CONSUMER_SECRET=cs_xxx
|
|
|
|
# ===================
|
|
# Debug Flags (1/true/yes/on para activar)
|
|
# ===================
|
|
DEBUG_PERF=0
|
|
DEBUG_WOO_HTTP=0
|
|
DEBUG_WOO_PRODUCTS=0
|
|
DEBUG_LLM=0
|
|
DEBUG_EVOLUTION=0
|
|
DEBUG_DB=0
|
|
DEBUG_RESOLVE=0
|