| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304 |
- {
- "companyId": 338,
- "includeStress": true,
- "startedAt": "2026-06-17 11:48:52",
- "sections": {
- "template": {
- "passed": true,
- "workflowId": 18,
- "templateCode": "LOB_1781667526336",
- "source": "existing",
- "message": "travel template found"
- },
- "e2eDialogue": {
- "passed": false,
- "message": "NullPointerException",
- "exception": "java.lang.NullPointerException"
- },
- "aiGenerate": {
- "recordNo": "LOB_1781668163001",
- "generateUseLlm": false,
- "fallbackGenerate": true,
- "finalStatus": 1,
- "detail": {
- "conversationModel": {
- "defaultStage": "consult",
- "description": "会话层常驻;节点为动作/触达/分支,非聊天容器",
- "version": 2,
- "stages": [
- "@{code=consult; promptHint=你是小美,来自测试旅行社,正在了解客户对云南精品线的需求。; label=咨询沟通; goals=System.Object[]}",
- "@{code=collect; promptHint=自然引导客户补充预算、时间等关键信息,不要一次问太多。; label=需求采集; goals=System.Object[]}",
- "@{code=offer; promptHint=基于已采集信息推荐云南精品线方案,可引导下单。; label=方案推荐; goals=System.Object[]}"
- ],
- "sideTasks": [
- "@{triggerIntents=System.Object[]; nodeCode=ORDER_ACTION; nodeType=7; action=create_order}",
- "@{triggerIntents=System.Object[]; nodeCode=TAG_HIGH_INTENT; nodeType=9; action=add_tag}"
- ]
- },
- "brandContext": {
- "advisorName": "小美",
- "companyShortName": "测试旅行社",
- "advisorRole": "金牌旅行顾问",
- "mainProduct": "云南精品线"
- },
- "_fallbackSource": "conversation_model_template",
- "variables": [
- {
- "varName": "客户姓名",
- "label": "客户姓名",
- "source": "user_profile",
- "type": "string",
- "varType": "string",
- "sourceType": "user_profile",
- "name": "customerName",
- "varCode": "customerName"
- },
- {
- "varName": "测试旅行社",
- "label": "测试旅行社",
- "source": "manual",
- "type": "string",
- "varType": "string",
- "sourceType": "manual",
- "name": "company_short_name",
- "varCode": "company_short_name"
- },
- {
- "varName": "小美",
- "label": "小美",
- "source": "manual",
- "type": "string",
- "varType": "string",
- "sourceType": "manual",
- "name": "advisor_name",
- "varCode": "advisor_name"
- },
- {
- "varName": "云南精品线",
- "label": "云南精品线",
- "source": "manual",
- "type": "string",
- "varType": "string",
- "sourceType": "manual",
- "name": "main_product",
- "varCode": "main_product"
- },
- {
- "varName": "当前阶段",
- "label": "当前阶段",
- "source": "manual",
- "type": "string",
- "varType": "string",
- "sourceType": "manual",
- "name": "workflowStage",
- "varCode": "workflowStage"
- }
- ],
- "nodes": [
- {
- "nodeName": "开始",
- "nextNodeCode": "INIT_STAGE",
- "nodeCode": "START",
- "maxRounds": 0,
- "nodeType": 1,
- "nodeConfig": "{\"autoAdvance\":true}",
- "sortNo": 1,
- "conditionExpr": "",
- "messageTemplate": "您好${customerName},我是小美,来自测试旅行社。看到您关注云南精品线,有什么可以帮您?"
- },
- {
- "nodeName": "初始化阶段",
- "nextNodeCode": "ORDER_ACTION",
- "nodeCode": "INIT_STAGE",
- "maxRounds": 0,
- "nodeType": 16,
- "nodeConfig": "{\"assignments\":{\"workflowStage\":\"consult\"},\"stageGate\":true}",
- "sortNo": 2,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "成单动作",
- "nextNodeCode": "OUTBOUND_CARE",
- "nodeCode": "ORDER_ACTION",
- "maxRounds": 0,
- "nodeType": 7,
- "nodeConfig": "{\"sideTask\":true,\"actionOnly\":true,\"triggerIntents\":[\"purchase\",\"order\"],\"action\":\"create_order\"}",
- "sortNo": 3,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "主动关怀",
- "nextNodeCode": "JUDGE",
- "nodeCode": "OUTBOUND_CARE",
- "maxRounds": 0,
- "nodeType": 10,
- "nodeConfig": "{\"delivery\":\"proactive\",\"awaitReply\":false}",
- "sortNo": 4,
- "conditionExpr": "",
- "messageTemplate": "您好,我是小美,之前聊的云南精品线方案您考虑得怎么样了?"
- },
- {
- "nodeName": "意图分支",
- "nextNodeCode": "",
- "nodeCode": "JUDGE",
- "maxRounds": 0,
- "nodeType": 3,
- "nodeConfig": "{}",
- "sortNo": 5,
- "conditionExpr": "{\"branches\":[{\"nextNodeCode\":\"END\",\"condition\":{\"field\":\"customerIntent\",\"operator\":\"eq\",\"value\":\"purchase\"},\"desc\":\"成交\"},{\"nextNodeCode\":\"FOLLOW\",\"condition\":{\"field\":\"customerIntent\",\"operator\":\"eq\",\"value\":\"inquiry\"},\"desc\":\"跟进\"}],\"defaultNodeCode\":\"FOLLOW\"}",
- "messageTemplate": ""
- },
- {
- "nodeName": "跟进动作",
- "nextNodeCode": "END",
- "nodeCode": "FOLLOW",
- "maxRounds": 0,
- "nodeType": 8,
- "nodeConfig": "{\"sideTask\":true,\"actionOnly\":true,\"action\":\"createFollowUp\"}",
- "sortNo": 6,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "高意向标签",
- "nextNodeCode": "END",
- "nodeCode": "TAG_HIGH_INTENT",
- "maxRounds": 0,
- "nodeType": 9,
- "nodeConfig": "{\"sideTask\":true,\"actionOnly\":true,\"triggerIntents\":[\"purchase\"]}",
- "sortNo": 7,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "结束",
- "nextNodeCode": "",
- "nodeCode": "END",
- "maxRounds": 0,
- "nodeType": 5,
- "nodeConfig": "{}",
- "sortNo": 8,
- "conditionExpr": "",
- "messageTemplate": ""
- }
- ],
- "industryType": "travel",
- "templateName": "AI生成工作流(会话常驻模型)",
- "edges": [
- {
- "targetNodeCode": "INIT_STAGE",
- "sourceNodeCode": "START",
- "edgeLabel": "启动"
- },
- {
- "targetNodeCode": "ORDER_ACTION",
- "sourceNodeCode": "INIT_STAGE",
- "edgeLabel": "编排"
- },
- {
- "targetNodeCode": "OUTBOUND_CARE",
- "sourceNodeCode": "ORDER_ACTION",
- "edgeLabel": "触达"
- },
- {
- "targetNodeCode": "JUDGE",
- "sourceNodeCode": "OUTBOUND_CARE",
- "edgeLabel": "判断"
- },
- {
- "targetNodeCode": "END",
- "sourceNodeCode": "JUDGE",
- "edgeLabel": "成交"
- },
- {
- "targetNodeCode": "FOLLOW",
- "sourceNodeCode": "JUDGE",
- "edgeLabel": "跟进"
- },
- {
- "targetNodeCode": "END",
- "sourceNodeCode": "FOLLOW",
- "edgeLabel": "结束"
- }
- ],
- "description": "旅游公司销冠全流程:直播加微→破冰→采集出行需求→线路推荐→促单签单→出行前关怀→旅途中关怀→回访调研→节日营销→循环推荐",
- "_generateParam": {
- "advisorName": "小美",
- "companyShortName": "测试旅行社",
- "industryType": "travel",
- "advisorRole": "金牌旅行顾问",
- "mainProduct": "云南精品线"
- },
- "status": 1,
- "errorMsg": "已使用行业兜底模板: validation fast fallback"
- },
- "usedFallback": true,
- "passed": true,
- "workflowId": 19,
- "message": "generate and confirm ok"
- },
- "phase2Learning": {
- "hotReplayRowsBefore": 10,
- "hotReplayRowsAfter": 12,
- "delta": 2,
- "passed": true,
- "status": "ok",
- "hint": "async write ok",
- "message": "learning replay ok",
- "verify": {
- "companyId": 338,
- "archiveTableExists": false,
- "hotIndexExists": true,
- "hotReplayRows": 12,
- "eventLogRows": 12,
- "archiveRows": 0,
- "archiveNote": "table missing or query failed",
- "status": "ok"
- }
- },
- "stress": {
- "multiTurn": {
- "turns": 3,
- "avgScore": 75.33333333333333,
- "passed": true,
- "message": "multiTurn ok"
- },
- "rateLimit": {
- "cooldownAt": 6,
- "passed": true,
- "message": "rate limit triggered",
- "instanceId": 42
- },
- "waitWake": {
- "passed": true,
- "message": "wait wake ok",
- "statusAfter": "running",
- "instanceId": 43
- },
- "longMessage": {
- "passed": true,
- "message": "long message handled",
- "code": 200,
- "messageLength": 11000
- },
- "concurrentStart": {
- "passed": true,
- "successCount": 3,
- "instanceIds": [
- 45,
- 46,
- 47
- ],
- "message": "3 burst starts ok"
- }
- }
- },
- "failures": [
- "e2eDialogue: NullPointerException"
- ],
- "passed": false,
- "durationMs": 70997,
- "templateIdUsed": 18
- }
|