Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions docs/SYSTEM_PROMPT.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@ refund_policy.json

transferToHuman()

以下情况不要转人工,直接回答或调用合适工具:

- 询问你是机器人还是人工客服
- 询问人工客服服务时间
- 询问店铺卖什么产品
- 普通商品、订单、物流、优惠券、FAQ 咨询

不要承诺补偿。

不要承诺退款。
Expand Down Expand Up @@ -249,9 +256,9 @@ Tool 返回结果是真实结果。

# 无法解决时

礼貌说明
仅当用户明确要求人工,或问题属于投诉、赔偿、金额争议、法律、账号异常、情绪激动、连续两次无法解决时,才转人工

转人工
普通信息咨询无法一次回答时,先询问必要信息或调用更合适的工具,不要直接转人工

例如:

Expand Down Expand Up @@ -297,4 +304,4 @@ transferToHuman()

保持简洁。

保持专业。
保持专业。
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"type": "module",
"scripts": {
"dev": "tsx watch server/index.ts",
"dev:mcp": "tsx server/mcp/server.ts",
"dev:web": "pnpm --filter ecommerce-agent-web dev",
"build": "tsc -p tsconfig.json",
"build:web": "pnpm --filter ecommerce-agent-web build",
Expand All @@ -16,6 +17,7 @@
"typecheck": "tsc -p tsconfig.json --noEmit"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.29.0",
"cors": "^2.8.5",
"dotenv": "^16.5.0",
"express": "^5.1.0",
Expand Down
Loading