Files
ZNJJ-api-server/workflow/事故信息采集20250419.json
2025-04-29 15:03:02 +08:00

5776 lines
159 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"nodes": [
{
"nodeId": "userGuide",
"name": "common:core.module.template.system_config",
"intro": "common:core.module.template.system_config_info",
"avatar": "core/workflow/template/systemConfig",
"flowNodeType": "userGuide",
"position": {
"x": -4227.761913436917,
"y": -810.6968520991372
},
"version": "481",
"inputs": [
{
"key": "welcomeText",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "core.app.Welcome Text",
"value": ""
},
{
"key": "variables",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "core.app.Chat Variable",
"value": []
},
{
"key": "questionGuide",
"valueType": "any",
"renderTypeList": [
"hidden"
],
"label": "core.app.Question Guide",
"value": {
"open": false
}
},
{
"key": "tts",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": {
"type": "web"
}
},
{
"key": "whisper",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": {
"open": false,
"autoSend": false,
"autoTTSResponse": false
}
},
{
"key": "scheduleTrigger",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": null
}
],
"outputs": []
},
{
"nodeId": "448745",
"name": "common:core.module.template.work_start",
"intro": "",
"avatar": "core/workflow/template/workflowStart",
"flowNodeType": "workflowStart",
"position": {
"x": -3716.2397673738346,
"y": -722.3747623057059
},
"version": "481",
"inputs": [
{
"key": "userChatInput",
"renderTypeList": [
"reference",
"textarea"
],
"valueType": "string",
"label": "common:core.module.input.label.user question",
"required": true,
"toolDescription": "User Question",
"debugLabel": ""
}
],
"outputs": [
{
"id": "userChatInput",
"key": "userChatInput",
"label": "common:core.module.input.label.user question",
"type": "static",
"valueType": "string",
"description": ""
}
]
},
{
"nodeId": "xBsEsifWxOhc",
"name": "事故情况提取",
"intro": "Can extract specified data from text, such as SQL statements, search keywords, code, etc.",
"avatar": "core/workflow/template/extractJson",
"flowNodeType": "contentExtract",
"showStatus": true,
"position": {
"x": 565.7093213497524,
"y": -1677.4435144035858
},
"version": "481",
"inputs": [
{
"key": "model",
"renderTypeList": [
"selectLLMModel",
"reference"
],
"label": "AI Model",
"required": true,
"valueType": "string",
"llmModelType": "extractFields",
"value": "Qwen2.5-14B-Instruct-GPTQ-Int4",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"selectedTypeIndex": 0
},
{
"key": "description",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "string",
"label": "Extraction Requirements Description",
"description": "workflow:extraction_requirements_description_detail",
"placeholder": "workflow:extraction_requirements_placeholder",
"value": "你是一个交通事故信息采集专员,正在根据交警和用户的历史对话信息采集交通事故相关信息。\n只有当存在自行车电动自行车被撞倒的时候显示有非机动车被撞倒\n只有当用户确认有摩托车而不是汽车被撞倒的时候显示有摩托车被撞倒\n交通事故发生的原因种类包括追尾、变道、未让行、违反信号、逆行、倒车、溜车、撞停、超速、其他",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "history",
"renderTypeList": [
"numberInput",
"reference"
],
"valueType": "chatHistory",
"label": "Chat History",
"description": "workflow:max_dialog_rounds",
"required": true,
"min": 0,
"max": 50,
"value": 6,
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "content",
"renderTypeList": [
"reference",
"textarea"
],
"label": "Text to Extract",
"required": true,
"valueType": "string",
"toolDescription": "Content to Retrieve",
"value": [
"448745",
"userChatInput"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"selectedTypeIndex": 0
},
{
"key": "extractKeys",
"renderTypeList": [
"custom"
],
"label": "",
"valueType": "any",
"description": "workflow:target_fields_description",
"value": [
{
"valueType": "boolean",
"required": true,
"defaultValue": "",
"desc": "有无人员伤亡",
"key": "ywrysw",
"enum": ""
},
{
"valueType": "boolean",
"required": true,
"defaultValue": "",
"desc": "有无非机动车被撞到",
"key": "ywfjdc",
"enum": ""
},
{
"valueType": "boolean",
"required": true,
"defaultValue": "",
"desc": "有无摩托车被撞倒",
"key": "ywmtc",
"enum": ""
},
{
"valueType": "boolean",
"required": false,
"defaultValue": "",
"desc": "报警人是否为事故车辆驾驶人",
"key": "bjrjs",
"enum": ""
},
{
"valueType": "string",
"required": false,
"defaultValue": "",
"desc": "事故发生标准化时间",
"key": "sgfssj",
"enum": ""
},
{
"valueType": "boolean",
"required": false,
"defaultValue": "",
"desc": "报警人是否在事故现场",
"key": "sfsgxc",
"enum": ""
},
{
"valueType": "number",
"required": false,
"defaultValue": "",
"desc": "事故机动车数量",
"key": "jdcsl",
"enum": ""
},
{
"valueType": "string",
"required": false,
"defaultValue": "",
"desc": "交通事故发生的原因",
"key": "sgyy",
"enum": ""
},
{
"valueType": "boolean",
"required": true,
"defaultValue": "",
"desc": "用户是否明确提出要转接人工",
"key": "transfer_to_human",
"enum": ""
}
],
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "success",
"key": "success",
"label": "workflow:full_field_extraction",
"required": true,
"description": "Returns true when all fields are fully extracted (success includes model extraction or using default values)",
"valueType": "boolean",
"type": "static"
},
{
"id": "fields",
"key": "fields",
"label": "workflow:complete_extraction_result",
"required": true,
"description": "A JSON string, e.g., {\"name\":\"YY\",\"Time\":\"2023/7/2 18:00\"}",
"valueType": "string",
"type": "static"
},
{
"id": "rLkKr49Ad3lb",
"key": "ywrysw",
"label": "Extraction Results-ywrysw",
"valueType": "boolean",
"type": "static"
},
{
"id": "rhXgOJdLYIfn",
"key": "ywfjdc",
"label": "Extraction Results-ywfjdc",
"valueType": "boolean",
"type": "static"
},
{
"id": "uFbYsvzL4tn2",
"key": "ywmtc",
"label": "Extraction Results-ywmtc",
"valueType": "boolean",
"type": "static"
},
{
"id": "jHXjhSofOa3U",
"key": "bjrjs",
"label": "Extraction Results-bjrjs",
"valueType": "boolean",
"type": "static"
},
{
"id": "wPaeLr2Uik5l",
"key": "sgfssj",
"label": "提取结果-sgfssj",
"valueType": "string",
"type": "static"
},
{
"id": "mnKgvSNAJ9Qu",
"key": "sfsgxc",
"label": "Extraction Results-sfsgxc",
"valueType": "boolean",
"type": "static"
},
{
"id": "kyE36lVgbiU7",
"key": "jdcsl",
"label": "提取结果-jdcsl",
"valueType": "number",
"type": "static"
},
{
"id": "pLwu17uw7Qcq",
"key": "sgyy",
"label": "Extraction Results-sgyy",
"valueType": "string",
"type": "static"
},
{
"id": "skrUfLaRdD61",
"key": "transfer_to_human",
"label": "Extraction Results-transfer_to_human",
"valueType": "boolean",
"type": "static"
}
]
},
{
"nodeId": "pvArMm3FFJeb",
"name": "Condition",
"intro": "Execute different branches based on conditions.",
"avatar": "core/workflow/template/ifelse",
"flowNodeType": "ifElseNode",
"showStatus": true,
"position": {
"x": 3458.2710908393055,
"y": -1221.7431037009235
},
"version": "481",
"inputs": [
{
"key": "ifElseList",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": [
{
"condition": "AND",
"list": [
{
"variable": [
"oZO5DXI7cgIN",
"qLUQfhG0ILRX"
],
"condition": "equalTo",
"value": "someone_is_hurt"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"oZO5DXI7cgIN",
"qLUQfhG0ILRX"
],
"condition": "equalTo",
"value": "transfer_to_human"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"oZO5DXI7cgIN",
"qLUQfhG0ILRX"
],
"condition": "equalTo",
"value": "multi_parties"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"oZO5DXI7cgIN",
"qLUQfhG0ILRX"
],
"condition": "equalTo",
"value": "accident_info_complete"
}
]
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "ifElseResult",
"key": "ifElseResult",
"label": "workflow:judgment_result",
"valueType": "string",
"type": "static",
"description": ""
}
]
},
{
"nodeId": "uX2IzK9fx9zo",
"name": "Assigned Reply",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5658.676728128356,
"y": -1325.80066738384
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "由于事故有人受伤,正在转接人工处理\n\n\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "fvvP1xj1OJkZ",
"name": "Assigned Reply#2",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5642.058222537283,
"y": -902.136825814838
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "正在转接人工处理,请稍候\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "gu5ZFJKsE4GJ",
"name": "询问事故现场情况",
"intro": "AI Large Model Chat",
"avatar": "core/workflow/template/aiChat",
"flowNodeType": "chatNode",
"showStatus": true,
"position": {
"x": 5670.333988725728,
"y": -2636.2244294325665
},
"version": "490",
"inputs": [
{
"key": "model",
"renderTypeList": [
"settingLLMModel",
"reference"
],
"label": "AI Model",
"valueType": "string",
"value": "Qwen2.5-14B-Instruct-GPTQ-Int4",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "temperature",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "number",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "maxToken",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "number",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "isResponseAnswerText",
"renderTypeList": [
"hidden"
],
"label": "",
"value": true,
"valueType": "boolean",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatQuoteRole",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"value": "system",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "quoteTemplate",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "quotePrompt",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatVision",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "boolean",
"value": true,
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatReasoning",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "boolean",
"value": true,
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatTopP",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "number",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatStopSign",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatResponseFormat",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatJsonSchema",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "systemPrompt",
"renderTypeList": [
"textarea",
"reference"
],
"max": 3000,
"valueType": "string",
"label": "Prompt",
"description": "core.app.tip.systemPromptTip",
"placeholder": "core.app.tip.chatNodeSystemPromptTip",
"value": "# 角色\n你是一个在电话收集交通事故信息的交警机器人\n\n# 语言风格\n简洁、适合语音实时交互没有特殊符号一次询问一个问题。拒绝跳过问题拒绝回答任务以外的问题。\n\n# 任务\n当前时间是{{$VARIABLE_NODE_ID.cTime$}}。你需要通过电话询问依次向用户搜集:\n\n有无人员伤亡、有无非机动车或者摩托车被撞到\n报警人是否是事故车辆驾驶人\n事故发生的时间\n通过复述标准化的时间向用户确认事故时间\n用户是否在事故现场\n事故机动车数量\n交通事故原因\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "history",
"renderTypeList": [
"numberInput",
"reference"
],
"valueType": "chatHistory",
"label": "Chat History",
"description": "workflow:max_dialog_rounds",
"required": true,
"min": 0,
"max": 50,
"value": 8,
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "quoteQA",
"renderTypeList": [
"settingDatasetQuotePrompt"
],
"label": "",
"debugLabel": "Dataset Reference",
"description": "",
"valueType": "datasetQuote",
"valueDesc": "",
"toolDescription": ""
},
{
"key": "fileUrlList",
"renderTypeList": [
"reference",
"input"
],
"label": "Files",
"debugLabel": "Files",
"valueType": "arrayString",
"value": [
[
"448745",
"userFiles"
]
],
"valueDesc": "",
"description": "app:workflow.user_file_input_desc",
"toolDescription": ""
},
{
"key": "userChatInput",
"renderTypeList": [
"reference",
"textarea"
],
"valueType": "string",
"label": "User Question",
"toolDescription": "User Question",
"required": true,
"value": [
"448745",
"userChatInput"
],
"valueDesc": "",
"description": "",
"debugLabel": ""
}
],
"outputs": [
{
"id": "history",
"key": "history",
"required": true,
"label": "common:core.module.output.label.New context",
"description": "Splice the current reply content with the history records and return it as the new context",
"valueType": "chatHistory",
"valueDesc": "{\n obj: System | Human | AI;\n value: string;\n}[]",
"type": "static"
},
{
"id": "answerText",
"key": "answerText",
"required": true,
"label": "common:core.module.output.label.Ai response content",
"description": "Will be triggered after the stream reply is completed",
"valueType": "string",
"type": "static"
},
{
"id": "reasoningText",
"key": "reasoningText",
"required": false,
"label": "workflow:reasoning_text",
"valueType": "string",
"type": "static",
"invalid": true,
"description": ""
}
]
},
{
"nodeId": "gArhI4puX6gn",
"name": "Assigned Reply#4",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5658.676728128356,
"y": -438.69126786236313
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "由于涉及多方事故,正在转接人工处理,请稍候\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "ry5G22Qk6Tox",
"name": "Assigned Reply#4",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 407.31699110784086,
"y": -3944.890682031594
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "您好,这里是无锡交警,我将为您远程处理交通事故。请将人员撤离至路侧安全区域,开启危险报警双闪灯、放置三角警告牌、做好安全防护,谨防二次事故伤害。若您已经准备好了,请点击继续办理,如需人工服务,请说转人工。",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "hFlE9YB8LdGB",
"name": "Condition#6",
"intro": "Execute different branches based on conditions.",
"avatar": "core/workflow/template/ifelse",
"flowNodeType": "ifElseNode",
"showStatus": true,
"position": {
"x": -2871.6839234896324,
"y": -1246.6968520991372
},
"version": "481",
"inputs": [
{
"key": "ifElseList",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": [
{
"condition": "AND",
"list": [
{
"variable": [
"n4C51phGZY1A",
"gR0mkQpJ4Og8"
],
"condition": "equalTo",
"value": "true"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"n4C51phGZY1A",
"iz9Ecx54TvGS"
],
"condition": "equalTo",
"value": "false"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"condition": "equalTo",
"value": "1002"
},
{
"variable": [
"n4C51phGZY1A",
"hk9zZjblTaS1"
],
"condition": "equalTo",
"value": "false"
},
{
"variable": [
"n4C51phGZY1A",
"d3mC4o1ejnFE"
],
"condition": "equalTo",
"value": "false"
},
{
"variable": [
"n4C51phGZY1A",
"ya6I5sWXJsNJ"
],
"condition": "equalTo",
"value": "false"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"condition": "startWith",
"value": "200"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"condition": "startWith",
"value": "201"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"condition": "equalTo",
"value": "1002"
},
{
"variable": [
"n4C51phGZY1A",
"dXRhdlsfO22o"
],
"condition": "equalTo",
"value": "1"
},
{
"variable": [
"n4C51phGZY1A",
"hUCLyoM573CS"
],
"condition": "equalTo",
"value": "false"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"n4C51phGZY1A",
"dXRhdlsfO22o"
],
"condition": "equalTo",
"value": "2"
},
{
"variable": [
"n4C51phGZY1A",
"hk9zZjblTaS1"
],
"condition": "equalTo",
"value": "true"
},
{
"variable": [
"n4C51phGZY1A",
"yeQFXpxUR0pq"
],
"condition": "equalTo",
"value": "false"
}
]
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "ifElseResult",
"key": "ifElseResult",
"label": "workflow:judgment_result",
"valueType": "string",
"type": "static",
"description": ""
}
]
},
{
"nodeId": "jmmJzldTiMkP",
"name": "Variable Update#7",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 1717.2923866395925,
"y": -4059.7525633656487
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"yrmf3AuoOjnI",
"gR0mkQpJ4Og8"
],
"valueType": "object",
"renderType": "reference"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "gECEtWA1FJ7B",
"name": "是否准备好提取#2",
"intro": "Can extract specified data from text, such as SQL statements, search keywords, code, etc.",
"avatar": "core/workflow/template/extractJson",
"flowNodeType": "contentExtract",
"showStatus": true,
"position": {
"x": 369.30271837612247,
"y": -3608.1334735184296
},
"version": "481",
"inputs": [
{
"key": "model",
"renderTypeList": [
"selectLLMModel",
"reference"
],
"label": "AI Model",
"required": true,
"valueType": "string",
"llmModelType": "extractFields",
"value": "Qwen2.5-14B-Instruct-GPTQ-Int4",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"selectedTypeIndex": 0
},
{
"key": "description",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "string",
"label": "Extraction Requirements Description",
"description": "workflow:extraction_requirements_description_detail",
"placeholder": "workflow:extraction_requirements_placeholder",
"value": "你是一个交通事故信息采集专员,正在根据交警和用户的历史对话信息判断用户是否准备好采集交通事故相关信息。",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "history",
"renderTypeList": [
"numberInput",
"reference"
],
"valueType": "chatHistory",
"label": "Chat History",
"description": "workflow:max_dialog_rounds",
"required": true,
"min": 0,
"max": 50,
"value": 6,
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "content",
"renderTypeList": [
"reference",
"textarea"
],
"label": "Text to Extract",
"required": true,
"valueType": "string",
"toolDescription": "Content to Retrieve",
"value": [
"448745",
"userChatInput"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"selectedTypeIndex": 0
},
{
"key": "extractKeys",
"renderTypeList": [
"custom"
],
"label": "",
"valueType": "any",
"description": "workflow:target_fields_description",
"valueDesc": "",
"debugLabel": "",
"toolDescription": "",
"value": [
{
"valueType": "boolean",
"required": true,
"defaultValue": "",
"desc": "有无人员伤亡",
"key": "ywrysw",
"enum": ""
},
{
"valueType": "boolean",
"required": true,
"defaultValue": "",
"desc": "有无非机动车被撞到",
"key": "ywfjdc",
"enum": ""
},
{
"valueType": "boolean",
"required": true,
"defaultValue": "",
"desc": "有无摩托车被撞倒",
"key": "ywmtc",
"enum": ""
},
{
"valueType": "boolean",
"required": true,
"defaultValue": "",
"desc": "用户是否明确提出要转接人工",
"key": "transfer_to_human",
"enum": ""
},
{
"valueType": "boolean",
"required": true,
"defaultValue": "false",
"desc": "用户准备好了",
"key": "user_is_ready",
"enum": ""
}
]
}
],
"outputs": [
{
"id": "success",
"key": "success",
"label": "workflow:full_field_extraction",
"required": true,
"description": "Returns true when all fields are fully extracted (success includes model extraction or using default values)",
"valueType": "boolean",
"type": "static"
},
{
"id": "fields",
"key": "fields",
"label": "workflow:complete_extraction_result",
"required": true,
"description": "A JSON string, e.g., {\"name\":\"YY\",\"Time\":\"2023/7/2 18:00\"}",
"valueType": "string",
"type": "static"
},
{
"id": "rLkKr49Ad3lb",
"key": "ywrysw",
"label": "Extraction Results-ywrysw",
"valueType": "boolean",
"type": "static"
},
{
"id": "rhXgOJdLYIfn",
"key": "ywfjdc",
"label": "Extraction Results-ywfjdc",
"valueType": "boolean",
"type": "static"
},
{
"id": "uFbYsvzL4tn2",
"key": "ywmtc",
"label": "Extraction Results-ywmtc",
"valueType": "boolean",
"type": "static"
},
{
"id": "skrUfLaRdD61",
"key": "transfer_to_human",
"label": "Extraction Results-transfer_to_human",
"valueType": "boolean",
"type": "static"
},
{
"id": "eXEjNMCMhjEE",
"key": "user_is_ready",
"label": "Extraction Results-user_is_ready",
"valueType": "boolean",
"type": "static"
}
]
},
{
"nodeId": "y8MkLLzUfT1i",
"name": "询问是否准备好",
"intro": "AI Large Model Chat",
"avatar": "core/workflow/template/aiChat",
"flowNodeType": "chatNode",
"showStatus": true,
"position": {
"x": 3889.8416086544803,
"y": -2931.886324393669
},
"version": "490",
"inputs": [
{
"key": "model",
"renderTypeList": [
"settingLLMModel",
"reference"
],
"label": "AI Model",
"valueType": "string",
"value": "Qwen2.5-14B-Instruct-GPTQ-Int4",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "temperature",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "number",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "maxToken",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "number",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "isResponseAnswerText",
"renderTypeList": [
"hidden"
],
"label": "",
"value": true,
"valueType": "boolean",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatQuoteRole",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"value": "system",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "quoteTemplate",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "quotePrompt",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatVision",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "boolean",
"value": true,
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatReasoning",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "boolean",
"value": true,
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatTopP",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "number",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatStopSign",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatResponseFormat",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "aiChatJsonSchema",
"renderTypeList": [
"hidden"
],
"label": "",
"valueType": "string",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "systemPrompt",
"renderTypeList": [
"textarea",
"reference"
],
"max": 3000,
"valueType": "string",
"label": "Prompt",
"description": "core.app.tip.systemPromptTip",
"placeholder": "core.app.tip.chatNodeSystemPromptTip",
"value": "你是一个在电话收集交通事故信息的交警机器人。语言风格简洁、适合语音实时交互,没有特殊符号,拒绝跳过问题,拒绝回答任务以外的问题。\n你唯一的任务是询问用户是否准备好继续办理\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "history",
"renderTypeList": [
"numberInput",
"reference"
],
"valueType": "chatHistory",
"label": "Chat History",
"description": "workflow:max_dialog_rounds",
"required": true,
"min": 0,
"max": 50,
"value": 2,
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "quoteQA",
"renderTypeList": [
"settingDatasetQuotePrompt"
],
"label": "",
"debugLabel": "Dataset Reference",
"description": "",
"valueType": "datasetQuote",
"valueDesc": "",
"toolDescription": ""
},
{
"key": "fileUrlList",
"renderTypeList": [
"reference",
"input"
],
"label": "Files",
"debugLabel": "Files",
"valueType": "arrayString",
"value": [
[
"448745",
"userFiles"
]
],
"valueDesc": "",
"description": "app:workflow.user_file_input_desc",
"toolDescription": ""
},
{
"key": "userChatInput",
"renderTypeList": [
"reference",
"textarea"
],
"valueType": "string",
"label": "User Question",
"toolDescription": "User Question",
"required": true,
"value": [
"448745",
"userChatInput"
],
"valueDesc": "",
"description": "",
"debugLabel": ""
}
],
"outputs": [
{
"id": "history",
"key": "history",
"required": true,
"label": "common:core.module.output.label.New context",
"description": "Splice the current reply content with the history records and return it as the new context",
"valueType": "chatHistory",
"valueDesc": "{\n obj: System | Human | AI;\n value: string;\n}[]",
"type": "static"
},
{
"id": "answerText",
"key": "answerText",
"required": true,
"label": "common:core.module.output.label.Ai response content",
"description": "Will be triggered after the stream reply is completed",
"valueType": "string",
"type": "static"
},
{
"id": "reasoningText",
"key": "reasoningText",
"required": false,
"label": "workflow:reasoning_text",
"valueType": "string",
"type": "static",
"invalid": true,
"description": ""
}
]
},
{
"nodeId": "smMmut5jHUcz",
"name": "Variable Update#8",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 1969.6865999181177,
"y": -3221.7540004797597
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"c8GsYOxxPKd9",
"gR0mkQpJ4Og8"
],
"valueType": "object",
"renderType": "reference"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "vLh9Kas6PyH1",
"name": "Condition#6",
"intro": "Execute different branches based on conditions.",
"avatar": "core/workflow/template/ifelse",
"flowNodeType": "ifElseNode",
"showStatus": true,
"position": {
"x": 2553.126402633063,
"y": -3456.5012759619995
},
"version": "481",
"inputs": [
{
"key": "ifElseList",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": [
{
"condition": "OR",
"list": [
{
"variable": [
"gECEtWA1FJ7B",
"rLkKr49Ad3lb"
],
"condition": "equalTo",
"value": "true"
},
{
"variable": [
"gECEtWA1FJ7B",
"rhXgOJdLYIfn"
],
"condition": "equalTo",
"value": "true"
},
{
"variable": [
"gECEtWA1FJ7B",
"uFbYsvzL4tn2"
],
"condition": "equalTo",
"value": "true"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"gECEtWA1FJ7B",
"skrUfLaRdD61"
],
"condition": "equalTo",
"value": "true"
}
]
},
{
"condition": "AND",
"list": [
{
"variable": [
"gECEtWA1FJ7B",
"eXEjNMCMhjEE"
],
"condition": "equalTo",
"value": "false"
}
]
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "ifElseResult",
"key": "ifElseResult",
"label": "workflow:judgment_result",
"valueType": "string",
"type": "static",
"description": ""
}
]
},
{
"nodeId": "oXj6YnbVHTjW",
"name": "Assigned Reply#5",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 3867.9048389878517,
"y": -3647.4479631623353
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "由于事故有人受伤,正在转接人工处理\n\n\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "kYq7r2seIZHF",
"name": "Assigned Reply#6",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 3867.9048389878512,
"y": -3276.8302611074855
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "正在转接人工处理,请稍候\n\n\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "n4C51phGZY1A",
"name": "Code Sandbox#4",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": -3364.3143043866053,
"y": -967.1199533612536
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({data1}){\n return {\n is_first_message: data1.is_first_message,\n user_is_ready: data1.user_is_ready,\n accident_info_complete: data1.accident_info_complete,\n jdcsl: data1.jdcsl,\n driver_info_complete: data1.driver_info_complete,\n drivers_info_complete: data1.drivers_info_complete,\n driver_info_check: data1.driver_info_check,\n drivers_info_check: data1.drivers_info_check,\n }\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "data1",
"label": "data1",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "gR0mkQpJ4Og8",
"type": "dynamic",
"key": "is_first_message",
"valueType": "boolean",
"label": "is_first_message",
"valueDesc": "",
"description": ""
},
{
"id": "iz9Ecx54TvGS",
"valueType": "boolean",
"type": "dynamic",
"key": "user_is_ready",
"label": "user_is_ready"
},
{
"id": "hk9zZjblTaS1",
"valueType": "boolean",
"type": "dynamic",
"key": "accident_info_complete",
"label": "accident_info_complete"
},
{
"id": "dXRhdlsfO22o",
"valueType": "number",
"type": "dynamic",
"key": "jdcsl",
"label": "jdcsl"
},
{
"id": "d3mC4o1ejnFE",
"valueType": "boolean",
"type": "dynamic",
"key": "driver_info_complete",
"label": "driver_info_complete"
},
{
"id": "ya6I5sWXJsNJ",
"valueType": "boolean",
"type": "dynamic",
"key": "drivers_info_complete",
"label": "drivers_info_complete"
},
{
"id": "hUCLyoM573CS",
"valueType": "boolean",
"type": "dynamic",
"key": "driver_info_check",
"label": "driver_info_check"
},
{
"id": "yeQFXpxUR0pq",
"valueType": "boolean",
"type": "dynamic",
"key": "drivers_info_check",
"label": "drivers_info_check"
},
{
"id": "zGUstg1H8F4F",
"valueType": "number",
"type": "dynamic",
"key": "user_no_response",
"label": "user_no_response"
}
]
},
{
"nodeId": "yrmf3AuoOjnI",
"name": "Code Sandbox#5",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": 1156.6568917166119,
"y": -4321.252563365649
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({state}){\n state.is_first_message=false;\n return {\n state: state\n }\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "state",
"label": "state",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "gR0mkQpJ4Og8",
"type": "dynamic",
"key": "state",
"valueType": "object",
"label": "state",
"valueDesc": "",
"description": ""
}
]
},
{
"nodeId": "c8GsYOxxPKd9",
"name": "Code Sandbox#6",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": 1327.2745985105391,
"y": -3390.901464036014
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({state, ywrysw, ywfjdc, ywmtc, transfer_to_human, user_is_ready}){\n state.ywrysw=ywrysw;\n state.ywfjdc=ywfjdc;\n state.ywmtc=ywmtc;\n state.transfer_to_human=transfer_to_human;\n state.user_is_ready=user_is_ready;\n return {\n state: state\n }\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "state",
"label": "state",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "ywrysw",
"label": "ywrysw",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"gECEtWA1FJ7B",
"rLkKr49Ad3lb"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "ywfjdc",
"label": "ywfjdc",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"gECEtWA1FJ7B",
"rhXgOJdLYIfn"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "ywmtc",
"label": "ywmtc",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"gECEtWA1FJ7B",
"uFbYsvzL4tn2"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "transfer_to_human",
"label": "transfer_to_human",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"gECEtWA1FJ7B",
"skrUfLaRdD61"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "user_is_ready",
"label": "user_is_ready",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"gECEtWA1FJ7B",
"eXEjNMCMhjEE"
]
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "gR0mkQpJ4Og8",
"type": "dynamic",
"key": "state",
"valueType": "object",
"label": "state",
"valueDesc": "",
"description": ""
}
]
},
{
"nodeId": "q5ycm7LqWXWE",
"name": "Variable Update#7",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 4769.758596668034,
"y": -3672.9479631623353
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"0001"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "g4kfmyuPAXtQ",
"name": "Variable Update#8",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 4769.758596668034,
"y": -3302.3302611074855
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"0001"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "waJFRBjvQEv9",
"name": "Variable Update#9",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 7170.164738678791,
"y": -2246.8952443529906
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"1002"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "ysRPAq7tp8Hg",
"name": "Code Sandbox#7",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": 1478.105324852098,
"y": -1612.244918977058
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({\n state, ywrysw, ywfjdc, ywmtc, transfer_to_human,\n bjrjs,sgfssj,sfsgxc,jdcsl,sgyy\n}){\n state.ywrysw=ywrysw;\n state.ywfjdc=ywfjdc;\n state.ywmtc=ywmtc;\n state.transfer_to_human=transfer_to_human;\n if (bjrjs !== null && bjrjs !== undefined) {\n state.bjrjs = bjrjs;\n }\n if (sgfssj !== null && sgfssj !== undefined) {\n state.sgfssj = sgfssj;\n }\n if (sfsgxc !== null && sfsgxc !== undefined) {\n state.sfsgxc = sfsgxc;\n }\n if (jdcsl != null && jdcsl !== undefined) {\n state.jdcsl = jdcsl;\n }\n if (sgyy != null && sgyy !== undefined) {\n state.sgyy = sgyy;\n }\n return {\n state: state\n }\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "state",
"label": "state",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "ywrysw",
"label": "ywrysw",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"rLkKr49Ad3lb"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "ywfjdc",
"label": "ywfjdc",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"rhXgOJdLYIfn"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "ywmtc",
"label": "ywmtc",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"uFbYsvzL4tn2"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "transfer_to_human",
"label": "transfer_to_human",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"skrUfLaRdD61"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "bjrjs",
"label": "bjrjs",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"jHXjhSofOa3U"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "string",
"canEdit": true,
"key": "sgfssj",
"label": "sgfssj",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"wPaeLr2Uik5l"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "boolean",
"canEdit": true,
"key": "sfsgxc",
"label": "sfsgxc",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"mnKgvSNAJ9Qu"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "number",
"canEdit": true,
"key": "jdcsl",
"label": "jdcsl",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"kyE36lVgbiU7"
]
},
{
"renderTypeList": [
"reference"
],
"valueType": "string",
"canEdit": true,
"key": "sgyy",
"label": "sgyy",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"xBsEsifWxOhc",
"pLwu17uw7Qcq"
]
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "gR0mkQpJ4Og8",
"type": "dynamic",
"key": "state",
"valueType": "object",
"label": "state",
"valueDesc": "",
"description": ""
}
]
},
{
"nodeId": "fwaYvHFYGDAj",
"name": "Variable Update#10",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 2111.28608282742,
"y": -1039.7222961189864
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"ysRPAq7tp8Hg",
"gR0mkQpJ4Og8"
],
"valueType": "object",
"renderType": "reference"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "bFtnxuUrDbuI",
"name": "Variable Update#10",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 7129.228004579305,
"y": -1367.9581472726181
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"0001"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "bbQgpM0MUMtc",
"name": "Variable Update#11",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 7146.632104901555,
"y": -955.136825814838
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"0001"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "wEy3YTCK40uG",
"name": "Variable Update#12",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 7146.632104901555,
"y": -482.40103458375495
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"0001"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "hSzvdCjjB71d",
"name": "Code Sandbox#8",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": 5229.676728128356,
"y": -70.34951539554692
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({state}){\n state.accident_info_complete=true;\n return {\n state: state\n }\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "state",
"label": "state",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "gR0mkQpJ4Og8",
"type": "dynamic",
"key": "state",
"valueType": "object",
"label": "state",
"valueDesc": "",
"description": ""
}
]
},
{
"nodeId": "jHeeLikXfH1z",
"name": "Variable Update#12",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 5971.055897129906,
"y": 191.15048460445308
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"hSzvdCjjB71d",
"gR0mkQpJ4Og8"
],
"valueType": "object",
"renderType": "reference"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "ckg0TgZFKv2F",
"name": "Assigned Reply#7",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 8860.269826828857,
"y": 187.65048460445308
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "下面开始拍照流程。请对准车辆前方看清车牌,拍摄车前方照片。",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "yvvFH7iyMHCO",
"name": "Variable Update#13",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 10045.792098100948,
"y": 161.15048460445308
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"2000"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "tyezGSJtysAP",
"name": "Condition#7",
"intro": "Execute different branches based on conditions.",
"avatar": "core/workflow/template/ifelse",
"flowNodeType": "ifElseNode",
"showStatus": true,
"position": {
"x": 7537.589072841614,
"y": 139.15048460445308
},
"version": "481",
"inputs": [
{
"key": "ifElseList",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": [
{
"condition": "AND",
"list": [
{
"variable": [
"i9dNcDDqlC3g",
"gR0mkQpJ4Og8"
],
"condition": "equalTo",
"value": "single"
}
]
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "ifElseResult",
"key": "ifElseResult",
"label": "workflow:judgment_result",
"valueType": "string",
"type": "static",
"description": ""
}
]
},
{
"nodeId": "oZO5DXI7cgIN",
"name": "Code Sandbox#9",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": 2725.514265219497,
"y": -1160.136825814838
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({state}){\n if (state.ywrysw || state.ywfjdc || state.ywmtc) {\n return { result: 'someone_is_hurt' };\n } else if (state.transfer_to_human) {\n return { result: 'transfer_to_human' };\n } else if(state.jdcsl > 2){\n return { result: 'multi_parties' };\n } else if (\n state.bjrjs !== null && state.bjrjs !== undefined &&\n state.sgfssj !== null && state.sgfssj !== undefined && state.sgfssj !== 'null' &&\n state.sfsgxc !== null && state.sfsgxc !== undefined &&\n state.jdcsl !== null && state.jdcsl !== undefined && \n state.sgyy !== null && state.sgyy !== undefined && state.sgyy !== 'null'\n ) {\n return {result: 'accident_info_complete'};\n }\n return {\n result: 'continue'\n };\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "state",
"label": "state",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "qLUQfhG0ILRX",
"type": "dynamic",
"key": "result",
"valueType": "string",
"label": "result",
"valueDesc": "",
"description": ""
}
]
},
{
"nodeId": "i9dNcDDqlC3g",
"name": "Code Sandbox#9",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": 6783.382854053828,
"y": 5.767001503336758
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({state}){\n if (state.jdcsl === 1) {\n return {\n result: 'single'\n }\n } else {\n return {\n result: 'double'\n }\n }\n\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "state",
"label": "state",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "gR0mkQpJ4Og8",
"type": "dynamic",
"key": "result",
"valueType": "string",
"label": "result",
"valueDesc": "",
"description": ""
}
]
},
{
"nodeId": "gEcYC2j2qL17",
"name": "Assigned Reply#8",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 8873.889334432186,
"y": 678.0362498249059
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "下面开始拍照流程。请对准第一辆车的侧前方,看清车牌拍摄。",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "fzHdRxIy04GC",
"name": "Variable Update#14",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 10059.411605704277,
"y": 641.6399404941092
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"2010"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "fCdRtFDIczmJ",
"name": "Variable Update#14",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 1765.573509407675,
"y": 65.24892731909137
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"sABVeuACxyOt",
"status_code"
],
"valueType": "string",
"renderType": "reference"
},
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"sABVeuACxyOt",
"state"
],
"renderType": "reference",
"valueType": "object"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "otFgcPblkQ2i",
"name": "Variable Update#15",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 2080.9755020100647,
"y": 661.7332994223469
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"eSETDMThKva0",
"status_code"
],
"valueType": "string",
"renderType": "reference"
},
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"eSETDMThKva0",
"state"
],
"renderType": "reference",
"valueType": "object"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "scqb8erNCXkK",
"name": "Assigned Reply#11",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": -515.8603619741782,
"y": -2230.301100294996
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "因您长时间未回复,本次服务将结束,如需报案请您再次呼入",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "pK8mcwqBcxqE",
"name": "Variable Update#16",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 318.74322229340646,
"y": -2371.2998862010436
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"1004"
],
"valueType": "string",
"renderType": "input"
},
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"qKHI3maEL4SU",
"qLUQfhG0ILRX"
],
"renderType": "reference",
"valueType": "object"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "qKHI3maEL4SU",
"name": "Code Sandbox#9",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": -1779.2729555352714,
"y": -2471.1142418207105
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({state, user_question}){\n let decision = \"continue\";\n if (user_question === \"【用户无回复】\") {\n state.user_no_response += 1;\n } else {\n state.user_no_response =0;\n }\n if (state.user_no_response < 2) {\n decision = \"continue\";\n } else {\n decision = \"end\";\n }\n return {\n state: state,\n decision: decision\n }\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "state",
"label": "state",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"renderTypeList": [
"reference"
],
"valueType": "string",
"canEdit": true,
"key": "user_question",
"label": "user_question",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"448745",
"userChatInput"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "qLUQfhG0ILRX",
"type": "dynamic",
"key": "state",
"valueType": "object",
"label": "state",
"valueDesc": "",
"description": ""
},
{
"id": "gR0mkQpJ4Og8",
"type": "dynamic",
"key": "decision",
"valueType": "string",
"label": "decision",
"valueDesc": "",
"description": ""
}
]
},
{
"nodeId": "nZUm7LuJxr5a",
"name": "Condition#5",
"intro": "Execute different branches based on conditions.",
"avatar": "core/workflow/template/ifelse",
"flowNodeType": "ifElseNode",
"showStatus": true,
"position": {
"x": -563.4647232799128,
"y": -2732.248271826956
},
"version": "481",
"inputs": [
{
"key": "ifElseList",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": [
{
"condition": "AND",
"list": [
{
"variable": [
"qKHI3maEL4SU",
"gR0mkQpJ4Og8"
],
"condition": "equalTo",
"value": "end"
}
]
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "ifElseResult",
"key": "ifElseResult",
"label": "workflow:judgment_result",
"valueType": "string",
"type": "static",
"description": ""
}
]
},
{
"nodeId": "wFnInUpCQeJV",
"name": "Variable Update#17",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": -1229.114603569731,
"y": -2565.0698623021194
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"qKHI3maEL4SU",
"qLUQfhG0ILRX"
],
"renderType": "reference",
"valueType": "object"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "ntkSX8ViE4ZK",
"name": "Code Sandbox#9",
"intro": "Execute a simple script code, usually for complex data processing.",
"avatar": "core/workflow/template/codeRun",
"flowNodeType": "code",
"showStatus": true,
"position": {
"x": -1698.8869186355423,
"y": -1394.984364000085
},
"version": "482",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "workflow:these_variables_will_be_input_parameters_for_code_execution",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "codeType",
"renderTypeList": [
"hidden"
],
"label": "",
"value": "js",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"key": "code",
"renderTypeList": [
"custom"
],
"label": "",
"value": "function main({state, user_question}){\n let decision = \"continue\";\n if (user_question === \"【用户无回复】\") {\n state.user_no_response += 1;\n } else {\n state.user_no_response =0;\n }\n if (state.user_no_response < 2) {\n decision = \"continue\";\n } else {\n decision = \"end\";\n }\n return {\n state: state,\n decision: decision\n }\n}",
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": "",
"valueType": "string"
},
{
"renderTypeList": [
"reference"
],
"valueType": "object",
"canEdit": true,
"key": "state",
"label": "state",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"VARIABLE_NODE_ID",
"state"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
},
{
"renderTypeList": [
"reference"
],
"valueType": "string",
"canEdit": true,
"key": "user_question",
"label": "user_question",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"required": true,
"value": [
"448745",
"userChatInput"
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "system_rawResponse",
"key": "system_rawResponse",
"label": "workflow:full_response_data",
"valueType": "object",
"type": "static",
"description": ""
},
{
"id": "error",
"key": "error",
"label": "workflow:execution_error",
"description": "Error information of code execution, returns empty on success",
"valueType": "object",
"type": "static"
},
{
"id": "system_addOutputParam",
"key": "system_addOutputParam",
"type": "dynamic",
"valueType": "dynamic",
"label": "",
"customFieldConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": false
},
"description": "Pass the object returned in the code as output to the next nodes. The variable name needs to correspond to the return key.",
"valueDesc": ""
},
{
"id": "qLUQfhG0ILRX",
"type": "dynamic",
"key": "state",
"valueType": "object",
"label": "state",
"valueDesc": "",
"description": ""
},
{
"id": "gR0mkQpJ4Og8",
"type": "dynamic",
"key": "decision",
"valueType": "string",
"label": "decision",
"valueDesc": "",
"description": ""
}
]
},
{
"nodeId": "bKmudspMNnxL",
"name": "Condition#6",
"intro": "Execute different branches based on conditions.",
"avatar": "core/workflow/template/ifelse",
"flowNodeType": "ifElseNode",
"showStatus": true,
"position": {
"x": -357.25677770659354,
"y": -1574.12827816296
},
"version": "481",
"inputs": [
{
"key": "ifElseList",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": [
{
"condition": "AND",
"list": [
{
"variable": [
"ntkSX8ViE4ZK",
"gR0mkQpJ4Og8"
],
"condition": "equalTo",
"value": "end"
}
]
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "ifElseResult",
"key": "ifElseResult",
"label": "workflow:judgment_result",
"valueType": "string",
"type": "static",
"description": ""
}
]
},
{
"nodeId": "syzmFUt5tjQc",
"name": "Variable Update#18",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": -1166.0385964615787,
"y": -1246.6968520991372
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"ntkSX8ViE4ZK",
"qLUQfhG0ILRX"
],
"renderType": "reference",
"valueType": "object"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "yQOFHC40g1uw",
"name": "Assigned Reply#12",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": -298.4531508559866,
"y": -1094.6320794661547
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "因您长时间未回复,本次服务将结束,如需报案请您再次呼入",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "j2LPKAgbCCho",
"name": "Variable Update#19",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": -152.85071041653555,
"y": -722.3747623057059
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"1004"
],
"valueType": "string",
"renderType": "input"
},
{
"variable": [
"VARIABLE_NODE_ID",
"state"
],
"value": [
"ntkSX8ViE4ZK",
"qLUQfhG0ILRX"
],
"renderType": "reference",
"valueType": "object"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "gfBHnQ0ks5iK",
"name": "Assigned Reply#11",
"intro": "This module can directly reply with a specified content. Commonly used for guidance or prompts. Non-string content will be converted to string for output.",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": -1023.2567777065935,
"y": 305.3944865893809
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "Response Content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "后续阶段施工中,即将结束通话",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "xYFIPF36BjOm",
"name": "Variable Update#19",
"intro": "Can update the output value of a specified node or update global variables",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": -119.45315085598662,
"y": 621.8578997249015
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"status_code"
],
"value": [
"",
"0000"
],
"valueType": "string",
"renderType": "input"
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "eSETDMThKva0",
"name": "双车拍照流程插件",
"intro": "",
"avatar": "core/app/type/pluginFill",
"flowNodeType": "pluginModule",
"showStatus": true,
"position": {
"x": 678.8586841435086,
"y": 240.51079782417702
},
"version": "680b47dee11c874476fdaf9b",
"inputs": [
{
"key": "system_forbid_stream",
"renderTypeList": [
"switch"
],
"valueType": "boolean",
"label": "workflow:template.forbid_stream",
"description": "workflow:template.forbid_stream_desc",
"value": false
},
{
"renderTypeList": [
"reference",
"input"
],
"selectedTypeIndex": 0,
"valueType": "object",
"canEdit": false,
"key": "state",
"label": "state",
"description": "",
"defaultValue": "",
"list": [
{
"label": "",
"value": ""
}
],
"maxFiles": 5,
"canSelectFile": true,
"canSelectImg": true,
"required": false,
"value": [
"VARIABLE_NODE_ID",
"state"
]
},
{
"renderTypeList": [
"reference",
"input"
],
"selectedTypeIndex": 0,
"valueType": "string",
"canEdit": false,
"key": "status_code",
"label": "status_code",
"description": "",
"defaultValue": "",
"list": [
{
"label": "",
"value": ""
}
],
"maxFiles": 5,
"canSelectFile": true,
"canSelectImg": true,
"required": false,
"value": [
"VARIABLE_NODE_ID",
"status_code"
]
},
{
"renderTypeList": [
"reference",
"input"
],
"selectedTypeIndex": 0,
"valueType": "string",
"canEdit": false,
"key": "user_question",
"label": "user_question",
"description": "",
"defaultValue": "",
"list": [
{
"label": "",
"value": ""
}
],
"maxFiles": 5,
"canSelectFile": true,
"canSelectImg": true,
"required": false,
"value": [
"448745",
"userChatInput"
]
}
],
"outputs": [
{
"id": "state",
"type": "static",
"key": "state",
"valueType": "object",
"label": "state",
"description": ""
},
{
"id": "status_code",
"type": "static",
"key": "status_code",
"valueType": "string",
"label": "status_code",
"description": ""
}
],
"pluginId": "6809bc52e11c874476fd8700"
},
{
"nodeId": "sABVeuACxyOt",
"name": "单车拍照流程插件",
"intro": "",
"avatar": "core/app/type/pluginFill",
"flowNodeType": "pluginModule",
"showStatus": true,
"position": {
"x": -332.65160644048433,
"y": -231.9158752479845
},
"version": "680dbf3602359c74bc7f6893",
"inputs": [
{
"key": "system_forbid_stream",
"renderTypeList": [
"switch"
],
"valueType": "boolean",
"label": "workflow:template.forbid_stream",
"description": "workflow:template.forbid_stream_desc",
"value": false
},
{
"renderTypeList": [
"reference",
"input"
],
"selectedTypeIndex": 0,
"valueType": "object",
"canEdit": false,
"key": "state",
"label": "state",
"description": "",
"defaultValue": "",
"list": [
{
"label": "",
"value": ""
}
],
"maxFiles": 5,
"canSelectFile": true,
"canSelectImg": true,
"required": false,
"value": [
"VARIABLE_NODE_ID",
"state"
]
},
{
"renderTypeList": [
"reference",
"input"
],
"selectedTypeIndex": 0,
"valueType": "string",
"canEdit": false,
"key": "status_code",
"label": "status_code",
"description": "",
"defaultValue": "",
"list": [
{
"label": "",
"value": ""
}
],
"maxFiles": 5,
"canSelectFile": true,
"canSelectImg": true,
"required": false,
"value": [
"VARIABLE_NODE_ID",
"status_code"
]
},
{
"renderTypeList": [
"reference",
"input"
],
"selectedTypeIndex": 0,
"valueType": "string",
"canEdit": false,
"key": "user_question",
"label": "user_question",
"description": "",
"defaultValue": "",
"list": [
{
"label": "",
"value": ""
}
],
"maxFiles": 5,
"canSelectFile": true,
"canSelectImg": true,
"required": false,
"value": [
"448745",
"userChatInput"
]
}
],
"outputs": [
{
"id": "state",
"type": "static",
"key": "state",
"valueType": "object",
"label": "state",
"description": ""
},
{
"id": "status_code",
"type": "static",
"key": "status_code",
"valueType": "string",
"label": "status_code",
"description": ""
}
],
"pluginId": "6809bc70e11c874476fd87a6"
},
{
"nodeId": "xsJJTkTsEAMW",
"name": "Condition#7",
"intro": "Execute different branches based on conditions.",
"avatar": "core/workflow/template/ifelse",
"flowNodeType": "ifElseNode",
"showStatus": true,
"position": {
"x": -1420.114603569731,
"y": -464.808454264758
},
"version": "481",
"inputs": [
{
"key": "ifElseList",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": [
{
"condition": "AND",
"list": [
{
"variable": [
"448745",
"userChatInput"
],
"condition": "isEmpty"
}
]
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "ifElseResult",
"key": "ifElseResult",
"label": "workflow:judgment_result",
"valueType": "string",
"type": "static",
"description": ""
}
]
},
{
"nodeId": "sswEbGwdJu7H",
"name": "Condition#8",
"intro": "Execute different branches based on conditions.",
"avatar": "core/workflow/template/ifelse",
"flowNodeType": "ifElseNode",
"showStatus": true,
"position": {
"x": -1456.6894965950437,
"y": -50.30357021529878
},
"version": "481",
"inputs": [
{
"key": "ifElseList",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"value": [
{
"condition": "AND",
"list": [
{
"variable": [
"448745",
"userChatInput"
],
"condition": "isEmpty"
}
]
}
],
"valueDesc": "",
"description": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "ifElseResult",
"key": "ifElseResult",
"label": "workflow:judgment_result",
"valueType": "string",
"type": "static",
"description": ""
}
]
}
],
"edges": [
{
"source": "pvArMm3FFJeb",
"target": "gu5ZFJKsE4GJ",
"sourceHandle": "pvArMm3FFJeb-source-ELSE",
"targetHandle": "gu5ZFJKsE4GJ-target-left"
},
{
"source": "pvArMm3FFJeb",
"target": "uX2IzK9fx9zo",
"sourceHandle": "pvArMm3FFJeb-source-IF",
"targetHandle": "uX2IzK9fx9zo-target-left"
},
{
"source": "pvArMm3FFJeb",
"target": "fvvP1xj1OJkZ",
"sourceHandle": "pvArMm3FFJeb-source-ELSE IF 1",
"targetHandle": "fvvP1xj1OJkZ-target-left"
},
{
"source": "pvArMm3FFJeb",
"target": "gArhI4puX6gn",
"sourceHandle": "pvArMm3FFJeb-source-ELSE IF 2",
"targetHandle": "gArhI4puX6gn-target-left"
},
{
"source": "hFlE9YB8LdGB",
"target": "ry5G22Qk6Tox",
"sourceHandle": "hFlE9YB8LdGB-source-IF",
"targetHandle": "ry5G22Qk6Tox-target-left"
},
{
"source": "smMmut5jHUcz",
"target": "vLh9Kas6PyH1",
"sourceHandle": "smMmut5jHUcz-source-right",
"targetHandle": "vLh9Kas6PyH1-target-left"
},
{
"source": "vLh9Kas6PyH1",
"target": "oXj6YnbVHTjW",
"sourceHandle": "vLh9Kas6PyH1-source-IF",
"targetHandle": "oXj6YnbVHTjW-target-left"
},
{
"source": "vLh9Kas6PyH1",
"target": "kYq7r2seIZHF",
"sourceHandle": "vLh9Kas6PyH1-source-ELSE IF 1",
"targetHandle": "kYq7r2seIZHF-target-left"
},
{
"source": "vLh9Kas6PyH1",
"target": "y8MkLLzUfT1i",
"sourceHandle": "vLh9Kas6PyH1-source-ELSE IF 2",
"targetHandle": "y8MkLLzUfT1i-target-left"
},
{
"source": "vLh9Kas6PyH1",
"target": "gu5ZFJKsE4GJ",
"sourceHandle": "vLh9Kas6PyH1-source-ELSE",
"targetHandle": "gu5ZFJKsE4GJ-target-left"
},
{
"source": "448745",
"target": "n4C51phGZY1A",
"sourceHandle": "448745-source-right",
"targetHandle": "n4C51phGZY1A-target-left"
},
{
"source": "n4C51phGZY1A",
"target": "hFlE9YB8LdGB",
"sourceHandle": "n4C51phGZY1A-source-right",
"targetHandle": "hFlE9YB8LdGB-target-left"
},
{
"source": "ry5G22Qk6Tox",
"target": "yrmf3AuoOjnI",
"sourceHandle": "ry5G22Qk6Tox-source-right",
"targetHandle": "yrmf3AuoOjnI-target-left"
},
{
"source": "yrmf3AuoOjnI",
"target": "jmmJzldTiMkP",
"sourceHandle": "yrmf3AuoOjnI-source-right",
"targetHandle": "jmmJzldTiMkP-target-left"
},
{
"source": "gECEtWA1FJ7B",
"target": "c8GsYOxxPKd9",
"sourceHandle": "gECEtWA1FJ7B-source-right",
"targetHandle": "c8GsYOxxPKd9-target-left"
},
{
"source": "c8GsYOxxPKd9",
"target": "smMmut5jHUcz",
"sourceHandle": "c8GsYOxxPKd9-source-right",
"targetHandle": "smMmut5jHUcz-target-left"
},
{
"source": "oXj6YnbVHTjW",
"target": "q5ycm7LqWXWE",
"sourceHandle": "oXj6YnbVHTjW-source-right",
"targetHandle": "q5ycm7LqWXWE-target-left"
},
{
"source": "kYq7r2seIZHF",
"target": "g4kfmyuPAXtQ",
"sourceHandle": "kYq7r2seIZHF-source-right",
"targetHandle": "g4kfmyuPAXtQ-target-left"
},
{
"source": "gu5ZFJKsE4GJ",
"target": "waJFRBjvQEv9",
"sourceHandle": "gu5ZFJKsE4GJ-source-right",
"targetHandle": "waJFRBjvQEv9-target-left"
},
{
"source": "xBsEsifWxOhc",
"target": "ysRPAq7tp8Hg",
"sourceHandle": "xBsEsifWxOhc-source-right",
"targetHandle": "ysRPAq7tp8Hg-target-left"
},
{
"source": "ysRPAq7tp8Hg",
"target": "fwaYvHFYGDAj",
"sourceHandle": "ysRPAq7tp8Hg-source-right",
"targetHandle": "fwaYvHFYGDAj-target-left"
},
{
"source": "uX2IzK9fx9zo",
"target": "bFtnxuUrDbuI",
"sourceHandle": "uX2IzK9fx9zo-source-right",
"targetHandle": "bFtnxuUrDbuI-target-left"
},
{
"source": "fvvP1xj1OJkZ",
"target": "bbQgpM0MUMtc",
"sourceHandle": "fvvP1xj1OJkZ-source-right",
"targetHandle": "bbQgpM0MUMtc-target-left"
},
{
"source": "gArhI4puX6gn",
"target": "wEy3YTCK40uG",
"sourceHandle": "gArhI4puX6gn-source-right",
"targetHandle": "wEy3YTCK40uG-target-left"
},
{
"source": "pvArMm3FFJeb",
"target": "hSzvdCjjB71d",
"sourceHandle": "pvArMm3FFJeb-source-ELSE IF 3",
"targetHandle": "hSzvdCjjB71d-target-left"
},
{
"source": "hSzvdCjjB71d",
"target": "jHeeLikXfH1z",
"sourceHandle": "hSzvdCjjB71d-source-right",
"targetHandle": "jHeeLikXfH1z-target-left"
},
{
"source": "ckg0TgZFKv2F",
"target": "yvvFH7iyMHCO",
"sourceHandle": "ckg0TgZFKv2F-source-right",
"targetHandle": "yvvFH7iyMHCO-target-left"
},
{
"source": "fwaYvHFYGDAj",
"target": "oZO5DXI7cgIN",
"sourceHandle": "fwaYvHFYGDAj-source-right",
"targetHandle": "oZO5DXI7cgIN-target-left"
},
{
"source": "oZO5DXI7cgIN",
"target": "pvArMm3FFJeb",
"sourceHandle": "oZO5DXI7cgIN-source-right",
"targetHandle": "pvArMm3FFJeb-target-left"
},
{
"source": "jHeeLikXfH1z",
"target": "i9dNcDDqlC3g",
"sourceHandle": "jHeeLikXfH1z-source-right",
"targetHandle": "i9dNcDDqlC3g-target-left"
},
{
"source": "i9dNcDDqlC3g",
"target": "tyezGSJtysAP",
"sourceHandle": "i9dNcDDqlC3g-source-right",
"targetHandle": "tyezGSJtysAP-target-left"
},
{
"source": "tyezGSJtysAP",
"target": "ckg0TgZFKv2F",
"sourceHandle": "tyezGSJtysAP-source-IF",
"targetHandle": "ckg0TgZFKv2F-target-left"
},
{
"source": "tyezGSJtysAP",
"target": "gEcYC2j2qL17",
"sourceHandle": "tyezGSJtysAP-source-ELSE",
"targetHandle": "gEcYC2j2qL17-target-left"
},
{
"source": "gEcYC2j2qL17",
"target": "fzHdRxIy04GC",
"sourceHandle": "gEcYC2j2qL17-source-right",
"targetHandle": "fzHdRxIy04GC-target-left"
},
{
"source": "hFlE9YB8LdGB",
"target": "qKHI3maEL4SU",
"sourceHandle": "hFlE9YB8LdGB-source-ELSE IF 1",
"targetHandle": "qKHI3maEL4SU-target-left"
},
{
"source": "nZUm7LuJxr5a",
"target": "scqb8erNCXkK",
"sourceHandle": "nZUm7LuJxr5a-source-IF",
"targetHandle": "scqb8erNCXkK-target-left"
},
{
"source": "scqb8erNCXkK",
"target": "pK8mcwqBcxqE",
"sourceHandle": "scqb8erNCXkK-source-right",
"targetHandle": "pK8mcwqBcxqE-target-left"
},
{
"source": "hFlE9YB8LdGB",
"target": "ntkSX8ViE4ZK",
"sourceHandle": "hFlE9YB8LdGB-source-ELSE IF 2",
"targetHandle": "ntkSX8ViE4ZK-target-left"
},
{
"source": "yQOFHC40g1uw",
"target": "j2LPKAgbCCho",
"sourceHandle": "yQOFHC40g1uw-source-right",
"targetHandle": "j2LPKAgbCCho-target-left"
},
{
"source": "hFlE9YB8LdGB",
"target": "gfBHnQ0ks5iK",
"sourceHandle": "hFlE9YB8LdGB-source-ELSE IF 5",
"targetHandle": "gfBHnQ0ks5iK-target-left"
},
{
"source": "hFlE9YB8LdGB",
"target": "gfBHnQ0ks5iK",
"sourceHandle": "hFlE9YB8LdGB-source-ELSE IF 6",
"targetHandle": "gfBHnQ0ks5iK-target-left"
},
{
"source": "gfBHnQ0ks5iK",
"target": "xYFIPF36BjOm",
"sourceHandle": "gfBHnQ0ks5iK-source-right",
"targetHandle": "xYFIPF36BjOm-target-left"
},
{
"source": "ntkSX8ViE4ZK",
"target": "syzmFUt5tjQc",
"sourceHandle": "ntkSX8ViE4ZK-source-right",
"targetHandle": "syzmFUt5tjQc-target-left"
},
{
"source": "syzmFUt5tjQc",
"target": "bKmudspMNnxL",
"sourceHandle": "syzmFUt5tjQc-source-right",
"targetHandle": "bKmudspMNnxL-target-left"
},
{
"source": "bKmudspMNnxL",
"target": "yQOFHC40g1uw",
"sourceHandle": "bKmudspMNnxL-source-IF",
"targetHandle": "yQOFHC40g1uw-target-left"
},
{
"source": "bKmudspMNnxL",
"target": "xBsEsifWxOhc",
"sourceHandle": "bKmudspMNnxL-source-ELSE",
"targetHandle": "xBsEsifWxOhc-target-left"
},
{
"source": "qKHI3maEL4SU",
"target": "wFnInUpCQeJV",
"sourceHandle": "qKHI3maEL4SU-source-right",
"targetHandle": "wFnInUpCQeJV-target-left"
},
{
"source": "wFnInUpCQeJV",
"target": "nZUm7LuJxr5a",
"sourceHandle": "wFnInUpCQeJV-source-right",
"targetHandle": "nZUm7LuJxr5a-target-left"
},
{
"source": "nZUm7LuJxr5a",
"target": "gECEtWA1FJ7B",
"sourceHandle": "nZUm7LuJxr5a-source-ELSE",
"targetHandle": "gECEtWA1FJ7B-target-left"
},
{
"source": "hFlE9YB8LdGB",
"target": "xsJJTkTsEAMW",
"sourceHandle": "hFlE9YB8LdGB-source-ELSE IF 3",
"targetHandle": "xsJJTkTsEAMW-target-left"
},
{
"source": "xsJJTkTsEAMW",
"target": "sABVeuACxyOt",
"sourceHandle": "xsJJTkTsEAMW-source-ELSE",
"targetHandle": "sABVeuACxyOt-target-left"
},
{
"source": "sABVeuACxyOt",
"target": "fCdRtFDIczmJ",
"sourceHandle": "sABVeuACxyOt-source-right",
"targetHandle": "fCdRtFDIczmJ-target-left"
},
{
"source": "hFlE9YB8LdGB",
"target": "sswEbGwdJu7H",
"sourceHandle": "hFlE9YB8LdGB-source-ELSE IF 4",
"targetHandle": "sswEbGwdJu7H-target-left"
},
{
"source": "sswEbGwdJu7H",
"target": "eSETDMThKva0",
"sourceHandle": "sswEbGwdJu7H-source-ELSE",
"targetHandle": "eSETDMThKva0-target-left"
},
{
"source": "eSETDMThKva0",
"target": "otFgcPblkQ2i",
"sourceHandle": "eSETDMThKva0-source-right",
"targetHandle": "otFgcPblkQ2i-target-left"
}
],
"chatConfig": {
"welcomeText": "您好,这里是无锡交警,我将为您远程处理交通事故。请将人员撤离至路侧安全区域,开启危险报警双闪灯、放置三角警告牌、做好安全防护,谨防二次事故伤害。若您已经准备好了,请点击继续办理,如需人工服务,请说转人工。",
"variables": [
{
"id": "r9bb16",
"key": "state",
"label": "state",
"type": "custom",
"description": "",
"required": false,
"valueType": "object",
"list": [
{
"value": "",
"label": ""
}
],
"defaultValue": "{\"is_first_message\": false, \"user_is_ready\": false, \"accident_info_complete\": false,\n\"driver_info_check\": false,\n\"drivers_info_check\": false,\n\"driver_info_complete\": false,\n\"drivers_info_complete\": false,\n\"hpzl1\": \"小型蓝色车辆\",\n\"hphm1\": \"沪C1121\",\n\"driver1Phonenumber\": \"12918881212\",\n\"driver1ID\": \"310111198812223323\",\n\"user_no_response\": 0}",
"enums": [
{
"value": "",
"label": ""
}
],
"icon": "core/workflow/inputType/customVariable"
},
{
"id": "2066r4",
"key": "status_code",
"label": "status_code",
"type": "custom",
"description": "",
"required": false,
"valueType": "string",
"list": [
{
"value": "",
"label": ""
}
],
"defaultValue": "1001",
"enums": [
{
"value": "",
"label": ""
}
]
}
],
"scheduledTriggerConfig": {
"cronString": "",
"timezone": "Asia/Shanghai",
"defaultPrompt": ""
},
"_id": "67d74f9ce45d4c228e914253"
}
}