29 lines
1.2 KiB
Bash
29 lines
1.2 KiB
Bash
# Bale Bot API — token from Bale's BotFather (required)
|
|
PROCUREMENT_BOT_BOT_TOKEN=
|
|
PROCUREMENT_BOT_BALE_API_BASE=https://tapi.bale.ai
|
|
|
|
# ERP procurement API (in Docker: http://api:8000/api/v1)
|
|
PROCUREMENT_BOT_API_BASE_URL=http://localhost:8000/api/v1
|
|
PROCUREMENT_BOT_DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/procurement
|
|
|
|
# LLM provider — any OpenAI-compatible endpoint (JSON-mode chat completions)
|
|
PROCUREMENT_BOT_AI_BASE_URL=https://api.deepseek.com
|
|
PROCUREMENT_BOT_AI_API_KEY=
|
|
PROCUREMENT_BOT_LLM_MODEL=deepseek-flash
|
|
|
|
# STT provider — must expose POST /audio/transcriptions.
|
|
# Falls back to AI_* when unset. DeepSeek has no audio API, so voice needs
|
|
# its own whisper-compatible provider (OpenAI, GLM, self-hosted faster-whisper…).
|
|
PROCUREMENT_BOT_STT_BASE_URL=
|
|
PROCUREMENT_BOT_STT_API_KEY=
|
|
PROCUREMENT_BOT_STT_MODEL=whisper-1
|
|
PROCUREMENT_BOT_STT_LANGUAGE=fa
|
|
|
|
# Bale chat ids allowed without Casdoor linking (comma separated)
|
|
PROCUREMENT_BOT_ADMIN_CHAT_IDS=
|
|
# Optional bearer for the day the ERP starts enforcing auth on procurement routes
|
|
PROCUREMENT_BOT_SERVICE_TOKEN=
|
|
# Drafts older than this are swept into `expired`
|
|
PROCUREMENT_BOT_DRAFT_TTL_HOURS=24
|
|
PROCUREMENT_BOT_LOG_LEVEL=INFO
|