feat: 初始化 B2B AI Shopping Assistant 项目
- 配置 Docker Compose 多服务编排 - 实现 Chatwoot + Agent 集成 - 配置 Strapi MCP 知识库 - 支持 7 种语言的 FAQ 系统 - 实现 LangGraph AI 工作流 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
44
.env.example
Normal file
44
.env.example
Normal file
@@ -0,0 +1,44 @@
|
||||
# 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
|
||||
|
||||
# ============ Agent Config ============
|
||||
LOG_LEVEL=INFO
|
||||
MAX_CONVERSATION_STEPS=10
|
||||
CONVERSATION_TIMEOUT=3600
|
||||
Reference in New Issue
Block a user