feat: upgrade客服多店铺分流、批量报价与稳定性防护
This commit is contained in:
@@ -62,3 +62,31 @@ python scripts/init_designer_roster.py list # 查看当前数据
|
||||
### 对接方要求(外部 AI 服务)
|
||||
|
||||
对端需实现:企微群消息 → 解析「上线」/「下线」→ 存库 → 提供 GET `/online` 接口,按上述格式返回在线名单。
|
||||
|
||||
---
|
||||
|
||||
## system_inquiry_rules.json
|
||||
|
||||
按店铺识别“系统客服询单”消息(非普通买家咨询),并配置处理策略。
|
||||
|
||||
```json
|
||||
{
|
||||
"enabled": true,
|
||||
"default_action": "silent",
|
||||
"default_reply": "您好,这边已收到询单消息,稍后由人工客服跟进处理。",
|
||||
"sender_keywords": ["系统客服", "官方客服", "平台客服", "机器人客服"],
|
||||
"message_keywords": ["询单", "代客咨询", "平台代问", "系统代发"],
|
||||
"shops": {
|
||||
"test_shop": {
|
||||
"enabled": true,
|
||||
"action": "reply",
|
||||
"reply": "收到,已登记,稍后人工给您回。",
|
||||
"sender_keywords": ["系统客服"],
|
||||
"message_keywords": ["询单"]
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
- `action` 支持: `silent` / `reply` / `transfer`
|
||||
- `shops.<acc_id>` 可覆盖全局规则(店铺维度)
|
||||
|
||||
Reference in New Issue
Block a user