dotb_ai-platform/.env.example
2026-09-14 14:57:35 +07:00

20 lines
1.1 KiB
Plaintext

# Local development only. Replace all credentials in deployed environments.
ENVIRONMENT=development
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5433/lead_scoring
AIHUB_BASE_URL=http://localhost:8080
DEBUG=false
# JSON arrays consumed by pydantic-settings. These values work with the Dev Console example.
SERVICE_CALLERS=[{"caller_id":"dev-console","token":"local-dev-token","allowed_apps":["dev-console"],"allowed_features":["lead-scoring"],"allowed_tenants":["omni-account-42","omni-test-tenant-42"]}]
TENANT_ALLOWLIST=["omni-account-42","omni-test-tenant-42"]
SCORING_CONFIGS=[{"version":"1.0.0","confidence":0.8,"confidence_threshold":0.7,"hitl_policy_version":"1.0.0","effort_profile":"medium","fallback_policy":"rules_only_review","ai_model":"openai/gpt-4o-mini"}]
WORKER_LEASE_SECONDS=30
WORKER_RECOVERY_INTERVAL_SECONDS=5
KILL_SWITCH_ENABLED=false
# Enable webhook delivery by setting both values.
# WEBHOOK_SUBSCRIBER_URL=http://localhost:8080/api/v1/internal/lead-scoring/events
# WEBHOOK_SIGNING_SECRET=replace-with-local-signing-secret
WEBHOOK_SIGNING_KEY_ID=pilot-2026-01