Files
assistant/.env.example

48 lines
1.3 KiB
Plaintext
Raw Normal View History

# B2B Shopping AI Assistant Platform - Environment Variables
# ============ AI Model ============
ZHIPU_API_KEY=your_zhipu_api_key
ZHIPU_MODEL=glm-4
# ============ 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
# ============ Mall API ============
MALL_API_URL=https://apicn.qa1.gaia888.com
# ============ Agent Config ============
LOG_LEVEL=INFO
MAX_CONVERSATION_STEPS=10
CONVERSATION_TIMEOUT=3600