| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317 |
- {
- "companyId": 338,
- "includeStress": true,
- "dialogueIndustry": "travel",
- "startedAt": "2026-06-23 06:13:11",
- "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": 66,
- "templateCode": "LOB_1782155428994",
- "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_1782155428994_SOP_ENROLL_system\",\"preferContactAccount\":true,\"plannedRole\":\"MESSAGE\",\"instructionPromptKey\":\"node_LOB_1782155428994_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": 1782166800000,
- "expectedWaitAt": 1782166800000,
- "travelAt": "2026-06-23T07:13:25.541079200",
- "waitInRealMinutes": 6,
- "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": 544
- },
- "preTripSchedulerWake10m": {
- "scheduledWakeAt": 1782166413005,
- "schedulerWaitMs": 3500,
- "passed": true,
- "message": "scheduler 10m sim wake ok",
- "statusAfter": "running",
- "resumeIndex": 8,
- "currentIndexAfter": 9,
- "instanceId": 545
- },
- "holidayWaitSchedule10m": {
- "waitUntil": 1782184200000,
- "expectedWaitAt": 1782184200000,
- "waitInRealMinutes": 296,
- "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": 546
- },
- "holidaySchedulerWake10m": {
- "scheduledWakeAt": 1782166421644,
- "schedulerWaitMs": 3500,
- "passed": true,
- "message": "scheduler 10m sim wake ok",
- "statusAfter": "completed",
- "resumeIndex": 13,
- "currentIndexAfter": 13,
- "instanceId": 547
- },
- "passed": true,
- "message": "lifecycle 10m sim schedule/wake ok"
- },
- "lifecycleFullFlowSim": {
- "instanceId": 548,
- "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": 1782164400000,
- "overdue": true,
- "wouldSkipSchedule": true,
- "passed": true,
- "message": "overdue T-5 skips wait schedule"
- },
- "missingTravelDate": {
- "waitUntil": 1782167093465,
- "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": 64.2,
- "minScore": 0.0,
- "passed": true,
- "message": "node multiTurn ok",
- "instanceId": 556,
- "inputCount": 6
- },
- "postBookingMultiTurnFlow": {
- "instanceId": 557,
- "preTripMultiTurn": {
- "turns": 3,
- "avgScore": 85.0,
- "minScore": 78.0,
- "passed": true,
- "message": "node multiTurn ok"
- },
- "holidayMultiTurn": {
- "turns": 1,
- "avgScore": 79.0,
- "minScore": 79.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": "4394aacb375f43c78e4afd4c0a43a939",
- "status": "SUCCESS",
- "instanceId": 558,
- "totalScore": 71.81,
- "passedNodeCnt": 10,
- "totalNodeCnt": 10,
- "evolutionCount": 1,
- "nodeTraces": 10,
- "minNodeScore": 76.25,
- "maxNodeScore": 88.75,
- "nodesBelowTarget": 0,
- "nodesBelowMin": 0,
- "nodeScoreDetail": [
- {
- "nodeCode": "初始化咨询阶段",
- "score": 88.75,
- "passed": true
- },
- {
- "nodeCode": "直播加微推直播间",
- "score": 77.5,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 78.125,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.25,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 84.375,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.25,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 79.375,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 80.625,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.875,
- "passed": true
- }
- ],
- "passed": true,
- "message": "e2e ok"
- },
- "qualityGate": {
- "enabled": true,
- "targetScorePercent": 75.0,
- "minE2eAvgScorePercent": 75.0,
- "minNodeScorePercent": 60.0,
- "passScorePercent": 90,
- "rawTotalScore": 71.81,
- "scoredNodeAvg": 79.79166666666667,
- "totalScore": 79.79166666666667,
- "nodesBelowTarget": 0,
- "nodesBelowMin": 0,
- "minNodeScore": 76.25,
- "maxNodeScore": 88.75,
- "nodeScoreDetail": [
- {
- "nodeCode": "初始化咨询阶段",
- "score": 88.75,
- "passed": true
- },
- {
- "nodeCode": "直播加微推直播间",
- "score": 77.5,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 78.125,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.25,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 84.375,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.25,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 79.375,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 80.625,
- "passed": true
- },
- {
- "nodeCode": "推送出行攻略文章",
- "score": 76.875,
- "passed": true
- }
- ],
- "passed": true,
- "message": "quality gate ok"
- },
- "summary": {
- "instanceId": 558,
- "externalUserId": "999338001",
- "asyncDbSummary": true,
- "historyLines": 20,
- "syncSummaryLength": 62,
- "microSummaryLength": 210,
- "cachedSummaryOk": true,
- "dbSummaryRows": 1,
- "passed": true,
- "message": "summary persisted to DB"
- },
- "memoryPipeline": {
- "externalUserId": "999338001",
- "instanceId": 558,
- "summaryOk": true,
- "factCount": 20,
- "factKeys": [
- ],
- "passed": true,
- "message": "summary or customer_fact persisted"
- },
- "evolutionAnalyze": {
- "e2eEvolutionCount": 1,
- "evolutionLogsBefore": 36,
- "analyzeInvoked": true,
- "analyzeMessage": "analyzeAndSuggest ok",
- "evolutionLogsAfter": 36,
- "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": 141,
- "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_1782166913714",
- "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": 67,
- "message": "generate and confirm ok"
- },
- "phase2Learning": {
- "hotReplayRowsBefore": 76,
- "hotReplayRowsAfter": 78,
- "delta": 2,
- "passed": true,
- "status": "ok",
- "hint": "async write ok",
- "message": "learning replay ok",
- "verify": {
- "companyId": 338,
- "archiveTableExists": false,
- "hotIndexExists": true,
- "hotReplayRows": 78,
- "eventLogRows": 78,
- "archiveRows": 0,
- "archiveNote": "table missing or query failed",
- "status": "ok"
- }
- },
- "stress": {
- "multiTurn": {
- "dialogueStage": "stressMultiTurn",
- "turns": 6,
- "avgScore": 73.83333333333333,
- "minScore": 38.0,
- "passed": true,
- "message": "multiTurn ok"
- },
- "rateLimit": {
- "cooldownAt": 6,
- "passed": true,
- "message": "rate limit triggered",
- "instanceId": 560
- },
- "waitWake": {
- "passed": true,
- "message": "lifecycle wait wake ok",
- "statusAfter": "running",
- "resumeIndex": 8,
- "currentIndexAfter": 9,
- "instanceId": 561
- },
- "longMessage": {
- "passed": true,
- "message": "long message handled",
- "code": 200,
- "messageLength": 11000
- },
- "concurrentStart": {
- "passed": true,
- "successCount": 3,
- "instanceIds": [
- 563,
- 564,
- 565
- ],
- "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": 568,
- "completedNodes": 0,
- "heartbeat": {
- "instanceId": 568,
- "registered": true,
- "lastHeartbeatTime": "Tue Jun 23 06:23:48 CST 2026",
- "lastHeartbeatTimestamp": 1782167028019,
- "elapsedMinutes": 0,
- "timeoutMinutes": 1440,
- "active": true,
- "status": "active",
- "message": "实例心跳正常"
- },
- "currentNodeName": "开始",
- "startTime": "2026-06-23 06:23:45",
- "currentNodeIndex": 0,
- "lastActivityTime": "2026-06-23 06:23:45",
- "status": "running",
- "totalNodes": 16
- },
- "message": "instance state ok"
- },
- "qualityDirect": {
- "rawScore": 120,
- "normalizedPercent": 75.0,
- "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": [
- ],
- "passed": true,
- "durationMs": 640148,
- "templateIdUsed": 66
- }
|