2026-01-14 19:25:22 +08:00
|
|
|
# B2B Shopping AI Assistant Platform - Environment Variables
|
|
|
|
|
|
|
|
|
|
# ============ AI Model ============
|
2026-01-27 19:10:06 +08:00
|
|
|
# LLM Provider: 'zhipu' (default) or 'qwen'
|
|
|
|
|
LLM_PROVIDER=zhipu
|
|
|
|
|
|
|
|
|
|
# ZhipuAI (智谱 AI)
|
2026-01-14 19:25:22 +08:00
|
|
|
ZHIPU_API_KEY=your_zhipu_api_key
|
2026-01-27 19:10:06 +08:00
|
|
|
ZHIPU_MODEL=glm-4-flash
|
|
|
|
|
|
|
|
|
|
# Qwen (通义千问) - Alternative provider
|
|
|
|
|
QWEN_API_KEY=your_qwen_dashscope_api_key
|
|
|
|
|
QWEN_MODEL=qwen-omni-turbo
|
|
|
|
|
# Available Qwen models:
|
|
|
|
|
# - qwen-omni-turbo (多模态,支持图片/语音)
|
|
|
|
|
# - qwen-plus (通用模型)
|
|
|
|
|
# - qwen-turbo (高速模型)
|
|
|
|
|
# - qwen-long (长文本)
|
|
|
|
|
# - qwen-max (最强模型)
|
2026-01-14 19:25:22 +08:00
|
|
|
|
|
|
|
|
# ============ Redis ============
|
|
|
|
|
REDIS_HOST=redis
|
|
|
|
|
REDIS_PORT=6379
|
|
|
|
|
REDIS_PASSWORD=your_redis_password
|
|
|
|
|
REDIS_DB=0
|
|
|
|
|
|
|
|
|
|
# ============ PostgreSQL (Chatwoot) ============
|
|
|
|
|
POSTGRES_HOST=postgres
|
|
|
|
|
POSTGRES_PORT=5432
|
|
|
|
|
POSTGRES_DB=chatwoot
|
|
|
|
|
POSTGRES_USER=chatwoot
|
|
|
|
|
POSTGRES_PASSWORD=your_postgres_password
|
|
|
|
|
|
|
|
|
|
# ============ Chatwoot ============
|
|
|
|
|
CHATWOOT_API_URL=http://chatwoot:3000
|
|
|
|
|
CHATWOOT_API_TOKEN=your_chatwoot_api_token
|
|
|
|
|
CHATWOOT_WEBHOOK_SECRET=your_webhook_secret
|
|
|
|
|
CHATWOOT_FRONTEND_URL=http://localhost:3000
|
|
|
|
|
CHATWOOT_SECRET_KEY_BASE=your_secret_key_base
|
|
|
|
|
|
|
|
|
|
# ============ Strapi CMS (FAQ/Knowledge Base) ============
|
|
|
|
|
STRAPI_API_URL=http://your-strapi:1337
|
|
|
|
|
STRAPI_API_TOKEN=your_strapi_api_token
|
|
|
|
|
|
|
|
|
|
# ============ Hyperf PHP API ============
|
|
|
|
|
HYPERF_API_URL=http://your-hyperf-api:9501
|
|
|
|
|
HYPERF_API_TOKEN=your_hyperf_api_token
|
|
|
|
|
|
|
|
|
|
# ============ MCP Servers ============
|
|
|
|
|
STRAPI_MCP_URL=http://strapi_mcp:8001
|
|
|
|
|
ORDER_MCP_URL=http://order_mcp:8002
|
|
|
|
|
AFTERSALE_MCP_URL=http://aftersale_mcp:8003
|
|
|
|
|
PRODUCT_MCP_URL=http://product_mcp:8004
|
|
|
|
|
|
2026-01-16 18:36:17 +08:00
|
|
|
# ============ Mall API ============
|
|
|
|
|
MALL_API_URL=https://apicn.qa1.gaia888.com
|
|
|
|
|
|
2026-01-14 19:25:22 +08:00
|
|
|
# ============ Agent Config ============
|
|
|
|
|
LOG_LEVEL=INFO
|
|
|
|
|
MAX_CONVERSATION_STEPS=10
|
|
|
|
|
CONVERSATION_TIMEOUT=3600
|