| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327 |
- {
- "companyId": 338,
- "includeStress": true,
- "dialogueIndustry": "travel",
- "startedAt": "2026-06-23 02:40:45",
- "sections": {
- "enginePrompts": {
- "expectedCatalogKeys": 50,
- "newlyInserted": 0,
- "missingKeys": [
- ],
- "platformKeyCount": 50,
- "passed": true,
- "message": "platform engine prompts complete (50 keys)"
- },
- "triggerExclude": {
- "passed": true,
- "errors": [
- ],
- "message": "trigger exclude/sarcasm/schedule checks ok"
- },
- "runtimeCapabilities": {
- "capabilityTags": [
- "product",
- "weather",
- "logistics",
- "survey",
- "live",
- "article",
- "order",
- "order_list",
- "coupon",
- "crm",
- "sms"
- ],
- "toolCount": 11,
- "intentChecks": [
- {
- "message": "这几条线路看起来不错",
- "expectedTool": "query_product",
- "matchedTool": "query_product",
- "passed": "true"
- },
- {
- "message": "云南天气怎么样",
- "expectedTool": "query_weather",
- "matchedTool": "query_weather",
- "passed": "true"
- },
- {
- "message": "我的快递发货了吗",
- "expectedTool": "query_logistics",
- "matchedTool": "query_logistics",
- "passed": "true"
- },
- {
- "message": "满意度打分",
- "expectedTool": "start_survey",
- "matchedTool": "start_survey",
- "passed": "true"
- },
- {
- "message": "有没有新线路优惠",
- "expectedTool": "query_product",
- "matchedTool": "query_product",
- "passed": "true"
- },
- {
- "message": "有直播吗",
- "expectedTool": "push_live",
- "matchedTool": "push_live",
- "passed": "true"
- },
- {
- "message": "发我看看文章",
- "expectedTool": "push_article",
- "matchedTool": "push_article",
- "passed": "true"
- }
- ],
- "surveySmoke": true,
- "issues": [
- ],
- "passed": true,
- "message": "运行时能力校验通过"
- },
- "capabilityDialogue": {
- "lines": [
- {
- "message": "云南7月份天气怎么样,需要带什么衣服",
- "matchedTool": "query_weather",
- "triggered": true,
- "toolStatus": "ok",
- "summary": "已查询 云南 天气"
- },
- {
- "message": "快递发货了吗,帮我查一下物流",
- "matchedTool": "query_logistics",
- "triggered": true,
- "toolStatus": "ok",
- "summary": "{success=false, error=未找到物流单号,请确认是否已发货}"
- },
- {
- "message": "有没有适合带老人的新线路推荐",
- "matchedTool": "query_product",
- "triggered": true,
- "toolStatus": "ok",
- "summary": "{products=[], count=0}"
- },
- {
- "message": "今晚有直播吗,发我直播间链接",
- "matchedTool": "push_live",
- "triggered": true,
- "toolStatus": "ok",
- "summary": "暂无可用直播,请稍后再试"
- },
- {
- "message": "有没有出行攻略文章发我看看",
- "matchedTool": "push_article",
- "triggered": true,
- "toolStatus": "ok",
- "summary": "为您推荐文章:测试0603"
- },
- {
- "message": "满意度打5分,服务挺好的",
- "matchedTool": "start_survey",
- "triggered": true,
- "toolStatus": "ok",
- "summary": "已记录客户参与「satisfaction」问卷意向,请在对话中自然引导完成反馈"
- }
- ],
- "lineCount": 6,
- "warnings": [
- ],
- "issues": [
- ],
- "passed": true,
- "message": "capabilityTriggers 联调通过"
- },
- "template": {
- "passed": true,
- "workflowId": 64,
- "templateCode": "LOB_1782153078925",
- "source": "existing",
- "message": "travel template found"
- },
- "lifecycleCoverage": {
- "coverageRatio": 1.0,
- "minCoverage": 0.75,
- "nodeCount": 16,
- "requiredNodeCount": 15,
- "missingNodes": [
- ],
- "passed": true,
- "message": "lifecycle nodes covered"
- },
- "sopDefaults": {
- "qwSopTempId": "LOBSTER_TRAVEL_POST_BOOKING",
- "wxSopTempId": "LOBSTER_TRAVEL_POST_BOOKING_WX",
- "tenantHint": "Create qw_sop/wx_sop tasks with temp_id matching the values above",
- "sopEnrollNodeConfig": "{\"sopTempId\":\"LOBSTER_TRAVEL_POST_BOOKING\",\"wxSopTempId\":\"LOBSTER_TRAVEL_POST_BOOKING_WX\",\"plannedIndustry\":\"travel\",\"systemPromptKey\":\"node_LOB_1782153078925_SOP_ENROLL_system\",\"preferContactAccount\":true,\"plannedRole\":\"MESSAGE\",\"instructionPromptKey\":\"node_LOB_1782153078925_SOP_ENROLL_instruction\",\"actionOnly\":true,\"promptPlanned\":true}",
- "hasSopEnrollNode": true,
- "passed": true,
- "message": "travel SOP defaults and SOP_ENROLL node present"
- },
- "sopEnrollment": {
- "qwTaskConfigured": false,
- "wxTaskConfigured": false,
- "tenantSopReady": false,
- "qwChannel": {
- "success": false,
- "skipped": null,
- "channelType": "QW",
- "message": "未找到可用的 SOP 任务(请配置 sopId 或 tempId)",
- "tempId": null,
- "sopId": null,
- "reachable": true
- },
- "wxChannel": {
- "success": false,
- "skipped": null,
- "channelType": "WX",
- "message": "未找到个微 SOP 任务(配置 sopId 或 wxSopTempId/tempId)",
- "tempId": null,
- "sopId": null,
- "reachable": true
- },
- "passed": true,
- "notes": [
- "tenant missing qw_sop temp_id=LOBSTER_TRAVEL_POST_BOOKING",
- "tenant missing wx_sop temp_id=LOBSTER_TRAVEL_POST_BOOKING_WX"
- ],
- "message": "routing ok; tenant missing qw_sop temp_id=LOBSTER_TRAVEL_POST_BOOKING; tenant missing wx_sop temp_id=LOBSTER_TRAVEL_POST_BOOKING_WX"
- },
- "nodePromptsPlanned": {
- "promptNodeTarget": 6,
- "promptNodeFilled": 6,
- "emptyPromptNodes": [
- ],
- "passed": true,
- "message": "key node prompts present"
- },
- "lifecycleSimulation": {
- "waitPreTripConfigured": true,
- "tagAutoConfigured": true,
- "orderActionConfigured": true,
- "holidayWaitConfigured": true,
- "passed": true,
- "message": "lifecycle orchestration nodes configured"
- },
- "lifecycleRuntime": {
- "simMinuteUnit": 10,
- "simDayEqualsMinutes": 10,
- "schedulerWakeWaitMs": 3500,
- "preTripWaitSchedule10m": {
- "waitUntil": 1782154200000,
- "expectedWaitAt": 1782154200000,
- "travelAt": "2026-06-23T03:40:57.828311700",
- "waitInRealMinutes": 9,
- "diffMinutes": 0,
- "simTimeScale": true,
- "passed": true,
- "message": "T-5 10m sim schedule ok"
- },
- "preTripWaitWake": {
- "passed": true,
- "message": "lifecycle wait wake ok",
- "statusAfter": "running",
- "resumeIndex": 8,
- "currentIndexAfter": 9,
- "instanceId": 494
- },
- "preTripSchedulerWake10m": {
- "scheduledWakeAt": 1782153665492,
- "schedulerWaitMs": 3500,
- "passed": true,
- "message": "scheduler 10m sim wake ok",
- "statusAfter": "running",
- "resumeIndex": 8,
- "currentIndexAfter": 9,
- "instanceId": 495
- },
- "holidayWaitSchedule10m": {
- "waitUntil": 1782171600000,
- "expectedWaitAt": 1782171600000,
- "waitInRealMinutes": 298,
- "simHolidayDays": 30,
- "simRealMinutes": 300,
- "diffMinutes": 0,
- "passed": true,
- "message": "holiday 10m sim schedule ok"
- },
- "holidayWaitWake": {
- "passed": true,
- "message": "lifecycle wait wake ok",
- "statusAfter": "completed",
- "resumeIndex": 13,
- "currentIndexAfter": 13,
- "instanceId": 496
- },
- "holidaySchedulerWake10m": {
- "scheduledWakeAt": 1782153674207,
- "schedulerWaitMs": 3500,
- "passed": true,
- "message": "scheduler 10m sim wake ok",
- "statusAfter": "completed",
- "resumeIndex": 13,
- "currentIndexAfter": 13,
- "instanceId": 497
- },
- "passed": true,
- "message": "lifecycle 10m sim schedule/wake ok"
- },
- "lifecycleFullFlowSim": {
- "instanceId": 498,
- "finalStatus": "completed",
- "finalNodeIndex": 13,
- "milestones": [
- "STARTED",
- "T5_SCHEDULED",
- "T5_WAITING",
- "PRE_TRIP_CARE",
- "PRE_TRIP_MULTITURN",
- "HOLIDAY_WAITING",
- "HOLIDAY_PROMO"
- ],
- "errors": [
- ],
- "passed": true,
- "message": "full lifecycle 10m sim flow ok",
- "simMinuteUnit": 10
- },
- "lifecycleExceptions": {
- "waitNotExpired": {
- "passed": true,
- "message": "not-expired wait rejected advance",
- "statusAfter": "waiting"
- },
- "prematureScheduler": {
- "passed": true,
- "message": "premature scheduler did not wake"
- },
- "blockedSchedulerSkip": {
- "passed": true,
- "message": "blocked instance skipped by scheduler"
- },
- "blockedForceWake": {
- "passed": true,
- "message": "blocked force wake rejected"
- },
- "overdueT5SkipWait": {
- "waitUntil": 1782151800000,
- "overdue": true,
- "wouldSkipSchedule": true,
- "passed": true,
- "message": "overdue T-5 skips wait schedule"
- },
- "missingTravelDate": {
- "waitUntil": 1782154486934,
- "expectedFallbackMinutes": 10,
- "passed": true,
- "message": "missing travel_date sim fallback ok"
- },
- "completedRejectWake": {
- "passed": true,
- "message": "completed instance rejects wake"
- },
- "missingResumeIndex": {
- "passed": true,
- "message": "missing resume index fallback ok"
- },
- "doubleWake": {
- "passed": true,
- "message": "double wake idempotent",
- "statusAfter": "running"
- },
- "passed": true,
- "message": "lifecycle exception handling ok"
- },
- "lifecycleMultiTurnDialogue": {
- "bookingTurnCount": 10,
- "postBookingTurnCount": 9,
- "dialogueSource": "bookingFunnel+postBookingLifecycle",
- "consultMultiTurn": {
- "turns": 5,
- "avgScore": 61.2,
- "minScore": 0.0,
- "passed": true,
- "message": "node multiTurn ok",
- "instanceId": 506,
- "inputCount": 6
- },
- "postBookingMultiTurnFlow": {
- "instanceId": 507,
- "preTripMultiTurn": {
- "turns": 3,
- "avgScore": 84.66666666666667,
- "minScore": 79.0,
- "passed": true,
- "message": "node multiTurn ok"
- },
- "holidayMultiTurn": {
- "turns": 1,
- "avgScore": 86.0,
- "minScore": 86.0,
- "earlyCompletion": true,
- "passed": true,
- "message": "node multiTurn ok"
- },
- "milestones": [
- "PRE_TRIP",
- "PRE_TRIP_MT",
- "HOLIDAY",
- "HOLIDAY_MT"
- ],
- "errors": [
- ],
- "dialogueTurns": 9,
- "passed": true,
- "message": "post-booking multi-turn flow ok"
- },
- "passed": true,
- "message": "lifecycle multi-turn dialogue ok"
- },
- "e2eDialogue": {
- "dialogueStage": "bookingFunnel",
- "dialogueTurnCount": 10,
- "runId": "9ae482abd6b644fba26deee961121809",
- "status": "SUCCESS",
- "instanceId": 508,
- "totalScore": 63.69,
- "passedNodeCnt": 10,
- "totalNodeCnt": 10,
- "evolutionCount": 1,
- "nodeTraces": 10,
- "minNodeScore": 0.0,
- "maxNodeScore": 88.75,
- "nodesBelowTarget": 2,
- "nodesBelowMin": 2,
- "nodeScoreDetail": [
- {
- "nodeCode": "初始化咨询阶段",
- "score": 88.75,
- "passed": true
- },
- {
- "nodeCode": "直播加微推直播间",
- "score": 76.875,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.875,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.875,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 0.0,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 78.75,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 78.75,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 0.0,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 81.875,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 78.125,
- "passed": true
- }
- ],
- "passed": true,
- "message": "e2e ok"
- },
- "qualityGate": {
- "enabled": true,
- "targetScorePercent": 75.0,
- "minE2eAvgScorePercent": 75.0,
- "minNodeScorePercent": 60.0,
- "passScorePercent": 90,
- "rawTotalScore": 63.69,
- "scoredNodeAvg": 63.6875,
- "totalScore": 63.6875,
- "nodesBelowTarget": 2,
- "nodesBelowMin": 2,
- "minNodeScore": 0.0,
- "maxNodeScore": 88.75,
- "nodeScoreDetail": [
- {
- "nodeCode": "初始化咨询阶段",
- "score": 88.75,
- "passed": true
- },
- {
- "nodeCode": "直播加微推直播间",
- "score": 76.875,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.875,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.875,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 0.0,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 78.75,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 78.75,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 0.0,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 81.875,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 78.125,
- "passed": true
- }
- ],
- "passed": false,
- "message": "avg 63.6875 \u003c min 75.0; 2 node(s) below min 60.0; 2 node(s) below production target 75.0"
- },
- "summary": {
- "instanceId": 508,
- "externalUserId": "999338001",
- "asyncDbSummary": true,
- "historyLines": 20,
- "syncSummaryLength": 80,
- "microSummaryLength": 210,
- "cachedSummaryOk": true,
- "dbSummaryRows": 1,
- "passed": true,
- "message": "summary persisted to DB"
- },
- "memoryPipeline": {
- "externalUserId": "999338001",
- "instanceId": 508,
- "summaryOk": true,
- "factCount": 20,
- "factKeys": [
- ],
- "passed": true,
- "message": "summary or customer_fact persisted"
- },
- "evolutionAnalyze": {
- "e2eEvolutionCount": 1,
- "evolutionLogsBefore": 65,
- "analyzeInvoked": true,
- "analyzeMessage": "analyzeAndSuggest ok",
- "evolutionLogsAfter": 65,
- "evolutionLogsDelta": 0,
- "pendingSuggestions": 0,
- "passed": true,
- "message": "evolution analyze ok"
- },
- "sensitiveWord": {
- "scopeNote": "lobster SensitiveWordService + evolve step9; not live/call/CompanyAiSensitiveWord AC",
- "layers": {
- "defaultLib": {
- "detectCount": 1,
- "filtered": "推荐云南精品线,***,欢迎咨询",
- "passed": true
- },
- "customCrud": {
- "word": "LOBSTER_VAL_338",
- "hit": true,
- "filtered": "行程含***内容",
- "passed": true
- },
- "highRisk": {
- "word": "LOBSTER_FRAUD_338",
- "highRisk": true,
- "passed": true
- },
- "evolveStep9Simulation": {
- "rawHasSensitive": true,
- "wouldTransferToHuman": true,
- "finalReply": "欢迎咨询,预期收益,***",
- "passed": true
- },
- "wordListLoaded": {
- "count": 137,
- "passed": true
- }
- },
- "passed": true,
- "message": "sensitive word pipeline ok"
- },
- "executionPolicy": {
- "scopeNote": "resolve() strict/content/flow gates used by executor + prompt fallback",
- "strictFixedWorkflow": false,
- "contentPersonalization": true,
- "flowPersonalization": true,
- "allowContent": true,
- "allowFlow": true,
- "executionMode": "HYBRID",
- "issues": [
- ],
- "passed": true,
- "message": "execution policy gates ok"
- },
- "aiGenerate": {
- "recordNo": "LOB_1782154274828",
- "generateUseLlm": false,
- "fallbackGenerate": true,
- "finalStatus": 1,
- "detail": {
- "conversationModel": {
- "defaultStage": "consult",
- "description": "旅游全链路:会话常驻,节点负责打标/签单/出行关怀/满意度/节日营销",
- "version": 2,
- "stages": [
- {
- "code": "consult",
- "promptHint": "你是小美,测试旅行社旅行顾问。客户来自直播间,先破冰并了解是否已有出行计划。",
- "label": "直播加微破冰",
- "goals": [
- ]
- },
- {
- "code": "collect",
- "promptHint": "逐步询问目的地、日期、人数、预算;一次只问一个关键问题。",
- "label": "需求采集打标",
- "goals": [
- {
- "collected": false,
- "label": "目的地",
- "required": true,
- "field": "destination"
- },
- {
- "collected": false,
- "label": "出行日期",
- "required": true,
- "field": "travel_date"
- },
- {
- "collected": false,
- "label": "预算",
- "required": true,
- "field": "budget"
- },
- {
- "collected": false,
- "label": "出行人数",
- "required": true,
- "field": "pax"
- }
- ]
- },
- {
- "code": "offer",
- "promptHint": "基于采集信息推荐云南精品线,突出亮点与优惠,自然引导签单。",
- "label": "线路推荐促单",
- "goals": [
- ]
- },
- {
- "code": "pre_trip",
- "promptHint": "出行前5天提醒证件、行李、当地天气与注意事项。",
- "label": "出行前关怀",
- "goals": [
- ]
- },
- {
- "code": "in_trip",
- "promptHint": "行程中主动问候,询问是否遇到问题,给出景点玩要建议。",
- "label": "行中关怀",
- "goals": [
- ]
- },
- {
- "code": "post_trip",
- "promptHint": "行程结束后收集满意度与改进建议。",
- "label": "满意度回访",
- "goals": [
- ]
- },
- {
- "code": "repurchase",
- "promptHint": "大节日前30天关怀,了解是否有新的出行计划并推荐产品。",
- "label": "节日营销",
- "goals": [
- ]
- }
- ],
- "sideTasks": [
- {
- "triggerIntents": [
- "purchase",
- "high_intent",
- "booked"
- ],
- "nodeCode": "TAG_AUTO",
- "nodeType": 9,
- "action": "add_tag"
- },
- {
- "triggerIntents": [
- "purchase",
- "order",
- "book"
- ],
- "nodeCode": "ORDER_ACTION",
- "nodeType": 7,
- "action": "create_order"
- }
- ]
- },
- "variables": [
- {
- "varName": "客户姓名",
- "label": "客户姓名",
- "source": "user_profile",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "user_profile",
- "name": "customerName",
- "varCode": "customerName"
- },
- {
- "varName": "目的地",
- "label": "目的地",
- "source": "conversation",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "conversation",
- "name": "destination",
- "varCode": "destination"
- },
- {
- "varName": "出行日期",
- "label": "出行日期",
- "source": "conversation",
- "type": "date",
- "required": 0,
- "varType": "date",
- "sourceType": "conversation",
- "name": "travel_date",
- "varCode": "travel_date"
- },
- {
- "varName": "预算",
- "label": "预算",
- "source": "conversation",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "conversation",
- "name": "budget",
- "varCode": "budget"
- },
- {
- "varName": "出行人数",
- "label": "出行人数",
- "source": "conversation",
- "type": "number",
- "required": 0,
- "varType": "number",
- "sourceType": "conversation",
- "name": "pax",
- "varCode": "pax"
- },
- {
- "varName": "测试旅行社",
- "label": "测试旅行社",
- "source": "manual",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "manual",
- "name": "company_short_name",
- "varCode": "company_short_name"
- },
- {
- "varName": "小美",
- "label": "小美",
- "source": "manual",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "manual",
- "name": "advisor_name",
- "varCode": "advisor_name"
- },
- {
- "varName": "云南精品线",
- "label": "云南精品线",
- "source": "manual",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "manual",
- "name": "main_product",
- "varCode": "main_product"
- },
- {
- "varName": "当前阶段",
- "label": "当前阶段",
- "source": "manual",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "manual",
- "name": "workflowStage",
- "varCode": "workflowStage"
- },
- {
- "varName": "客户意向",
- "label": "客户意向",
- "source": "conversation",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "conversation",
- "name": "customerIntent",
- "varCode": "customerIntent"
- },
- {
- "varName": "行业类型",
- "defaultValue": "travel",
- "label": "行业类型",
- "source": "manual",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "manual",
- "name": "industryType",
- "varCode": "industryType"
- },
- {
- "varName": "企微SOP模板ID",
- "defaultValue": "LOBSTER_TRAVEL_POST_BOOKING",
- "label": "企微SOP模板ID",
- "source": "manual",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "manual",
- "name": "sopTempId",
- "varCode": "sopTempId"
- },
- {
- "varName": "个微SOP模板ID",
- "defaultValue": "LOBSTER_TRAVEL_POST_BOOKING_WX",
- "label": "个微SOP模板ID",
- "source": "manual",
- "type": "string",
- "required": 0,
- "varType": "string",
- "sourceType": "manual",
- "name": "wxSopTempId",
- "varCode": "wxSopTempId"
- }
- ],
- "edges": [
- {
- "targetNodeCode": "INIT_STAGE",
- "sourceNodeCode": "START",
- "edgeLabel": "启动"
- },
- {
- "targetNodeCode": "LIVE_PUSH",
- "sourceNodeCode": "INIT_STAGE",
- "edgeLabel": "直播加微推直播间"
- },
- {
- "targetNodeCode": "ARTICLE_PUSH",
- "sourceNodeCode": "LIVE_PUSH",
- "edgeLabel": "推送攻略文章"
- },
- {
- "targetNodeCode": "TAG_AUTO",
- "sourceNodeCode": "ARTICLE_PUSH",
- "edgeLabel": "进入采集打标"
- },
- {
- "targetNodeCode": "JUDGE",
- "sourceNodeCode": "TAG_AUTO",
- "edgeLabel": "分支"
- },
- {
- "targetNodeCode": "ORDER_ACTION",
- "sourceNodeCode": "JUDGE",
- "edgeLabel": "签单"
- },
- {
- "targetNodeCode": "WAIT_PRE_TRIP",
- "sourceNodeCode": "JUDGE",
- "edgeLabel": "已订"
- },
- {
- "targetNodeCode": "WAIT_HOLIDAY",
- "sourceNodeCode": "JUDGE",
- "edgeLabel": "培育"
- },
- {
- "targetNodeCode": "SOP_ENROLL",
- "sourceNodeCode": "ORDER_ACTION",
- "edgeLabel": "SOP入营"
- },
- {
- "targetNodeCode": "WAIT_PRE_TRIP",
- "sourceNodeCode": "SOP_ENROLL",
- "edgeLabel": "进入出行前"
- },
- {
- "targetNodeCode": "PRE_TRIP_CARE",
- "sourceNodeCode": "WAIT_PRE_TRIP",
- "edgeLabel": "T-5触达"
- },
- {
- "targetNodeCode": "WEATHER_TIPS",
- "sourceNodeCode": "PRE_TRIP_CARE",
- "edgeLabel": "天气建议"
- },
- {
- "targetNodeCode": "IN_TRIP_CARE",
- "sourceNodeCode": "WEATHER_TIPS",
- "edgeLabel": "行中"
- },
- {
- "targetNodeCode": "SURVEY",
- "sourceNodeCode": "IN_TRIP_CARE",
- "edgeLabel": "满意度"
- },
- {
- "targetNodeCode": "WAIT_HOLIDAY",
- "sourceNodeCode": "SURVEY",
- "edgeLabel": "节日等待"
- },
- {
- "targetNodeCode": "HOLIDAY_PROMO",
- "sourceNodeCode": "WAIT_HOLIDAY",
- "edgeLabel": "节日营销"
- },
- {
- "targetNodeCode": "END",
- "sourceNodeCode": "HOLIDAY_PROMO",
- "edgeLabel": "结束"
- }
- ],
- "description": "旅游公司销冠全流程:直播加微→破冰→采集出行需求→线路推荐→促单签单→出行前关怀→旅途中关怀→回访调研→节日营销→循环推荐",
- "templateCode": "TRAVEL_TOP_SALES_001",
- "errorMsg": "已使用行业兜底模板: validation fast fallback",
- "brandContext": {
- "advisorName": "小美",
- "companyShortName": "测试旅行社",
- "advisorRole": "金牌旅行顾问",
- "mainProduct": "云南精品线"
- },
- "_fallbackSource": "travel_lifecycle_full",
- "nodes": [
- {
- "nodeName": "开始",
- "nextNodeCode": "INIT_STAGE",
- "nodeCode": "START",
- "maxRounds": 0,
- "nodeType": 1,
- "nodeConfig": "{\"autoAdvance\":true,\"channelHint\":\"QW\"}",
- "sortNo": 1,
- "conditionExpr": "",
- "messageTemplate": "您好${customerName},我是小美,测试旅行社旅行顾问。看到您从直播间过来,打算去哪里玩呢?"
- },
- {
- "nodeName": "初始化咨询阶段",
- "nextNodeCode": "LIVE_PUSH",
- "nodeCode": "INIT_STAGE",
- "maxRounds": 0,
- "nodeType": 16,
- "nodeConfig": "{\"assignments\":{\"workflowStage\":\"consult\"},\"stageGate\":true}",
- "sortNo": 2,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "直播加微推直播间",
- "nextNodeCode": "ARTICLE_PUSH",
- "nodeCode": "LIVE_PUSH",
- "maxRounds": 0,
- "nodeType": 54,
- "nodeConfig": "{\"delivery\":\"proactive\",\"channelHint\":\"QW\",\"actionOnly\":false,\"keyword\":\"云南精品线\",\"liveBaseUrl\":\"/live/watch\"}",
- "sortNo": 3,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "推送出行攻略文章",
- "nextNodeCode": "TAG_AUTO",
- "nodeCode": "ARTICLE_PUSH",
- "maxRounds": 0,
- "nodeType": 55,
- "nodeConfig": "{\"delivery\":\"proactive\",\"actionOnly\":false,\"keyword\":\"云南精品线\",\"articleBaseUrl\":\"/article/detail\"}",
- "sortNo": 4,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "自动打标",
- "nextNodeCode": "JUDGE",
- "nodeCode": "TAG_AUTO",
- "maxRounds": 0,
- "nodeType": 9,
- "nodeConfig": "{\"sideTask\":true,\"actionOnly\":true,\"action\":\"add_tag\",\"tags\":[\"travel_lead\",\"qw_live\"],\"triggerIntents\":[\"purchase\",\"high_intent\"]}",
- "sortNo": 5,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "签单动作",
- "nextNodeCode": "SOP_ENROLL",
- "nodeCode": "ORDER_ACTION",
- "maxRounds": 0,
- "nodeType": 7,
- "nodeConfig": "{\"sideTask\":true,\"actionOnly\":true,\"action\":\"create_order\",\"triggerIntents\":[\"purchase\",\"order\"]}",
- "sortNo": 6,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "签单后SOP入营",
- "nextNodeCode": "WAIT_PRE_TRIP",
- "nodeCode": "SOP_ENROLL",
- "maxRounds": 0,
- "nodeType": 50,
- "nodeConfig": "{\"sopTempId\":\"LOBSTER_TRAVEL_POST_BOOKING\",\"wxSopTempId\":\"LOBSTER_TRAVEL_POST_BOOKING_WX\",\"preferContactAccount\":true,\"actionOnly\":true}",
- "sortNo": 7,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "出行前5天等待",
- "nextNodeCode": "PRE_TRIP_CARE",
- "nodeCode": "WAIT_PRE_TRIP",
- "maxRounds": 0,
- "nodeType": 4,
- "nodeConfig": "{\"waitType\":\"date_offset\",\"offsetDays\":-5,\"dateField\":\"travel_date\",\"timeoutHours\":720}",
- "sortNo": 8,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "出行前提醒",
- "nextNodeCode": "WEATHER_TIPS",
- "nodeCode": "PRE_TRIP_CARE",
- "maxRounds": 0,
- "nodeType": 10,
- "nodeConfig": "{\"delivery\":\"proactive\",\"careType\":\"pre_trip\",\"awaitReply\":true}",
- "sortNo": 9,
- "conditionExpr": "",
- "messageTemplate": "您好,离您的云南精品线出行还有5天啦!请准备好身份证/护照、常用药品和舒适鞋服。需要我帮您核对行程清单吗?"
- },
- {
- "nodeName": "天气与玩要建议",
- "nextNodeCode": "IN_TRIP_CARE",
- "nodeCode": "WEATHER_TIPS",
- "maxRounds": 0,
- "nodeType": 14,
- "nodeConfig": "{\"apiKey\":\"weather_travel_tips\",\"sideTask\":false,\"smartApi\":true}",
- "sortNo": 10,
- "conditionExpr": "",
- "messageTemplate": "根据您目的地近期天气和同行人员情况,建议您注意防晒补水、老人小孩备常用药。具体玩游项目我会结合天气给您建议。"
- },
- {
- "nodeName": "行中关怀",
- "nextNodeCode": "SURVEY",
- "nodeCode": "IN_TRIP_CARE",
- "maxRounds": 0,
- "nodeType": 10,
- "nodeConfig": "{\"delivery\":\"proactive\",\"careType\":\"in_trip\",\"awaitReply\":true}",
- "sortNo": 11,
- "conditionExpr": "",
- "messageTemplate": "旅途还顺利吗?景点玩得怎么样?如有任何问题随时告诉我,小美一直在线。"
- },
- {
- "nodeName": "满意度调查",
- "nextNodeCode": "WAIT_HOLIDAY",
- "nodeCode": "SURVEY",
- "maxRounds": 0,
- "nodeType": 11,
- "nodeConfig": "{\"surveyType\":\"satisfaction\",\"awaitReply\":true}",
- "sortNo": 12,
- "conditionExpr": "",
- "messageTemplate": "感谢您选择测试旅行社!方便用1分钟做个满意度调查吗?您的反馈帮我们做得更好。"
- },
- {
- "nodeName": "节日营销等待",
- "nextNodeCode": "HOLIDAY_PROMO",
- "nodeCode": "WAIT_HOLIDAY",
- "maxRounds": 0,
- "nodeType": 32,
- "nodeConfig": "{\"delayDays\":30,\"cronHint\":\"holiday_minus_30d\"}",
- "sortNo": 13,
- "conditionExpr": "",
- "messageTemplate": ""
- },
- {
- "nodeName": "节日营销触达",
- "nextNodeCode": "END",
- "nodeCode": "HOLIDAY_PROMO",
- "maxRounds": 0,
- "nodeType": 13,
- "nodeConfig": "{\"repurchaseType\":\"holiday\",\"delivery\":\"proactive\"}",
- "sortNo": 14,
- "conditionExpr": "",
- "messageTemplate": "您好!临近节日,想了解下您近期有没有出行计划?云南精品线有新线路优惠,感兴趣我发您看看。"
- },
- {
- "nodeName": "意向分支",
- "nextNodeCode": "",
- "nodeCode": "JUDGE",
- "maxRounds": 0,
- "nodeType": 3,
- "nodeConfig": "{}",
- "sortNo": 15,
- "conditionExpr": "{\"branches\":[{\"nextNodeCode\":\"ORDER_ACTION\",\"condition\":{\"field\":\"customerIntent\",\"operator\":\"eq\",\"value\":\"purchase\"},\"desc\":\"\\u7b7e\\u5355\"},{\"nextNodeCode\":\"WAIT_PRE_TRIP\",\"condition\":{\"field\":\"customerIntent\",\"operator\":\"eq\",\"value\":\"booked\"},\"desc\":\"\\u5df2\\u8ba2\\u8fdb\\u5165\\u51fa\\u884c\\u524d\"},{\"nextNodeCode\":\"HOLIDAY_PROMO\",\"condition\":{\"field\":\"customerIntent\",\"operator\":\"eq\",\"value\":\"inquiry\"},\"desc\":\"\\u7ee7\\u7eed\\u57f9\\u80b2\"}],\"defaultNodeCode\":\"WAIT_HOLIDAY\"}",
- "messageTemplate": ""
- },
- {
- "nodeName": "结束",
- "nextNodeCode": "",
- "nodeCode": "END",
- "maxRounds": 0,
- "nodeType": 5,
- "nodeConfig": "{}",
- "sortNo": 16,
- "conditionExpr": "",
- "messageTemplate": ""
- }
- ],
- "industryType": "travel",
- "templateName": "旅游销冠全链路(A旅游公司)",
- "_generateParam": {
- "advisorName": "小美",
- "companyShortName": "测试旅行社",
- "industryType": "travel",
- "advisorRole": "金牌旅行顾问",
- "mainProduct": "云南精品线"
- },
- "status": 1
- },
- "usedFallback": true,
- "passed": true,
- "workflowId": 65,
- "message": "generate and confirm ok"
- },
- "phase2Learning": {
- "hotReplayRowsBefore": 72,
- "hotReplayRowsAfter": 74,
- "delta": 2,
- "passed": true,
- "status": "ok",
- "hint": "async write ok",
- "message": "learning replay ok",
- "verify": {
- "companyId": 338,
- "archiveTableExists": false,
- "hotIndexExists": true,
- "hotReplayRows": 74,
- "eventLogRows": 74,
- "archiveRows": 0,
- "archiveNote": "table missing or query failed",
- "status": "ok"
- }
- },
- "stress": {
- "multiTurn": {
- "dialogueStage": "stressMultiTurn",
- "turns": 6,
- "avgScore": 68.83333333333333,
- "minScore": 0.0,
- "passed": true,
- "message": "multiTurn ok"
- },
- "rateLimit": {
- "cooldownAt": 6,
- "passed": true,
- "message": "rate limit triggered",
- "instanceId": 510
- },
- "waitWake": {
- "passed": true,
- "message": "lifecycle wait wake ok",
- "statusAfter": "running",
- "resumeIndex": 8,
- "currentIndexAfter": 9,
- "instanceId": 511
- },
- "longMessage": {
- "passed": true,
- "message": "long message handled",
- "code": 200,
- "messageLength": 11000
- },
- "concurrentStart": {
- "passed": true,
- "successCount": 3,
- "instanceIds": [
- 513,
- 514,
- 515
- ],
- "message": "3 burst starts ok"
- },
- "emptyMessage": {
- "passed": true,
- "code": 200,
- "message": "empty message handled"
- },
- "completedReentry": {
- "statusBeforeReentry": "completed",
- "responseMsg": "工作流实例不在运行状态",
- "passed": true,
- "message": "completed reentry handled"
- },
- "instanceState": {
- "passed": true,
- "state": {
- "variables": {
- "_lobsterSimMinuteUnit": 10,
- "workflowStage": "consult",
- "channelType": "TEST",
- "_actionOutcomes": [
- ],
- "activeGoals": [
- ],
- "_recentOutbound": [
- ],
- "conversationMode": "active",
- "_conversationModel": "{\"stages\":[{\"code\":\"consult\",\"promptHint\":\"你是小美,测试旅行社旅行顾问。客户来自直播间,先破冰并了解是否已有出行计划。\",\"label\":\"直播加微破冰\",\"goals\":[]},{\"code\":\"collect\",\"promptHint\":\"逐步询问目的地、日期、人数、预算;一次只问一个关键问题。\",\"label\":\"需求采集打标\",\"goals\":[{\"field\":\"destination\",\"collected\":false,\"label\":\"目的地\",\"required\":true},{\"field\":\"travel_date\",\"collected\":false,\"label\":\"出行日期\",\"required\":true},{\"field\":\"budget\",\"collected\":false,\"label\":\"预算\",\"required\":true},{\"field\":\"pax\",\"collected\":false,\"label\":\"出行人数\",\"required\":true}]},{\"code\":\"offer\",\"promptHint\":\"基于采集信息推荐云南精品线,突出亮点与优惠,自然引导签单。\",\"label\":\"线路推荐促单\",\"goals\":[]},{\"code\":\"pre_trip\",\"promptHint\":\"出行前5天提醒证件、行李、当地天气与注意事项。\",\"label\":\"出行前关怀\",\"goals\":[]},{\"code\":\"in_trip\",\"promptHint\":\"行程中主动问候,询问是否遇到问题,给出景点玩要建议。\",\"label\":\"行中关怀\",\"goals\":[]},{\"code\":\"post_trip\",\"promptHint\":\"行程结束后收集满意度与改进建议。\",\"label\":\"满意度回访\",\"goals\":[]},{\"code\":\"repurchase\",\"promptHint\":\"大节日前30天关怀,了解是否有新的出行计划并推荐产品。\",\"label\":\"节日营销\",\"goals\":[]}],\"sideTasks\":[{\"triggerIntents\":[\"purchase\",\"high_intent\",\"booked\"],\"nodeCode\":\"TAG_AUTO\",\"action\":\"add_tag\",\"nodeType\":9},{\"triggerIntents\":[\"purchase\",\"order\",\"book\"],\"nodeCode\":\"ORDER_ACTION\",\"action\":\"create_order\",\"nodeType\":7}],\"defaultStage\":\"consult\",\"description\":\"旅游全链路:会话常驻,节点负责打标/签单/出行关怀/满意度/节日营销\",\"version\":2}",
- "validation": true
- },
- "instanceId": 518,
- "completedNodes": 0,
- "heartbeat": {
- "instanceId": 518,
- "registered": true,
- "lastHeartbeatTime": "Tue Jun 23 02:52:51 CST 2026",
- "lastHeartbeatTimestamp": 1782154371908,
- "elapsedMinutes": 0,
- "timeoutMinutes": 1440,
- "active": true,
- "status": "active",
- "message": "实例心跳正常"
- },
- "currentNodeName": "开始",
- "startTime": "2026-06-23 02:52:50",
- "currentNodeIndex": 0,
- "lastActivityTime": "2026-06-23 02:52:50",
- "status": "running",
- "totalNodes": 16
- },
- "message": "instance state ok"
- },
- "qualityDirect": {
- "rawScore": 116,
- "normalizedPercent": 72.5,
- "passThreshold": 144,
- "passScorePercent": 90,
- "floorRaw": 96,
- "productionTargetMet": false,
- "passed": true,
- "message": "score ok but below production target 144"
- }
- }
- },
- "dialogueScript": {
- "industryType": "travel",
- "industryLabel": "旅游销冠全链路",
- "stageKeys": [
- "postBookingPreTripMultiTurn",
- "capabilityTriggers",
- "consultMultiTurn",
- "postBookingLifecycle",
- "bookingFunnel",
- "stressMultiTurn",
- "holidayPromoMultiTurn",
- "preTripCareMultiTurn"
- ],
- "stageLineCounts": {
- "postBookingPreTripMultiTurn": 3,
- "capabilityTriggers": 6,
- "consultMultiTurn": 6,
- "postBookingLifecycle": 9,
- "bookingFunnel": 10,
- "stressMultiTurn": 6,
- "holidayPromoMultiTurn": 3,
- "preTripCareMultiTurn": 3
- }
- },
- "qualityGateConfig": {
- "enabled": true,
- "passScorePercent": 90,
- "targetScorePercent": 75,
- "minNodeScorePercent": 60,
- "minE2eAvgScorePercent": 75,
- "multiturnMinAvgScorePercent": 45
- },
- "failures": [
- "qualityGate: avg 63.6875 \u003c min 75.0; 2 node(s) below min 60.0; 2 node(s) below production target 75.0"
- ],
- "passed": false,
- "durationMs": 730662,
- "templateIdUsed": 64
- }
|