Commit 447b8d67 by ccran

feat: 更新摘要写入;增加提取工作流;

parent d92c12a9
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
!**/*.xlsx !**/*.xlsx
!**/*.pdf !**/*.pdf
!**/*.xls !**/*.xls
!workflow/**
!README.md !README.md
......
...@@ -397,6 +397,7 @@ class MemoryStore: ...@@ -397,6 +397,7 @@ class MemoryStore:
"""Export raw facts and merged facts to Excel, upload, then delete the local file.""" """Export raw facts and merged facts to Excel, upload, then delete the local file."""
try: try:
from openpyxl import Workbook # type: ignore from openpyxl import Workbook # type: ignore
from openpyxl.styles import Alignment # type: ignore
except ImportError as exc: except ImportError as exc:
raise ImportError( raise ImportError(
"openpyxl is required for export_facts_to_excel; install via 'pip install openpyxl'" "openpyxl is required for export_facts_to_excel; install via 'pip install openpyxl'"
...@@ -409,13 +410,17 @@ class MemoryStore: ...@@ -409,13 +410,17 @@ class MemoryStore:
with self._lock: with self._lock:
wb = Workbook() wb = Workbook()
ws_facts = wb.active ws_merge_facts = wb.active
ws_facts.title = self._safe_sheet_name("合同事实")
self._append_facts_sheet(ws_facts, self.facts)
ws_merge_facts = wb.create_sheet(self._safe_sheet_name("合并事实")) ws_merge_facts.title = self._safe_sheet_name("合并事实")
self._append_merge_facts_sheet(ws_merge_facts, self.merge_facts) self._append_merge_facts_sheet(ws_merge_facts, self.merge_facts)
ws_facts = wb.create_sheet(self._safe_sheet_name("合同事实"))
self._append_facts_sheet(ws_facts, self.facts)
self._format_content_column(ws_merge_facts, Alignment)
self._format_content_column(ws_facts, Alignment)
wb.save(output_path) wb.save(output_path)
try: try:
...@@ -533,6 +538,15 @@ class MemoryStore: ...@@ -533,6 +538,15 @@ class MemoryStore:
ws.append([summary_name, self._format_summary_for_export(value)]) ws.append([summary_name, self._format_summary_for_export(value)])
@staticmethod @staticmethod
def _format_content_column(ws: Any, alignment_cls: Any) -> None:
ws.column_dimensions["A"].width = 50
ws.column_dimensions["B"].width = 200
wrap_alignment = alignment_cls(wrap_text=True, vertical="top")
for cell in ws["B"]:
cell.alignment = wrap_alignment
ws.row_dimensions[cell.row].height = None
@staticmethod
def _format_summary_for_export(value: Any, level: int = 0) -> str: def _format_summary_for_export(value: Any, level: int = 0) -> str:
indent = " " * level indent = " " * level
if isinstance(value, dict): if isinstance(value, dict):
......
from __future__ import annotations
import json
from typing import Dict, List
from core.tool import tool, tool_func
from core.tools.segment_llm import LLMTool
from loguru import logger
AVAILABLE_RULESET_IDS = [
"合同信息提取(合同组)",
"合同信息提取(技术部)",
"合同信息提取(采购部)",
"技术协议提取(合同组)",
"技术协议提取(技术部)",
]
RULESET_ROUTER_SYSTEM_PROMPT = """
你是合同审查/信息提取系统的 ruleset_id 路由智能体。
你的任务是:根据用户的问题,从候选 ruleset_id 中选择最合适的一个。
选择原则:
1. 如果用户问题关注合同基础信息、商务条款、合同主体、金额、期限、付款、签署等合同文本信息,优先选择“合同信息提取”类规则集。
2. 如果用户问题关注技术参数、技术方案、设备规格、供货范围、验收标准、技术附件、技术协议等技术内容,优先选择“技术协议提取”类规则集。
3. 如果问题明确提到部门或使用方:
- 合同组、法务、合同管理 -> “(合同组)”
- 技术部、技术人员、技术评审 -> “(技术部)”
- 采购部、采购、供应商准入、采购流程 -> “(采购部)”
4. 如果没有明确部门:
- 合同信息提取默认选择“合同信息提取(合同组)”
- 技术协议提取默认选择“技术协议提取(技术部)”
5. 只能输出候选 ruleset_id 中的一个,不得编造。
严格输出 JSON。
"""
RULESET_ROUTER_USER_PROMPT = """
用户问题:
{question}
候选 ruleset_id:
{ruleset_ids}
请输出 JSON,格式如下:
```json
{{
"ruleset_id": "候选 ruleset_id 中的一个",
"reason": "简短说明选择原因"
}}
```
"""
@tool("ruleset_router", "根据用户问题选择 ruleset_id")
class RulesetRouterTool(LLMTool):
def __init__(self) -> None:
super().__init__(RULESET_ROUTER_SYSTEM_PROMPT)
@tool_func(
{
"type": "object",
"properties": {
"question": {"type": "string"},
},
"required": ["question"],
}
)
def run(self, question: str) -> Dict[str, str]:
normalized_question = (question or "").strip()
if not normalized_question:
return {
"ruleset_id": AVAILABLE_RULESET_IDS[0],
"reason": "用户问题为空,默认选择合同组合同信息提取规则集。",
}
user_content = RULESET_ROUTER_USER_PROMPT.format(
question=normalized_question,
ruleset_ids=json.dumps(AVAILABLE_RULESET_IDS, ensure_ascii=False),
)
try:
resp = self.run_with_loop(self.chat_async(self.build_messages(user_content)))
data = self.parse_first_json(resp)
ruleset_id = str(data.get("ruleset_id", "")).strip()
reason = str(data.get("reason", "")).strip()
if ruleset_id in AVAILABLE_RULESET_IDS:
return {"ruleset_id": ruleset_id, "reason": reason}
except Exception as exc:
logger.error("Ruleset router LLM failed, fallback to keyword route: %s", exc)
return self._fallback_route(normalized_question)
def _fallback_route(self, question: str) -> Dict[str, str]:
if any(keyword in question for keyword in ["技术协议", "技术", "参数", "规格", "验收标准", "供货范围"]):
if any(keyword in question for keyword in ["合同组", "法务", "合同管理"]):
return {
"ruleset_id": "技术协议提取(合同组)",
"reason": "问题涉及技术协议内容,并提到合同组相关场景。",
}
return {
"ruleset_id": "技术协议提取(技术部)",
"reason": "问题涉及技术协议或技术内容,默认选择技术部规则集。",
}
if any(keyword in question for keyword in ["采购部", "采购", "供应商"]):
return {
"ruleset_id": "合同信息提取(采购部)",
"reason": "问题涉及采购或供应商相关场景。",
}
if any(keyword in question for keyword in ["技术部", "技术人员", "技术评审"]):
return {
"ruleset_id": "合同信息提取(技术部)",
"reason": "问题涉及技术部相关场景。",
}
return {
"ruleset_id": "合同信息提取(合同组)",
"reason": "问题未明确部门或技术协议场景,默认选择合同组合同信息提取规则集。",
}
if __name__ == "__main__":
tool = RulesetRouterTool()
print(tool.run("帮我提取技术协议里的设备参数"))
No preview for this file type
...@@ -28,6 +28,7 @@ from core.tools.retrieve_reference import RetrieveReferenceTool ...@@ -28,6 +28,7 @@ from core.tools.retrieve_reference import RetrieveReferenceTool
from core.tools.reflect_retry import ReflectRetryTool from core.tools.reflect_retry import ReflectRetryTool
from core.tools.segment_merger import SegmentMergerTool from core.tools.segment_merger import SegmentMergerTool
from core.tools.fact_merger import FactMergerTool from core.tools.fact_merger import FactMergerTool
from core.tools.ruleset_router import RulesetRouterTool
from core.memory import Finding from core.memory import Finding
from core.memory import FINDING_KEY_MERGE, FINDING_KEY_REFLECT, FINDING_KEY_REVIEW from core.memory import FINDING_KEY_MERGE, FINDING_KEY_REFLECT, FINDING_KEY_REVIEW
...@@ -42,6 +43,7 @@ reference_tool = RetrieveReferenceTool() ...@@ -42,6 +43,7 @@ reference_tool = RetrieveReferenceTool()
reflect_tool = ReflectRetryTool() reflect_tool = ReflectRetryTool()
merger_tool = SegmentMergerTool() merger_tool = SegmentMergerTool()
fact_merger_tool = FactMergerTool() fact_merger_tool = FactMergerTool()
ruleset_router_tool = RulesetRouterTool()
@app.post("/sleep") @app.post("/sleep")
...@@ -72,6 +74,30 @@ class DocumentParseResponse(BaseModel): ...@@ -72,6 +74,30 @@ class DocumentParseResponse(BaseModel):
file_name: Optional[str] = None file_name: Optional[str] = None
class RulesetRouteRequest(BaseModel):
question: str = Field(..., description="User question used to select ruleset_id")
class RulesetRouteResponse(BaseModel):
question: str
ruleset_id: str
reason: str = ""
@app.post("/rulesets/route", response_model=RulesetRouteResponse)
def route_ruleset(payload: RulesetRouteRequest) -> RulesetRouteResponse:
question = (payload.question or "").strip()
if not question:
raise HTTPException(status_code=400, detail="question cannot be empty")
result = ruleset_router_tool.run(question)
return RulesetRouteResponse(
question=question,
ruleset_id=result.get("ruleset_id", ""),
reason=result.get("reason", ""),
)
@app.post("/documents/parse", response_model=DocumentParseResponse) @app.post("/documents/parse", response_model=DocumentParseResponse)
async def parse_document(payload: DocumentParseRequest) -> DocumentParseResponse: async def parse_document(payload: DocumentParseRequest) -> DocumentParseResponse:
if not payload.urls: if not payload.urls:
......
{
{
"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": -877.2610147866768,
"y": -740.2425089712453
},
"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
},
{
"key": "showToolCall",
"valueType": "boolean",
"renderTypeList": [
"hidden"
],
"label": "core.app.Chat showCallTools",
"value": true
}
],
"outputs": []
},
{
"nodeId": "448745",
"name": "common:core.module.template.work_start",
"intro": "",
"avatar": "core/workflow/template/workflowStart",
"flowNodeType": "workflowStart",
"position": {
"x": 66.30847643798234,
"y": -750.3733286176034
},
"version": "481",
"inputs": [
{
"key": "userChatInput",
"renderTypeList": [
"reference",
"textarea"
],
"valueType": "string",
"label": "workflow:user_question",
"required": true,
"toolDescription": "用户问题",
"debugLabel": ""
}
],
"outputs": [
{
"id": "userChatInput",
"key": "userChatInput",
"label": "common:core.module.input.label.user question",
"type": "static",
"valueType": "string",
"description": ""
},
{
"id": "userFiles",
"key": "userFiles",
"label": "app:workflow.user_file_input",
"description": "app:workflow.user_file_input_desc",
"type": "static",
"valueType": "arrayString"
}
]
},
{
"nodeId": "o7b0axI8mmI9pA2A",
"name": "对话ID生成",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 673.6636470725568,
"y": -794.3398978447234
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/conversations/new",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "izcKTGgb1TTt8nrA",
"valueType": "string",
"type": "dynamic",
"key": "created_at",
"label": "created_at"
}
]
},
{
"nodeId": "kTiATZcdlQS9AJfh",
"name": "指定回复",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 1678.9022047942815,
"y": -1238.0066186149727
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "对话ID:{{$o7b0axI8mmI9pA2A.cr1MwXPAoZyXNFtO$}}\n时间:{{$o7b0axI8mmI9pA2A.izcKTGgb1TTt8nrA$}}",
"selectedTypeIndex": 0,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "qyDbIILN5lTVAtwL",
"name": "变量更新",
"intro": "可以更新指定节点的输出值或更新全局变量",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 1781.7722098620077,
"y": -640.884800511195
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"conversation_id"
],
"value": [
"o7b0axI8mmI9pA2A",
"cr1MwXPAoZyXNFtO"
],
"valueType": "string",
"renderType": "reference"
}
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "dnb66tJORbeMkyJN",
"name": "文档解析",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 2537.288007839842,
"y": -1271.2772207602402
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/documents/parse",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"urls\":{{$448745.userFiles$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "efgXQpwwgJO1mSp1",
"valueType": "string",
"type": "dynamic",
"key": "file_ext",
"label": "file_ext"
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "arrayNumber",
"type": "dynamic",
"key": "segment_ids",
"label": "segment_ids"
},
{
"id": "qdyGp4WQgoKrhsok",
"valueType": "arrayString",
"type": "dynamic",
"key": "ruleset_items",
"label": "ruleset_items"
},
{
"id": "ilcLJo25KMbOHpq2",
"valueType": "string",
"type": "dynamic",
"key": "file_name",
"label": "file_name"
}
]
},
{
"nodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段审查",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 3540,
"y": -2169
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayNumber",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"iNPgdfAYnYpstgBc"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"sZgOPo6auO0VbxpF",
"fkEhLHi6xqW7WN9F",
"xwK0VADx97SYrms1",
"pObKlEmqutm1LwAb",
"uN2n4Zbk9kCeKMnR",
"birCXPQQBg65QhqL",
"fUSEiRc8piXA9vrg",
"eJn3wqRsS2peKWHB",
"c1ikNIKm65mcPGdV"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 3130.245316661443
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1568.1776863654786
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayNumber",
"description": ""
}
]
},
{
"nodeId": "sZgOPo6auO0VbxpF",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 3665.3933339646373,
"y": -1659.3309119288897
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "number"
}
]
},
{
"nodeId": "fkEhLHi6xqW7WN9F",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 6174.823672703287,
"y": -513.3974567352745
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"sZgOPo6auO0VbxpF",
"loopStartInput"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "xwK0VADx97SYrms1",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段审查",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 5259.274350321408,
"y": -1833.0068296314835
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/findings",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"routed_rule_titles\":{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "findings",
"label": "findings"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
}
]
},
{
"nodeId": "pObKlEmqutm1LwAb",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "审查结果",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5211.274350321408,
"y": -680.4872661417855
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$xwK0VADx97SYrms1.eiG4Ot4wYh3S1hop$}}]审查结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "reZltCMgymhKe6kG",
"name": "记忆输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 13144.750471649517,
"y": -1836.0591476553748
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "# 最终审查Excel\n{{$v7v3dWPFEySgk5Wk.iNPgdfAYnYpstgBc$}}\n# 最终审查批注\n{{$v7v3dWPFEySgk5Wk.iHDvQZE50AYzR5Is$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "v7v3dWPFEySgk5Wk",
"name": "导出记忆",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 12180.932597464189,
"y": -2180
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/memory/export",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"file_name\":\"{{$dnb66tJORbeMkyJN.ilcLJo25KMbOHpq2$}}\",\n\"finding_key\":\"merge\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "string",
"type": "dynamic",
"key": "excel_url",
"label": "excel_url"
},
{
"id": "iHDvQZE50AYzR5Is",
"valueType": "string",
"type": "dynamic",
"key": "doc_url",
"label": "doc_url"
}
]
},
{
"nodeId": "uN2n4Zbk9kCeKMnR",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段摘要",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 5994.5216575327395,
"y": -1820.4385161622138
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/summary/facts",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"routed_rule_titles\":{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "facts",
"label": "facts"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
}
]
},
{
"nodeId": "birCXPQQBg65QhqL",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "总结结果",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5994.5216575327395,
"y": -839.7899151032311
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$xwK0VADx97SYrms1.eiG4Ot4wYh3S1hop$}}]摘要结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "aYKDyXCemV43x8dN",
"name": "审查反思",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 7521,
"y": -2325
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayString",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"qdyGp4WQgoKrhsok"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"me0XD1NXPznCaPQ6",
"n0GWlgZH93EgFwf9",
"hByfg48KkF6mH1re",
"podT5lu8zdQnkQ9l"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1990.9854284351459
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1348.4947499687016
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayString",
"description": ""
}
]
},
{
"nodeId": "me0XD1NXPznCaPQ6",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 7591.460375659342,
"y": -1842.3081599274785
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "string"
}
]
},
{
"nodeId": "n0GWlgZH93EgFwf9",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 9082.445804094488,
"y": -1842.3081599274785
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"me0XD1NXPznCaPQ6",
"loopStartInput"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "hByfg48KkF6mH1re",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "审查反思输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 8133.53298542438,
"y": -2002.2370957668882
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "开始执行[{{$me0XD1NXPznCaPQ6.loopStartInput$}}]反思...",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "podT5lu8zdQnkQ9l",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "审查反思",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 8157.53298542438,
"y": -1639.7423457981865
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/reflect",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"rule_title\":\"{{$me0XD1NXPznCaPQ6.loopStartInput$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "findings",
"label": "findings"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "rule_title",
"label": "rule_title"
}
]
},
{
"nodeId": "cfFFH6KyckeWOIbs",
"name": "合同类型输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 649.6636470725568,
"y": -1238.0066186149727
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "开始【{{$VARIABLE_NODE_ID.rulese_id$}}】合同审查...",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "fUSEiRc8piXA9vrg",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "规则路由",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 4417.330178346225,
"y": -1845.5751431007532
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/rule-router",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayString",
"type": "dynamic",
"key": "routed_rule_titles",
"label": "routed_rule_titles"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "arrayObject",
"type": "dynamic",
"key": "routed_rules",
"label": "routed_rules"
}
]
},
{
"nodeId": "eJn3wqRsS2peKWHB",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "规则路由",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 4408.831299191108,
"y": -698.0684568555814
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 规则路由结果:{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "c1ikNIKm65mcPGdV",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "指定回复#8",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 3610.2763408712963,
"y": -1153.1088482898695
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZgOPo6auO0VbxpF.loopStartInput$}}]开始审查...\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "iX0JdehTk2UkyqJQ",
"name": "分段合并",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 9751,
"y": -2385
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayNumber",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"iNPgdfAYnYpstgBc"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"sZfiNMxoDkB0aa54",
"fQ1DlN2AnNenhpGY",
"urL0XkS72VPMQy9X",
"lgBu41UbtmPZwEn0"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 2088.564837495929
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1008.9208257499643
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayNumber",
"description": ""
}
]
},
{
"nodeId": "sZfiNMxoDkB0aa54",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 9821.490952798684,
"y": -1773.5518283036738
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "number"
}
]
},
{
"nodeId": "fQ1DlN2AnNenhpGY",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 11179.84709347473,
"y": -1288.9734841600223
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"urL0XkS72VPMQy9X",
"cijcR8mXpjPTQoMN"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "urL0XkS72VPMQy9X",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "分段合并",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 10400.224995436103,
"y": -2061.8943099099865
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/merger",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZfiNMxoDkB0aa54.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"finding_key\":\"reflect\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cijcR8mXpjPTQoMN",
"valueType": "number",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
},
{
"id": "y4ATMWrId8LF0bDZ",
"valueType": "arrayObject",
"type": "dynamic",
"key": "merged_findings",
"label": "merged_findings"
}
]
},
{
"nodeId": "lgBu41UbtmPZwEn0",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "合并输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 11164.055790294613,
"y": -1863.686812467797
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZfiNMxoDkB0aa54.loopStartInput$}}]合并结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
}
],
"edges": [
{
"source": "448745",
"target": "o7b0axI8mmI9pA2A",
"sourceHandle": "448745-source-right",
"targetHandle": "o7b0axI8mmI9pA2A-target-left"
},
{
"source": "o7b0axI8mmI9pA2A",
"target": "kTiATZcdlQS9AJfh",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "kTiATZcdlQS9AJfh-target-left"
},
{
"source": "o7b0axI8mmI9pA2A",
"target": "qyDbIILN5lTVAtwL",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "qyDbIILN5lTVAtwL-target-left"
},
{
"source": "dnb66tJORbeMkyJN",
"target": "xdje3nQ5nYvVNUZJ",
"sourceHandle": "dnb66tJORbeMkyJN-source-right",
"targetHandle": "xdje3nQ5nYvVNUZJ-target-left"
},
{
"source": "v7v3dWPFEySgk5Wk",
"target": "reZltCMgymhKe6kG",
"sourceHandle": "v7v3dWPFEySgk5Wk-source-right",
"targetHandle": "reZltCMgymhKe6kG-target-left"
},
{
"source": "pObKlEmqutm1LwAb",
"target": "uN2n4Zbk9kCeKMnR",
"sourceHandle": "pObKlEmqutm1LwAb-source-right",
"targetHandle": "uN2n4Zbk9kCeKMnR-target-left"
},
{
"source": "xdje3nQ5nYvVNUZJ",
"target": "aYKDyXCemV43x8dN",
"sourceHandle": "xdje3nQ5nYvVNUZJ-source-right",
"targetHandle": "aYKDyXCemV43x8dN-target-left"
},
{
"source": "me0XD1NXPznCaPQ6",
"target": "hByfg48KkF6mH1re",
"sourceHandle": "me0XD1NXPznCaPQ6-source-right",
"targetHandle": "hByfg48KkF6mH1re-target-left"
},
{
"source": "podT5lu8zdQnkQ9l",
"target": "n0GWlgZH93EgFwf9",
"sourceHandle": "podT5lu8zdQnkQ9l-source-right",
"targetHandle": "n0GWlgZH93EgFwf9-target-left"
},
{
"source": "hByfg48KkF6mH1re",
"target": "podT5lu8zdQnkQ9l",
"sourceHandle": "hByfg48KkF6mH1re-source-right",
"targetHandle": "podT5lu8zdQnkQ9l-target-left"
},
{
"source": "448745",
"target": "cfFFH6KyckeWOIbs",
"sourceHandle": "448745-source-right",
"targetHandle": "cfFFH6KyckeWOIbs-target-left"
},
{
"source": "fUSEiRc8piXA9vrg",
"target": "eJn3wqRsS2peKWHB",
"sourceHandle": "fUSEiRc8piXA9vrg-source-right",
"targetHandle": "eJn3wqRsS2peKWHB-target-left"
},
{
"source": "xwK0VADx97SYrms1",
"target": "pObKlEmqutm1LwAb",
"sourceHandle": "xwK0VADx97SYrms1-source-right",
"targetHandle": "pObKlEmqutm1LwAb-target-left"
},
{
"source": "eJn3wqRsS2peKWHB",
"target": "xwK0VADx97SYrms1",
"sourceHandle": "eJn3wqRsS2peKWHB-source-right",
"targetHandle": "xwK0VADx97SYrms1-target-left"
},
{
"source": "uN2n4Zbk9kCeKMnR",
"target": "birCXPQQBg65QhqL",
"sourceHandle": "uN2n4Zbk9kCeKMnR-source-right",
"targetHandle": "birCXPQQBg65QhqL-target-left"
},
{
"source": "birCXPQQBg65QhqL",
"target": "fkEhLHi6xqW7WN9F",
"sourceHandle": "birCXPQQBg65QhqL-source-right",
"targetHandle": "fkEhLHi6xqW7WN9F-target-left"
},
{
"source": "sZgOPo6auO0VbxpF",
"target": "c1ikNIKm65mcPGdV",
"sourceHandle": "sZgOPo6auO0VbxpF-source-right",
"targetHandle": "c1ikNIKm65mcPGdV-target-left"
},
{
"source": "c1ikNIKm65mcPGdV",
"target": "fUSEiRc8piXA9vrg",
"sourceHandle": "c1ikNIKm65mcPGdV-source-right",
"targetHandle": "fUSEiRc8piXA9vrg-target-left"
},
{
"source": "qyDbIILN5lTVAtwL",
"target": "dnb66tJORbeMkyJN",
"sourceHandle": "qyDbIILN5lTVAtwL-source-right",
"targetHandle": "dnb66tJORbeMkyJN-target-left"
},
{
"source": "aYKDyXCemV43x8dN",
"target": "iX0JdehTk2UkyqJQ",
"sourceHandle": "aYKDyXCemV43x8dN-source-right",
"targetHandle": "iX0JdehTk2UkyqJQ-target-left"
},
{
"source": "iX0JdehTk2UkyqJQ",
"target": "v7v3dWPFEySgk5Wk",
"sourceHandle": "iX0JdehTk2UkyqJQ-source-right",
"targetHandle": "v7v3dWPFEySgk5Wk-target-left"
},
{
"source": "sZfiNMxoDkB0aa54",
"target": "urL0XkS72VPMQy9X",
"sourceHandle": "sZfiNMxoDkB0aa54-source-right",
"targetHandle": "urL0XkS72VPMQy9X-target-left"
},
{
"source": "urL0XkS72VPMQy9X",
"target": "lgBu41UbtmPZwEn0",
"sourceHandle": "urL0XkS72VPMQy9X-source-right",
"targetHandle": "lgBu41UbtmPZwEn0-target-left"
},
{
"source": "lgBu41UbtmPZwEn0",
"target": "fQ1DlN2AnNenhpGY",
"sourceHandle": "lgBu41UbtmPZwEn0-source-right",
"targetHandle": "fQ1DlN2AnNenhpGY-target-left"
}
],
"chatConfig": {
"variables": [
{
"key": "party_role",
"label": "party_role",
"type": "input",
"description": "审查所处的角度",
"required": false,
"valueType": "string",
"defaultValue": "金盘(卖方、供方、乙方)",
"maxLength": "",
"icon": "core/workflow/inputType/input",
"enums": [],
"id": "zee344",
"list": []
},
{
"key": "rulese_id",
"label": "rulese_id",
"type": "custom",
"description": "合同类型",
"required": false,
"valueType": "string",
"defaultValue": "金盘B类",
"icon": "core/workflow/inputType/customVariable",
"enums": [],
"id": "6cr92r",
"list": []
},
{
"id": "gijmkg",
"key": "conversation_id",
"label": "conversation_id",
"type": "custom",
"description": "对话id",
"required": false,
"valueType": "string",
"list": [
{
"value": "",
"label": ""
}
],
"defaultValue": "",
"enums": [
{
"value": "",
"label": ""
}
]
}
],
"scheduledTriggerConfig": {
"cronString": "",
"timezone": "Asia/Shanghai",
"defaultPrompt": ""
},
"fileSelectConfig": {
"canSelectFile": true,
"canSelectImg": false,
"maxFiles": 10
},
"_id": "6964a83b3f20131b526f0fe9"
}
}
\ No newline at end of file
{
{
"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": -877.2610147866768,
"y": -740.2425089712453
},
"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
},
{
"key": "showToolCall",
"valueType": "boolean",
"renderTypeList": [
"hidden"
],
"label": "core.app.Chat showCallTools",
"value": true
}
],
"outputs": []
},
{
"nodeId": "448745",
"name": "common:core.module.template.work_start",
"intro": "",
"avatar": "core/workflow/template/workflowStart",
"flowNodeType": "workflowStart",
"position": {
"x": 66.30847643798234,
"y": -750.3733286176034
},
"version": "481",
"inputs": [
{
"key": "userChatInput",
"renderTypeList": [
"reference",
"textarea"
],
"valueType": "string",
"label": "workflow:user_question",
"required": true,
"toolDescription": "用户问题",
"debugLabel": ""
}
],
"outputs": [
{
"id": "userChatInput",
"key": "userChatInput",
"label": "common:core.module.input.label.user question",
"type": "static",
"valueType": "string",
"description": ""
},
{
"id": "userFiles",
"key": "userFiles",
"label": "app:workflow.user_file_input",
"description": "app:workflow.user_file_input_desc",
"type": "static",
"valueType": "arrayString"
}
]
},
{
"nodeId": "o7b0axI8mmI9pA2A",
"name": "对话ID生成",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 673.6636470725568,
"y": -794.3398978447234
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/conversations/new",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "izcKTGgb1TTt8nrA",
"valueType": "string",
"type": "dynamic",
"key": "created_at",
"label": "created_at"
}
]
},
{
"nodeId": "kTiATZcdlQS9AJfh",
"name": "指定回复",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 1678.9022047942815,
"y": -1238.0066186149727
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "对话ID:{{$o7b0axI8mmI9pA2A.cr1MwXPAoZyXNFtO$}}\n时间:{{$o7b0axI8mmI9pA2A.izcKTGgb1TTt8nrA$}}",
"selectedTypeIndex": 0,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "qyDbIILN5lTVAtwL",
"name": "变量更新",
"intro": "可以更新指定节点的输出值或更新全局变量",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 1781.7722098620077,
"y": -640.884800511195
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"conversation_id"
],
"value": [
"o7b0axI8mmI9pA2A",
"cr1MwXPAoZyXNFtO"
],
"valueType": "string",
"renderType": "reference"
}
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "dnb66tJORbeMkyJN",
"name": "文档解析",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 2537.288007839842,
"y": -1271.2772207602402
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/documents/parse",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"urls\":{{$448745.userFiles$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "efgXQpwwgJO1mSp1",
"valueType": "string",
"type": "dynamic",
"key": "file_ext",
"label": "file_ext"
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "arrayNumber",
"type": "dynamic",
"key": "segment_ids",
"label": "segment_ids"
},
{
"id": "qdyGp4WQgoKrhsok",
"valueType": "arrayString",
"type": "dynamic",
"key": "ruleset_items",
"label": "ruleset_items"
},
{
"id": "ilcLJo25KMbOHpq2",
"valueType": "string",
"type": "dynamic",
"key": "file_name",
"label": "file_name"
}
]
},
{
"nodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段审查",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 3540,
"y": -2169
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayNumber",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"iNPgdfAYnYpstgBc"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"sZgOPo6auO0VbxpF",
"fkEhLHi6xqW7WN9F",
"xwK0VADx97SYrms1",
"pObKlEmqutm1LwAb",
"uN2n4Zbk9kCeKMnR",
"birCXPQQBg65QhqL",
"fUSEiRc8piXA9vrg",
"eJn3wqRsS2peKWHB",
"c1ikNIKm65mcPGdV"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 3130.245316661443
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1568.1776863654786
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayNumber",
"description": ""
}
]
},
{
"nodeId": "sZgOPo6auO0VbxpF",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 3665.3933339646373,
"y": -1659.3309119288897
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "number"
}
]
},
{
"nodeId": "fkEhLHi6xqW7WN9F",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 6174.823672703287,
"y": -513.3974567352745
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"sZgOPo6auO0VbxpF",
"loopStartInput"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "xwK0VADx97SYrms1",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段审查",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 5259.274350321408,
"y": -1833.0068296314835
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/findings",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"routed_rule_titles\":{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "findings",
"label": "findings"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
}
]
},
{
"nodeId": "pObKlEmqutm1LwAb",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "审查结果",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5211.274350321408,
"y": -680.4872661417855
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$xwK0VADx97SYrms1.eiG4Ot4wYh3S1hop$}}]审查结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "reZltCMgymhKe6kG",
"name": "记忆输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 13144.750471649517,
"y": -1836.0591476553748
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "# 最终审查Excel\n{{$v7v3dWPFEySgk5Wk.iNPgdfAYnYpstgBc$}}\n# 最终审查批注\n{{$v7v3dWPFEySgk5Wk.iHDvQZE50AYzR5Is$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "v7v3dWPFEySgk5Wk",
"name": "导出记忆",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 12180.932597464189,
"y": -2180
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/memory/export",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"file_name\":\"{{$dnb66tJORbeMkyJN.ilcLJo25KMbOHpq2$}}\",\n\"finding_key\":\"merge\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "string",
"type": "dynamic",
"key": "excel_url",
"label": "excel_url"
},
{
"id": "iHDvQZE50AYzR5Is",
"valueType": "string",
"type": "dynamic",
"key": "doc_url",
"label": "doc_url"
}
]
},
{
"nodeId": "uN2n4Zbk9kCeKMnR",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段摘要",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 5994.5216575327395,
"y": -1820.4385161622138
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/summary/facts",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"routed_rule_titles\":{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "facts",
"label": "facts"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
}
]
},
{
"nodeId": "birCXPQQBg65QhqL",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "总结结果",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5994.5216575327395,
"y": -839.7899151032311
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$xwK0VADx97SYrms1.eiG4Ot4wYh3S1hop$}}]摘要结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "aYKDyXCemV43x8dN",
"name": "审查反思",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 7521,
"y": -2325
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayString",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"qdyGp4WQgoKrhsok"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"me0XD1NXPznCaPQ6",
"n0GWlgZH93EgFwf9",
"hByfg48KkF6mH1re",
"podT5lu8zdQnkQ9l"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1990.9854284351459
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1348.4947499687016
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayString",
"description": ""
}
]
},
{
"nodeId": "me0XD1NXPznCaPQ6",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 7591.460375659342,
"y": -1842.3081599274785
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "string"
}
]
},
{
"nodeId": "n0GWlgZH93EgFwf9",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 9082.445804094488,
"y": -1842.3081599274785
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"me0XD1NXPznCaPQ6",
"loopStartInput"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "hByfg48KkF6mH1re",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "审查反思输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 8133.53298542438,
"y": -2002.2370957668882
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "开始执行[{{$me0XD1NXPznCaPQ6.loopStartInput$}}]反思...",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "podT5lu8zdQnkQ9l",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "审查反思",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 8157.53298542438,
"y": -1639.7423457981865
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/reflect",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"rule_title\":\"{{$me0XD1NXPznCaPQ6.loopStartInput$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "findings",
"label": "findings"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "rule_title",
"label": "rule_title"
}
]
},
{
"nodeId": "cfFFH6KyckeWOIbs",
"name": "合同类型输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 649.6636470725568,
"y": -1238.0066186149727
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "开始【{{$VARIABLE_NODE_ID.rulese_id$}}】合同审查...",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "fUSEiRc8piXA9vrg",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "规则路由",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 4417.330178346225,
"y": -1845.5751431007532
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/rule-router",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayString",
"type": "dynamic",
"key": "routed_rule_titles",
"label": "routed_rule_titles"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "arrayObject",
"type": "dynamic",
"key": "routed_rules",
"label": "routed_rules"
}
]
},
{
"nodeId": "eJn3wqRsS2peKWHB",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "规则路由",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 4408.831299191108,
"y": -698.0684568555814
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 规则路由结果:{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "c1ikNIKm65mcPGdV",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "指定回复#8",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 3610.2763408712963,
"y": -1153.1088482898695
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZgOPo6auO0VbxpF.loopStartInput$}}]开始审查...\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "iX0JdehTk2UkyqJQ",
"name": "分段合并",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 9751,
"y": -2385
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayNumber",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"iNPgdfAYnYpstgBc"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"sZfiNMxoDkB0aa54",
"fQ1DlN2AnNenhpGY",
"urL0XkS72VPMQy9X",
"lgBu41UbtmPZwEn0"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 2088.564837495929
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1008.9208257499643
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayNumber",
"description": ""
}
]
},
{
"nodeId": "sZfiNMxoDkB0aa54",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 9821.490952798684,
"y": -1773.5518283036738
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "number"
}
]
},
{
"nodeId": "fQ1DlN2AnNenhpGY",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 11179.84709347473,
"y": -1288.9734841600223
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"urL0XkS72VPMQy9X",
"cijcR8mXpjPTQoMN"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "urL0XkS72VPMQy9X",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "分段合并",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 10400.224995436103,
"y": -2061.8943099099865
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/merger",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZfiNMxoDkB0aa54.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"finding_key\":\"reflect\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cijcR8mXpjPTQoMN",
"valueType": "number",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
},
{
"id": "y4ATMWrId8LF0bDZ",
"valueType": "arrayObject",
"type": "dynamic",
"key": "merged_findings",
"label": "merged_findings"
}
]
},
{
"nodeId": "lgBu41UbtmPZwEn0",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "合并输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 11164.055790294613,
"y": -1863.686812467797
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZfiNMxoDkB0aa54.loopStartInput$}}]合并结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
}
],
"edges": [
{
"source": "448745",
"target": "o7b0axI8mmI9pA2A",
"sourceHandle": "448745-source-right",
"targetHandle": "o7b0axI8mmI9pA2A-target-left"
},
{
"source": "o7b0axI8mmI9pA2A",
"target": "kTiATZcdlQS9AJfh",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "kTiATZcdlQS9AJfh-target-left"
},
{
"source": "o7b0axI8mmI9pA2A",
"target": "qyDbIILN5lTVAtwL",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "qyDbIILN5lTVAtwL-target-left"
},
{
"source": "dnb66tJORbeMkyJN",
"target": "xdje3nQ5nYvVNUZJ",
"sourceHandle": "dnb66tJORbeMkyJN-source-right",
"targetHandle": "xdje3nQ5nYvVNUZJ-target-left"
},
{
"source": "v7v3dWPFEySgk5Wk",
"target": "reZltCMgymhKe6kG",
"sourceHandle": "v7v3dWPFEySgk5Wk-source-right",
"targetHandle": "reZltCMgymhKe6kG-target-left"
},
{
"source": "pObKlEmqutm1LwAb",
"target": "uN2n4Zbk9kCeKMnR",
"sourceHandle": "pObKlEmqutm1LwAb-source-right",
"targetHandle": "uN2n4Zbk9kCeKMnR-target-left"
},
{
"source": "xdje3nQ5nYvVNUZJ",
"target": "aYKDyXCemV43x8dN",
"sourceHandle": "xdje3nQ5nYvVNUZJ-source-right",
"targetHandle": "aYKDyXCemV43x8dN-target-left"
},
{
"source": "me0XD1NXPznCaPQ6",
"target": "hByfg48KkF6mH1re",
"sourceHandle": "me0XD1NXPznCaPQ6-source-right",
"targetHandle": "hByfg48KkF6mH1re-target-left"
},
{
"source": "podT5lu8zdQnkQ9l",
"target": "n0GWlgZH93EgFwf9",
"sourceHandle": "podT5lu8zdQnkQ9l-source-right",
"targetHandle": "n0GWlgZH93EgFwf9-target-left"
},
{
"source": "hByfg48KkF6mH1re",
"target": "podT5lu8zdQnkQ9l",
"sourceHandle": "hByfg48KkF6mH1re-source-right",
"targetHandle": "podT5lu8zdQnkQ9l-target-left"
},
{
"source": "448745",
"target": "cfFFH6KyckeWOIbs",
"sourceHandle": "448745-source-right",
"targetHandle": "cfFFH6KyckeWOIbs-target-left"
},
{
"source": "fUSEiRc8piXA9vrg",
"target": "eJn3wqRsS2peKWHB",
"sourceHandle": "fUSEiRc8piXA9vrg-source-right",
"targetHandle": "eJn3wqRsS2peKWHB-target-left"
},
{
"source": "xwK0VADx97SYrms1",
"target": "pObKlEmqutm1LwAb",
"sourceHandle": "xwK0VADx97SYrms1-source-right",
"targetHandle": "pObKlEmqutm1LwAb-target-left"
},
{
"source": "eJn3wqRsS2peKWHB",
"target": "xwK0VADx97SYrms1",
"sourceHandle": "eJn3wqRsS2peKWHB-source-right",
"targetHandle": "xwK0VADx97SYrms1-target-left"
},
{
"source": "uN2n4Zbk9kCeKMnR",
"target": "birCXPQQBg65QhqL",
"sourceHandle": "uN2n4Zbk9kCeKMnR-source-right",
"targetHandle": "birCXPQQBg65QhqL-target-left"
},
{
"source": "birCXPQQBg65QhqL",
"target": "fkEhLHi6xqW7WN9F",
"sourceHandle": "birCXPQQBg65QhqL-source-right",
"targetHandle": "fkEhLHi6xqW7WN9F-target-left"
},
{
"source": "sZgOPo6auO0VbxpF",
"target": "c1ikNIKm65mcPGdV",
"sourceHandle": "sZgOPo6auO0VbxpF-source-right",
"targetHandle": "c1ikNIKm65mcPGdV-target-left"
},
{
"source": "c1ikNIKm65mcPGdV",
"target": "fUSEiRc8piXA9vrg",
"sourceHandle": "c1ikNIKm65mcPGdV-source-right",
"targetHandle": "fUSEiRc8piXA9vrg-target-left"
},
{
"source": "qyDbIILN5lTVAtwL",
"target": "dnb66tJORbeMkyJN",
"sourceHandle": "qyDbIILN5lTVAtwL-source-right",
"targetHandle": "dnb66tJORbeMkyJN-target-left"
},
{
"source": "aYKDyXCemV43x8dN",
"target": "iX0JdehTk2UkyqJQ",
"sourceHandle": "aYKDyXCemV43x8dN-source-right",
"targetHandle": "iX0JdehTk2UkyqJQ-target-left"
},
{
"source": "iX0JdehTk2UkyqJQ",
"target": "v7v3dWPFEySgk5Wk",
"sourceHandle": "iX0JdehTk2UkyqJQ-source-right",
"targetHandle": "v7v3dWPFEySgk5Wk-target-left"
},
{
"source": "sZfiNMxoDkB0aa54",
"target": "urL0XkS72VPMQy9X",
"sourceHandle": "sZfiNMxoDkB0aa54-source-right",
"targetHandle": "urL0XkS72VPMQy9X-target-left"
},
{
"source": "urL0XkS72VPMQy9X",
"target": "lgBu41UbtmPZwEn0",
"sourceHandle": "urL0XkS72VPMQy9X-source-right",
"targetHandle": "lgBu41UbtmPZwEn0-target-left"
},
{
"source": "lgBu41UbtmPZwEn0",
"target": "fQ1DlN2AnNenhpGY",
"sourceHandle": "lgBu41UbtmPZwEn0-source-right",
"targetHandle": "fQ1DlN2AnNenhpGY-target-left"
}
],
"chatConfig": {
"variables": [
{
"key": "party_role",
"label": "party_role",
"type": "input",
"description": "审查所处的角度",
"required": false,
"valueType": "string",
"defaultValue": "金盘(卖方、供方、乙方)",
"maxLength": "",
"icon": "core/workflow/inputType/input",
"enums": [],
"id": "zee344",
"list": []
},
{
"key": "rulese_id",
"label": "rulese_id",
"type": "custom",
"description": "合同类型",
"required": false,
"valueType": "string",
"defaultValue": "金盘",
"icon": "core/workflow/inputType/customVariable",
"enums": [],
"id": "6cr92r",
"list": []
},
{
"id": "gijmkg",
"key": "conversation_id",
"label": "conversation_id",
"type": "custom",
"description": "对话id",
"required": false,
"valueType": "string",
"list": [
{
"value": "",
"label": ""
}
],
"defaultValue": "",
"enums": [
{
"value": "",
"label": ""
}
]
}
],
"scheduledTriggerConfig": {
"cronString": "",
"timezone": "Asia/Shanghai",
"defaultPrompt": ""
},
"fileSelectConfig": {
"canSelectFile": true,
"canSelectImg": false,
"maxFiles": 10
},
"_id": "6964a83b3f20131b526f0fe9"
}
}
\ No newline at end of file
{
{
"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": -1830.6752840119775,
"y": -773.8134339439673
},
"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
},
{
"key": "showToolCall",
"valueType": "boolean",
"renderTypeList": [
"hidden"
],
"label": "core.app.Chat showCallTools",
"value": true
}
],
"outputs": []
},
{
"nodeId": "448745",
"name": "common:core.module.template.work_start",
"intro": "",
"avatar": "core/workflow/template/workflowStart",
"flowNodeType": "workflowStart",
"position": {
"x": -1341.9918261676994,
"y": -720.3035540606256
},
"version": "481",
"inputs": [
{
"key": "userChatInput",
"renderTypeList": [
"reference",
"textarea"
],
"valueType": "string",
"label": "workflow:user_question",
"required": true,
"toolDescription": "用户问题",
"debugLabel": ""
}
],
"outputs": [
{
"id": "userChatInput",
"key": "userChatInput",
"label": "common:core.module.input.label.user question",
"type": "static",
"valueType": "string",
"description": ""
},
{
"id": "userFiles",
"key": "userFiles",
"label": "app:workflow.user_file_input",
"description": "app:workflow.user_file_input_desc",
"type": "static",
"valueType": "arrayString"
}
]
},
{
"nodeId": "o7b0axI8mmI9pA2A",
"name": "对话ID生成",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 861.6608269197992,
"y": -836.3035540606256
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/conversations/new",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "izcKTGgb1TTt8nrA",
"valueType": "string",
"type": "dynamic",
"key": "created_at",
"label": "created_at"
}
]
},
{
"nodeId": "kTiATZcdlQS9AJfh",
"name": "指定回复",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 1678.9022047942815,
"y": -1238.0066186149727
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "对话ID:{{$o7b0axI8mmI9pA2A.cr1MwXPAoZyXNFtO$}}\n时间:{{$o7b0axI8mmI9pA2A.izcKTGgb1TTt8nrA$}}",
"selectedTypeIndex": 0,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "qyDbIILN5lTVAtwL",
"name": "变量更新",
"intro": "可以更新指定节点的输出值或更新全局变量",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 1781.7722098620077,
"y": -640.884800511195
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"conversation_id"
],
"value": [
"o7b0axI8mmI9pA2A",
"cr1MwXPAoZyXNFtO"
],
"valueType": "string",
"renderType": "reference"
}
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "dnb66tJORbeMkyJN",
"name": "文档解析",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 2538.7209602080898,
"y": -1540.672265990803
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/documents/parse",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"urls\":{{$448745.userFiles$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "efgXQpwwgJO1mSp1",
"valueType": "string",
"type": "dynamic",
"key": "file_ext",
"label": "file_ext"
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "arrayNumber",
"type": "dynamic",
"key": "segment_ids",
"label": "segment_ids"
},
{
"id": "qdyGp4WQgoKrhsok",
"valueType": "arrayString",
"type": "dynamic",
"key": "ruleset_items",
"label": "ruleset_items"
},
{
"id": "ilcLJo25KMbOHpq2",
"valueType": "string",
"type": "dynamic",
"key": "file_name",
"label": "file_name"
},
{
"id": "nHSpwLHuJrYCG7cL",
"valueType": "arrayString",
"type": "dynamic",
"key": "summary_names",
"label": "summary_names"
}
]
},
{
"nodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段审查",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 3525,
"y": -2316
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayNumber",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"iNPgdfAYnYpstgBc"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"sZgOPo6auO0VbxpF",
"fkEhLHi6xqW7WN9F",
"uN2n4Zbk9kCeKMnR",
"birCXPQQBg65QhqL",
"fUSEiRc8piXA9vrg",
"eJn3wqRsS2peKWHB",
"c1ikNIKm65mcPGdV"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 3130.245316661443
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1568.1776863654784
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayNumber",
"description": ""
}
]
},
{
"nodeId": "sZgOPo6auO0VbxpF",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 3650.56300364612,
"y": -1806.816599136725
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "number"
}
]
},
{
"nodeId": "fkEhLHi6xqW7WN9F",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 6159.99334238477,
"y": -660.8831439431099
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"sZgOPo6auO0VbxpF",
"loopStartInput"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "reZltCMgymhKe6kG",
"name": "记忆输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 10922.609933585984,
"y": -1855.8115079937172
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "# 最终事实Excel\n{{$v7v3dWPFEySgk5Wk.iNPgdfAYnYpstgBc$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "v7v3dWPFEySgk5Wk",
"name": "导出记忆",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 10037.801500754025,
"y": -2137.203219266925
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/memory/facts/export",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"file_name\":\"{{$dnb66tJORbeMkyJN.ilcLJo25KMbOHpq2$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "string",
"type": "dynamic",
"key": "excel_url",
"label": "excel_url"
}
]
},
{
"nodeId": "uN2n4Zbk9kCeKMnR",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段摘要",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 5233.123143357183,
"y": -1993.0608303085883
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/summary/facts",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"routed_summary_names\":{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "facts",
"label": "facts"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
}
]
},
{
"nodeId": "birCXPQQBg65QhqL",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "总结结果",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5979.691327214222,
"y": -987.2756023110665
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZgOPo6auO0VbxpF.loopStartInput$}}]摘要结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "fUSEiRc8piXA9vrg",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "摘要路由",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 4402.499848027707,
"y": -1993.0608303085883
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/rule-router",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"route_by\":\"summary\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayString",
"type": "dynamic",
"key": "routed_summary_names",
"label": "routed_summary_names"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "arrayObject",
"type": "dynamic",
"key": "routed_rules",
"label": "routed_rules"
}
]
},
{
"nodeId": "eJn3wqRsS2peKWHB",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "规则路由",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 4394.00096887259,
"y": -845.5541440634167
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 摘要路由结果:{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "c1ikNIKm65mcPGdV",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "指定回复#8",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 3595.4460105527787,
"y": -1300.5945354977048
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZgOPo6auO0VbxpF.loopStartInput$}}]开始摘要...\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "mxvszb6FDEk3yd2N",
"name": "事实合并",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 8322.214310551004,
"y": -1973.2032192669249
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/summary/facts/merger",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"summary_names\":{{$dnb66tJORbeMkyJN.nHSpwLHuJrYCG7cL$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "y4ATMWrId8LF0bDZ",
"valueType": "arrayString",
"type": "dynamic",
"key": "summary_names",
"label": "summary_names"
},
{
"id": "sf8hh5kUQv8ln0RI",
"valueType": "arrayObject",
"type": "dynamic",
"key": "merge_facts",
"label": "merge_facts"
}
]
},
{
"nodeId": "dEU6PU3V7idp10RB",
"name": "事实合并输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 9135.851689554367,
"y": -1495.407831719908
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "# 事实合并成功\n{{$mxvszb6FDEk3yd2N.y4ATMWrId8LF0bDZ$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "yR4fA3XTHyjYMN3j",
"name": "问题决策规则",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": -804.8826015635359,
"y": -701.6010115448964
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/rulesets/route",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"question\":\"{{$448745.userChatInput$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "ruleset_id",
"label": "ruleset_id"
},
{
"id": "izcKTGgb1TTt8nrA",
"valueType": "string",
"type": "dynamic",
"key": "reason",
"label": "reason"
}
]
},
{
"nodeId": "rNHAaQ4A2NNI0PCE",
"name": "问题决策规则输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": -34.35458576045818,
"y": -631.9269748016206
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "选择:{{$yR4fA3XTHyjYMN3j.cr1MwXPAoZyXNFtO$}}\n理由:{{$yR4fA3XTHyjYMN3j.izcKTGgb1TTt8nrA$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "te1XPVi9S4GFi6Jx",
"name": "决策规则更新",
"intro": "可以更新指定节点的输出值或更新全局变量",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 99.14541423954182,
"y": -179.19485728103498
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"rulese_id"
],
"value": [
"yR4fA3XTHyjYMN3j",
"cr1MwXPAoZyXNFtO"
],
"valueType": "string",
"renderType": "reference"
}
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
}
],
"edges": [
{
"source": "o7b0axI8mmI9pA2A",
"target": "kTiATZcdlQS9AJfh",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "kTiATZcdlQS9AJfh-target-left"
},
{
"source": "o7b0axI8mmI9pA2A",
"target": "qyDbIILN5lTVAtwL",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "qyDbIILN5lTVAtwL-target-left"
},
{
"source": "dnb66tJORbeMkyJN",
"target": "xdje3nQ5nYvVNUZJ",
"sourceHandle": "dnb66tJORbeMkyJN-source-right",
"targetHandle": "xdje3nQ5nYvVNUZJ-target-left"
},
{
"source": "v7v3dWPFEySgk5Wk",
"target": "reZltCMgymhKe6kG",
"sourceHandle": "v7v3dWPFEySgk5Wk-source-right",
"targetHandle": "reZltCMgymhKe6kG-target-left"
},
{
"source": "fUSEiRc8piXA9vrg",
"target": "eJn3wqRsS2peKWHB",
"sourceHandle": "fUSEiRc8piXA9vrg-source-right",
"targetHandle": "eJn3wqRsS2peKWHB-target-left"
},
{
"source": "uN2n4Zbk9kCeKMnR",
"target": "birCXPQQBg65QhqL",
"sourceHandle": "uN2n4Zbk9kCeKMnR-source-right",
"targetHandle": "birCXPQQBg65QhqL-target-left"
},
{
"source": "birCXPQQBg65QhqL",
"target": "fkEhLHi6xqW7WN9F",
"sourceHandle": "birCXPQQBg65QhqL-source-right",
"targetHandle": "fkEhLHi6xqW7WN9F-target-left"
},
{
"source": "sZgOPo6auO0VbxpF",
"target": "c1ikNIKm65mcPGdV",
"sourceHandle": "sZgOPo6auO0VbxpF-source-right",
"targetHandle": "c1ikNIKm65mcPGdV-target-left"
},
{
"source": "c1ikNIKm65mcPGdV",
"target": "fUSEiRc8piXA9vrg",
"sourceHandle": "c1ikNIKm65mcPGdV-source-right",
"targetHandle": "fUSEiRc8piXA9vrg-target-left"
},
{
"source": "qyDbIILN5lTVAtwL",
"target": "dnb66tJORbeMkyJN",
"sourceHandle": "qyDbIILN5lTVAtwL-source-right",
"targetHandle": "dnb66tJORbeMkyJN-target-left"
},
{
"source": "eJn3wqRsS2peKWHB",
"target": "uN2n4Zbk9kCeKMnR",
"sourceHandle": "eJn3wqRsS2peKWHB-source-right",
"targetHandle": "uN2n4Zbk9kCeKMnR-target-left"
},
{
"source": "xdje3nQ5nYvVNUZJ",
"target": "mxvszb6FDEk3yd2N",
"sourceHandle": "xdje3nQ5nYvVNUZJ-source-right",
"targetHandle": "mxvszb6FDEk3yd2N-target-left"
},
{
"source": "mxvszb6FDEk3yd2N",
"target": "dEU6PU3V7idp10RB",
"sourceHandle": "mxvszb6FDEk3yd2N-source-right",
"targetHandle": "dEU6PU3V7idp10RB-target-left"
},
{
"source": "dEU6PU3V7idp10RB",
"target": "v7v3dWPFEySgk5Wk",
"sourceHandle": "dEU6PU3V7idp10RB-source-right",
"targetHandle": "v7v3dWPFEySgk5Wk-target-left"
},
{
"source": "448745",
"target": "yR4fA3XTHyjYMN3j",
"sourceHandle": "448745-source-right",
"targetHandle": "yR4fA3XTHyjYMN3j-target-left"
},
{
"source": "yR4fA3XTHyjYMN3j",
"target": "rNHAaQ4A2NNI0PCE",
"sourceHandle": "yR4fA3XTHyjYMN3j-source-right",
"targetHandle": "rNHAaQ4A2NNI0PCE-target-left"
},
{
"source": "rNHAaQ4A2NNI0PCE",
"target": "te1XPVi9S4GFi6Jx",
"sourceHandle": "rNHAaQ4A2NNI0PCE-source-bottom",
"targetHandle": "te1XPVi9S4GFi6Jx-target-top"
},
{
"source": "te1XPVi9S4GFi6Jx",
"target": "o7b0axI8mmI9pA2A",
"sourceHandle": "te1XPVi9S4GFi6Jx-source-right",
"targetHandle": "o7b0axI8mmI9pA2A-target-left"
}
],
"chatConfig": {
"variables": [
{
"key": "party_role",
"label": "party_role",
"type": "input",
"description": "审查所处的角度",
"required": false,
"valueType": "string",
"defaultValue": "金盘(卖方、供方、乙方)",
"maxLength": "",
"icon": "core/workflow/inputType/input",
"enums": [],
"id": "zee344",
"list": []
},
{
"key": "rulese_id",
"label": "rulese_id",
"type": "custom",
"description": "需要提取的清单",
"required": false,
"valueType": "string",
"defaultValue": "合同信息提取(合同组)",
"icon": "core/workflow/inputType/customVariable",
"enums": [],
"id": "6cr92r",
"list": []
},
{
"id": "gijmkg",
"key": "conversation_id",
"label": "conversation_id",
"type": "custom",
"description": "对话id",
"required": false,
"valueType": "string",
"list": [
{
"value": "",
"label": ""
}
],
"defaultValue": "",
"enums": [
{
"value": "",
"label": ""
}
]
}
],
"scheduledTriggerConfig": {
"cronString": "",
"timezone": "Asia/Shanghai",
"defaultPrompt": ""
},
"fileSelectConfig": {
"canSelectFile": true,
"canSelectImg": false,
"maxFiles": 10
},
"_id": "6964a83b3f20131b526f0fe9"
}
}
\ No newline at end of file
{
{
"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": -1830.6752840119775,
"y": -773.8134339439673
},
"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
},
{
"key": "showToolCall",
"valueType": "boolean",
"renderTypeList": [
"hidden"
],
"label": "core.app.Chat showCallTools",
"value": true
}
],
"outputs": []
},
{
"nodeId": "448745",
"name": "common:core.module.template.work_start",
"intro": "",
"avatar": "core/workflow/template/workflowStart",
"flowNodeType": "workflowStart",
"position": {
"x": -1341.9918261676994,
"y": -720.3035540606256
},
"version": "481",
"inputs": [
{
"key": "userChatInput",
"renderTypeList": [
"reference",
"textarea"
],
"valueType": "string",
"label": "workflow:user_question",
"required": true,
"toolDescription": "用户问题",
"debugLabel": ""
}
],
"outputs": [
{
"id": "userChatInput",
"key": "userChatInput",
"label": "common:core.module.input.label.user question",
"type": "static",
"valueType": "string",
"description": ""
},
{
"id": "userFiles",
"key": "userFiles",
"label": "app:workflow.user_file_input",
"description": "app:workflow.user_file_input_desc",
"type": "static",
"valueType": "arrayString"
}
]
},
{
"nodeId": "o7b0axI8mmI9pA2A",
"name": "对话ID生成",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 861.6608269197992,
"y": -836.3035540606256
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/conversations/new",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "izcKTGgb1TTt8nrA",
"valueType": "string",
"type": "dynamic",
"key": "created_at",
"label": "created_at"
}
]
},
{
"nodeId": "kTiATZcdlQS9AJfh",
"name": "指定回复",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 1678.9022047942815,
"y": -1238.0066186149727
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "对话ID:{{$o7b0axI8mmI9pA2A.cr1MwXPAoZyXNFtO$}}\n时间:{{$o7b0axI8mmI9pA2A.izcKTGgb1TTt8nrA$}}",
"selectedTypeIndex": 0,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "qyDbIILN5lTVAtwL",
"name": "变量更新",
"intro": "可以更新指定节点的输出值或更新全局变量",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 1781.7722098620077,
"y": -640.884800511195
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"conversation_id"
],
"value": [
"o7b0axI8mmI9pA2A",
"cr1MwXPAoZyXNFtO"
],
"valueType": "string",
"renderType": "reference"
}
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "dnb66tJORbeMkyJN",
"name": "文档解析",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 2538.7209602080898,
"y": -1540.672265990803
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/documents/parse",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"urls\":{{$448745.userFiles$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "efgXQpwwgJO1mSp1",
"valueType": "string",
"type": "dynamic",
"key": "file_ext",
"label": "file_ext"
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "arrayNumber",
"type": "dynamic",
"key": "segment_ids",
"label": "segment_ids"
},
{
"id": "qdyGp4WQgoKrhsok",
"valueType": "arrayString",
"type": "dynamic",
"key": "ruleset_items",
"label": "ruleset_items"
},
{
"id": "ilcLJo25KMbOHpq2",
"valueType": "string",
"type": "dynamic",
"key": "file_name",
"label": "file_name"
},
{
"id": "nHSpwLHuJrYCG7cL",
"valueType": "arrayString",
"type": "dynamic",
"key": "summary_names",
"label": "summary_names"
}
]
},
{
"nodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段审查",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 3525,
"y": -2316
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayNumber",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"iNPgdfAYnYpstgBc"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"sZgOPo6auO0VbxpF",
"fkEhLHi6xqW7WN9F",
"uN2n4Zbk9kCeKMnR",
"birCXPQQBg65QhqL",
"fUSEiRc8piXA9vrg",
"eJn3wqRsS2peKWHB",
"c1ikNIKm65mcPGdV"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 3130.245316661443
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1568.1776863654784
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayNumber",
"description": ""
}
]
},
{
"nodeId": "sZgOPo6auO0VbxpF",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 3650.56300364612,
"y": -1806.816599136725
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "number"
}
]
},
{
"nodeId": "fkEhLHi6xqW7WN9F",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 6159.99334238477,
"y": -660.8831439431099
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"sZgOPo6auO0VbxpF",
"loopStartInput"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "reZltCMgymhKe6kG",
"name": "记忆输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 10922.609933585984,
"y": -1855.8115079937172
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "# 最终事实Excel\n{{$v7v3dWPFEySgk5Wk.iNPgdfAYnYpstgBc$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "v7v3dWPFEySgk5Wk",
"name": "导出记忆",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 10037.801500754025,
"y": -2137.203219266925
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/memory/facts/export",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"file_name\":\"{{$dnb66tJORbeMkyJN.ilcLJo25KMbOHpq2$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "string",
"type": "dynamic",
"key": "excel_url",
"label": "excel_url"
}
]
},
{
"nodeId": "uN2n4Zbk9kCeKMnR",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段摘要",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 5233.123143357183,
"y": -1993.0608303085883
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/summary/facts",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"routed_summary_names\":{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "facts",
"label": "facts"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
}
]
},
{
"nodeId": "birCXPQQBg65QhqL",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "总结结果",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5979.691327214222,
"y": -987.2756023110665
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZgOPo6auO0VbxpF.loopStartInput$}}]摘要结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "fUSEiRc8piXA9vrg",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "摘要路由",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 4402.499848027707,
"y": -1993.0608303085883
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/review/rule-router",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"route_by\":\"summary\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayString",
"type": "dynamic",
"key": "routed_summary_names",
"label": "routed_summary_names"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "arrayObject",
"type": "dynamic",
"key": "routed_rules",
"label": "routed_rules"
}
]
},
{
"nodeId": "eJn3wqRsS2peKWHB",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "规则路由",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 4394.00096887259,
"y": -845.5541440634167
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 摘要路由结果:{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "c1ikNIKm65mcPGdV",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "指定回复#8",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 3595.4460105527787,
"y": -1300.5945354977048
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZgOPo6auO0VbxpF.loopStartInput$}}]开始摘要...\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "mxvszb6FDEk3yd2N",
"name": "事实合并",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 8322.214310551004,
"y": -1973.2032192669249
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/segments/summary/facts/merger",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"summary_names\":{{$dnb66tJORbeMkyJN.nHSpwLHuJrYCG7cL$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "y4ATMWrId8LF0bDZ",
"valueType": "arrayString",
"type": "dynamic",
"key": "summary_names",
"label": "summary_names"
},
{
"id": "sf8hh5kUQv8ln0RI",
"valueType": "arrayObject",
"type": "dynamic",
"key": "merge_facts",
"label": "merge_facts"
}
]
},
{
"nodeId": "dEU6PU3V7idp10RB",
"name": "事实合并输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 9135.851689554367,
"y": -1495.407831719908
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "# 事实合并成功\n{{$mxvszb6FDEk3yd2N.y4ATMWrId8LF0bDZ$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "yR4fA3XTHyjYMN3j",
"name": "问题决策规则",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": -804.8826015635359,
"y": -701.6010115448964
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://172.21.107.45:18169/rulesets/route",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"question\":\"{{$448745.userChatInput$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "ruleset_id",
"label": "ruleset_id"
},
{
"id": "izcKTGgb1TTt8nrA",
"valueType": "string",
"type": "dynamic",
"key": "reason",
"label": "reason"
}
]
},
{
"nodeId": "rNHAaQ4A2NNI0PCE",
"name": "问题决策规则输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": -34.35458576045818,
"y": -631.9269748016206
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "选择:{{$yR4fA3XTHyjYMN3j.cr1MwXPAoZyXNFtO$}}\n理由:{{$yR4fA3XTHyjYMN3j.izcKTGgb1TTt8nrA$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "te1XPVi9S4GFi6Jx",
"name": "决策规则更新",
"intro": "可以更新指定节点的输出值或更新全局变量",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 99.14541423954182,
"y": -179.19485728103498
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"rulese_id"
],
"value": [
"yR4fA3XTHyjYMN3j",
"cr1MwXPAoZyXNFtO"
],
"valueType": "string",
"renderType": "reference"
}
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
}
],
"edges": [
{
"source": "o7b0axI8mmI9pA2A",
"target": "kTiATZcdlQS9AJfh",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "kTiATZcdlQS9AJfh-target-left"
},
{
"source": "o7b0axI8mmI9pA2A",
"target": "qyDbIILN5lTVAtwL",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "qyDbIILN5lTVAtwL-target-left"
},
{
"source": "dnb66tJORbeMkyJN",
"target": "xdje3nQ5nYvVNUZJ",
"sourceHandle": "dnb66tJORbeMkyJN-source-right",
"targetHandle": "xdje3nQ5nYvVNUZJ-target-left"
},
{
"source": "v7v3dWPFEySgk5Wk",
"target": "reZltCMgymhKe6kG",
"sourceHandle": "v7v3dWPFEySgk5Wk-source-right",
"targetHandle": "reZltCMgymhKe6kG-target-left"
},
{
"source": "fUSEiRc8piXA9vrg",
"target": "eJn3wqRsS2peKWHB",
"sourceHandle": "fUSEiRc8piXA9vrg-source-right",
"targetHandle": "eJn3wqRsS2peKWHB-target-left"
},
{
"source": "uN2n4Zbk9kCeKMnR",
"target": "birCXPQQBg65QhqL",
"sourceHandle": "uN2n4Zbk9kCeKMnR-source-right",
"targetHandle": "birCXPQQBg65QhqL-target-left"
},
{
"source": "birCXPQQBg65QhqL",
"target": "fkEhLHi6xqW7WN9F",
"sourceHandle": "birCXPQQBg65QhqL-source-right",
"targetHandle": "fkEhLHi6xqW7WN9F-target-left"
},
{
"source": "sZgOPo6auO0VbxpF",
"target": "c1ikNIKm65mcPGdV",
"sourceHandle": "sZgOPo6auO0VbxpF-source-right",
"targetHandle": "c1ikNIKm65mcPGdV-target-left"
},
{
"source": "c1ikNIKm65mcPGdV",
"target": "fUSEiRc8piXA9vrg",
"sourceHandle": "c1ikNIKm65mcPGdV-source-right",
"targetHandle": "fUSEiRc8piXA9vrg-target-left"
},
{
"source": "qyDbIILN5lTVAtwL",
"target": "dnb66tJORbeMkyJN",
"sourceHandle": "qyDbIILN5lTVAtwL-source-right",
"targetHandle": "dnb66tJORbeMkyJN-target-left"
},
{
"source": "eJn3wqRsS2peKWHB",
"target": "uN2n4Zbk9kCeKMnR",
"sourceHandle": "eJn3wqRsS2peKWHB-source-right",
"targetHandle": "uN2n4Zbk9kCeKMnR-target-left"
},
{
"source": "xdje3nQ5nYvVNUZJ",
"target": "mxvszb6FDEk3yd2N",
"sourceHandle": "xdje3nQ5nYvVNUZJ-source-right",
"targetHandle": "mxvszb6FDEk3yd2N-target-left"
},
{
"source": "mxvszb6FDEk3yd2N",
"target": "dEU6PU3V7idp10RB",
"sourceHandle": "mxvszb6FDEk3yd2N-source-right",
"targetHandle": "dEU6PU3V7idp10RB-target-left"
},
{
"source": "dEU6PU3V7idp10RB",
"target": "v7v3dWPFEySgk5Wk",
"sourceHandle": "dEU6PU3V7idp10RB-source-right",
"targetHandle": "v7v3dWPFEySgk5Wk-target-left"
},
{
"source": "448745",
"target": "yR4fA3XTHyjYMN3j",
"sourceHandle": "448745-source-right",
"targetHandle": "yR4fA3XTHyjYMN3j-target-left"
},
{
"source": "yR4fA3XTHyjYMN3j",
"target": "rNHAaQ4A2NNI0PCE",
"sourceHandle": "yR4fA3XTHyjYMN3j-source-right",
"targetHandle": "rNHAaQ4A2NNI0PCE-target-left"
},
{
"source": "rNHAaQ4A2NNI0PCE",
"target": "te1XPVi9S4GFi6Jx",
"sourceHandle": "rNHAaQ4A2NNI0PCE-source-bottom",
"targetHandle": "te1XPVi9S4GFi6Jx-target-top"
},
{
"source": "te1XPVi9S4GFi6Jx",
"target": "o7b0axI8mmI9pA2A",
"sourceHandle": "te1XPVi9S4GFi6Jx-source-right",
"targetHandle": "o7b0axI8mmI9pA2A-target-left"
}
],
"chatConfig": {
"variables": [
{
"key": "party_role",
"label": "party_role",
"type": "input",
"description": "审查所处的角度",
"required": false,
"valueType": "string",
"defaultValue": "金盘(卖方、供方、乙方)",
"maxLength": "",
"icon": "core/workflow/inputType/input",
"enums": [],
"id": "zee344",
"list": []
},
{
"key": "rulese_id",
"label": "rulese_id",
"type": "custom",
"description": "需要提取的清单",
"required": false,
"valueType": "string",
"defaultValue": "技术协议提取(技术部)",
"icon": "core/workflow/inputType/customVariable",
"enums": [],
"id": "6cr92r",
"list": []
},
{
"id": "gijmkg",
"key": "conversation_id",
"label": "conversation_id",
"type": "custom",
"description": "对话id",
"required": false,
"valueType": "string",
"list": [
{
"value": "",
"label": ""
}
],
"defaultValue": "",
"enums": [
{
"value": "",
"label": ""
}
]
}
],
"scheduledTriggerConfig": {
"cronString": "",
"timezone": "Asia/Shanghai",
"defaultPrompt": ""
},
"fileSelectConfig": {
"canSelectFile": true,
"canSelectImg": false,
"maxFiles": 10
},
"_id": "6964a83b3f20131b526f0fe9"
}
}
\ No newline at end of file
{
{
"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": -877.2610147866768,
"y": -740.2425089712453
},
"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
},
{
"key": "showToolCall",
"valueType": "boolean",
"renderTypeList": [
"hidden"
],
"label": "core.app.Chat showCallTools",
"value": true
}
],
"outputs": []
},
{
"nodeId": "448745",
"name": "common:core.module.template.work_start",
"intro": "",
"avatar": "core/workflow/template/workflowStart",
"flowNodeType": "workflowStart",
"position": {
"x": 66.30847643798234,
"y": -750.3733286176034
},
"version": "481",
"inputs": [
{
"key": "userChatInput",
"renderTypeList": [
"reference",
"textarea"
],
"valueType": "string",
"label": "workflow:user_question",
"required": true,
"toolDescription": "用户问题",
"debugLabel": ""
}
],
"outputs": [
{
"id": "userChatInput",
"key": "userChatInput",
"label": "common:core.module.input.label.user question",
"type": "static",
"valueType": "string",
"description": ""
},
{
"id": "userFiles",
"key": "userFiles",
"label": "app:workflow.user_file_input",
"description": "app:workflow.user_file_input_desc",
"type": "static",
"valueType": "arrayString"
}
]
},
{
"nodeId": "o7b0axI8mmI9pA2A",
"name": "对话ID生成",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 673.6636470725568,
"y": -794.3398978447234
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://192.168.252.71:18169/conversations/new",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "izcKTGgb1TTt8nrA",
"valueType": "string",
"type": "dynamic",
"key": "created_at",
"label": "created_at"
}
]
},
{
"nodeId": "kTiATZcdlQS9AJfh",
"name": "指定回复",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 1678.9022047942815,
"y": -1238.0066186149727
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "对话ID:{{$o7b0axI8mmI9pA2A.cr1MwXPAoZyXNFtO$}}\n时间:{{$o7b0axI8mmI9pA2A.izcKTGgb1TTt8nrA$}}",
"selectedTypeIndex": 0,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "qyDbIILN5lTVAtwL",
"name": "变量更新",
"intro": "可以更新指定节点的输出值或更新全局变量",
"avatar": "core/workflow/template/variableUpdate",
"flowNodeType": "variableUpdate",
"showStatus": false,
"position": {
"x": 1781.7722098620077,
"y": -640.884800511195
},
"version": "481",
"inputs": [
{
"key": "updateList",
"valueType": "any",
"label": "",
"renderTypeList": [
"hidden"
],
"value": [
{
"variable": [
"VARIABLE_NODE_ID",
"conversation_id"
],
"value": [
"o7b0axI8mmI9pA2A",
"cr1MwXPAoZyXNFtO"
],
"valueType": "string",
"renderType": "reference"
}
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "dnb66tJORbeMkyJN",
"name": "文档解析",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 2537.288007839842,
"y": -1271.2772207602402
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://192.168.252.71:18169/documents/parse",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"urls\":{{$448745.userFiles$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cr1MwXPAoZyXNFtO",
"valueType": "string",
"type": "dynamic",
"key": "conversation_id",
"label": "conversation_id"
},
{
"id": "efgXQpwwgJO1mSp1",
"valueType": "string",
"type": "dynamic",
"key": "file_ext",
"label": "file_ext"
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "arrayNumber",
"type": "dynamic",
"key": "segment_ids",
"label": "segment_ids"
},
{
"id": "qdyGp4WQgoKrhsok",
"valueType": "arrayString",
"type": "dynamic",
"key": "ruleset_items",
"label": "ruleset_items"
}
]
},
{
"nodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段审查",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 3540,
"y": -2169
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayNumber",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"iNPgdfAYnYpstgBc"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"sZgOPo6auO0VbxpF",
"fkEhLHi6xqW7WN9F",
"xwK0VADx97SYrms1",
"pObKlEmqutm1LwAb",
"uN2n4Zbk9kCeKMnR",
"birCXPQQBg65QhqL",
"fUSEiRc8piXA9vrg",
"eJn3wqRsS2peKWHB",
"c1ikNIKm65mcPGdV"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 3130.245316661443
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1568.1776863654786
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayNumber",
"description": ""
}
]
},
{
"nodeId": "sZgOPo6auO0VbxpF",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 3665.3933339646373,
"y": -1659.3309119288897
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "number"
}
]
},
{
"nodeId": "fkEhLHi6xqW7WN9F",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 6174.823672703287,
"y": -513.3974567352745
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"sZgOPo6auO0VbxpF",
"loopStartInput"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "xwK0VADx97SYrms1",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段审查",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 5259.274350321408,
"y": -1833.0068296314835
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://192.168.252.71:18169/segments/review/findings",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"routed_rule_titles\":{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "findings",
"label": "findings"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
}
]
},
{
"nodeId": "pObKlEmqutm1LwAb",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "审查结果",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5211.274350321408,
"y": -680.4872661417855
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$xwK0VADx97SYrms1.eiG4Ot4wYh3S1hop$}}]审查结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "reZltCMgymhKe6kG",
"name": "记忆输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 13144.750471649517,
"y": -1836.0591476553748
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "# 最终审查Excel\n{{$v7v3dWPFEySgk5Wk.iNPgdfAYnYpstgBc$}}\n# 最终审查批注\n{{$v7v3dWPFEySgk5Wk.iHDvQZE50AYzR5Is$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "v7v3dWPFEySgk5Wk",
"name": "导出记忆",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 12180.932597464189,
"y": -2180
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 30,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://192.168.252.71:18169/memory/export",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"finding_key\":\"merge\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "iNPgdfAYnYpstgBc",
"valueType": "string",
"type": "dynamic",
"key": "excel_url",
"label": "excel_url"
},
{
"id": "iHDvQZE50AYzR5Is",
"valueType": "string",
"type": "dynamic",
"key": "doc_url",
"label": "doc_url"
}
]
},
{
"nodeId": "uN2n4Zbk9kCeKMnR",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "分段摘要",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 5994.5216575327395,
"y": -1820.4385161622138
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://192.168.252.71:18169/segments/summary/facts",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"routed_rule_titles\":{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "facts",
"label": "facts"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
}
]
},
{
"nodeId": "birCXPQQBg65QhqL",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "总结结果",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 5994.5216575327395,
"y": -839.7899151032311
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$xwK0VADx97SYrms1.eiG4Ot4wYh3S1hop$}}]摘要结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "aYKDyXCemV43x8dN",
"name": "审查反思",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 7521,
"y": -2325
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayString",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"qdyGp4WQgoKrhsok"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"me0XD1NXPznCaPQ6",
"n0GWlgZH93EgFwf9",
"hByfg48KkF6mH1re",
"podT5lu8zdQnkQ9l"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1990.9854284351459
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1348.4947499687016
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayString",
"description": ""
}
]
},
{
"nodeId": "me0XD1NXPznCaPQ6",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 7591.460375659342,
"y": -1842.3081599274785
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "string"
}
]
},
{
"nodeId": "n0GWlgZH93EgFwf9",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 9082.445804094488,
"y": -1842.3081599274785
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"me0XD1NXPznCaPQ6",
"loopStartInput"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "hByfg48KkF6mH1re",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "审查反思输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 8133.53298542438,
"y": -2002.2370957668882
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "开始执行[{{$me0XD1NXPznCaPQ6.loopStartInput$}}]反思...",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "podT5lu8zdQnkQ9l",
"parentNodeId": "aYKDyXCemV43x8dN",
"name": "审查反思",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 8157.53298542438,
"y": -1639.7423457981865
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://192.168.252.71:18169/segments/review/reflect",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\",\n\"rule_title\":\"{{$me0XD1NXPznCaPQ6.loopStartInput$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayObject",
"type": "dynamic",
"key": "findings",
"label": "findings"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "string",
"type": "dynamic",
"key": "rule_title",
"label": "rule_title"
}
]
},
{
"nodeId": "cfFFH6KyckeWOIbs",
"name": "合同类型输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 649.6636470725568,
"y": -1238.0066186149727
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "开始【{{$VARIABLE_NODE_ID.rulese_id$}}】合同审查...",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "fUSEiRc8piXA9vrg",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "规则路由",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 4417.330178346225,
"y": -1845.5751431007532
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://192.168.252.71:18169/segments/review/rule-router",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZgOPo6auO0VbxpF.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"party_role\":\"{{$VARIABLE_NODE_ID.party_role$}}\",\n\"file_ext\":\"{{$dnb66tJORbeMkyJN.efgXQpwwgJO1mSp1$}}\",\n\"ruleset_id\":\"{{$VARIABLE_NODE_ID.rulese_id$}}\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [
{
"key": "urls",
"type": "string",
"value": "{{$448745.userFiles$}}"
}
],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "pPajyf6CyU7513sL",
"valueType": "arrayString",
"type": "dynamic",
"key": "routed_rule_titles",
"label": "routed_rule_titles"
},
{
"id": "eiG4Ot4wYh3S1hop",
"valueType": "arrayObject",
"type": "dynamic",
"key": "routed_rules",
"label": "routed_rules"
}
]
},
{
"nodeId": "eJn3wqRsS2peKWHB",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "规则路由",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 4408.831299191108,
"y": -698.0684568555814
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 规则路由结果:{{$fUSEiRc8piXA9vrg.pPajyf6CyU7513sL$}}",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "c1ikNIKm65mcPGdV",
"parentNodeId": "xdje3nQ5nYvVNUZJ",
"name": "指定回复#8",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 3610.2763408712963,
"y": -1153.1088482898695
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZgOPo6auO0VbxpF.loopStartInput$}}]开始审查...\n",
"valueDesc": "",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "iX0JdehTk2UkyqJQ",
"name": "分段合并",
"intro": "输入一个数组,遍历数组并将每一个数组元素作为输入元素,执行工作流。",
"avatar": "core/workflow/template/loop",
"flowNodeType": "loop",
"showStatus": true,
"position": {
"x": 9751,
"y": -2385
},
"version": "4811",
"inputs": [
{
"key": "loopInputArray",
"renderTypeList": [
"reference"
],
"valueType": "arrayNumber",
"required": true,
"label": "workflow:loop_input_array",
"value": [
[
"dnb66tJORbeMkyJN",
"iNPgdfAYnYpstgBc"
]
],
"debugLabel": "",
"toolDescription": ""
},
{
"key": "childrenNodeIdList",
"renderTypeList": [
"hidden"
],
"valueType": "arrayString",
"label": "",
"value": [
"sZfiNMxoDkB0aa54",
"fQ1DlN2AnNenhpGY",
"urL0XkS72VPMQy9X",
"lgBu41UbtmPZwEn0"
]
},
{
"key": "nodeWidth",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 2088.564837495929
},
{
"key": "nodeHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 1008.9208257499643
},
{
"key": "loopNodeInputHeight",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "",
"value": 83,
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopArray",
"key": "loopArray",
"label": "workflow:loop_result",
"type": "static",
"valueType": "arrayNumber",
"description": ""
}
]
},
{
"nodeId": "sZfiNMxoDkB0aa54",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "开始",
"avatar": "core/workflow/template/loopStart",
"flowNodeType": "loopStart",
"showStatus": false,
"position": {
"x": 9821.490952798684,
"y": -1773.5518283036738
},
"version": "4811",
"inputs": [
{
"key": "loopStartInput",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"label": "",
"required": true,
"value": "",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "loopStartIndex",
"renderTypeList": [
"hidden"
],
"valueType": "number",
"label": "workflow:Array_element_index",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": [
{
"id": "loopStartIndex",
"key": "loopStartIndex",
"label": "workflow:Array_element_index",
"type": "static",
"valueType": "number",
"description": ""
},
{
"id": "loopStartInput",
"key": "loopStartInput",
"label": "数组元素",
"type": "static",
"valueType": "number"
}
]
},
{
"nodeId": "fQ1DlN2AnNenhpGY",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "结束",
"avatar": "core/workflow/template/loopEnd",
"flowNodeType": "loopEnd",
"showStatus": false,
"position": {
"x": 11179.84709347473,
"y": -1288.9734841600223
},
"version": "4811",
"inputs": [
{
"key": "loopEndInput",
"renderTypeList": [
"reference"
],
"valueType": "any",
"label": "",
"required": true,
"value": [
"urL0XkS72VPMQy9X",
"cijcR8mXpjPTQoMN"
],
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
},
{
"nodeId": "urL0XkS72VPMQy9X",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "分段合并",
"intro": "可以发出一个 HTTP 请求,实现更为复杂的操作(联网搜索、数据库查询等)",
"avatar": "core/workflow/template/httpRequest",
"flowNodeType": "httpRequest468",
"showStatus": true,
"position": {
"x": 10400.224995436103,
"y": -2061.8943099099865
},
"version": "481",
"inputs": [
{
"key": "system_addInputParam",
"renderTypeList": [
"addInputParam"
],
"valueType": "dynamic",
"label": "",
"required": false,
"description": "common:core.module.input.description.HTTP Dynamic Input",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
},
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpMethod",
"renderTypeList": [
"custom"
],
"valueType": "string",
"label": "",
"value": "POST",
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpTimeout",
"renderTypeList": [
"custom"
],
"valueType": "number",
"label": "",
"value": 600,
"min": 5,
"max": 600,
"required": true,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpReqUrl",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"label": "",
"description": "common:core.module.input.description.Http Request Url",
"placeholder": "https://api.ai.com/getInventory",
"required": false,
"value": "http://192.168.252.71:18169/segments/review/merger",
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpHeader",
"renderTypeList": [
"custom"
],
"valueType": "any",
"value": [],
"label": "",
"description": "common:core.module.input.description.Http Request Header",
"placeholder": "common:core.module.input.description.Http Request Header",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpParams",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpJsonBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": "{\n\"segment_id\":{{$sZfiNMxoDkB0aa54.loopStartInput$}},\n\"conversation_id\":\"{{$VARIABLE_NODE_ID.conversation_id$}}\",\n\"finding_key\":\"reflect\"\n}",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpFormBody",
"renderTypeList": [
"hidden"
],
"valueType": "any",
"value": [],
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_httpContentType",
"renderTypeList": [
"hidden"
],
"valueType": "string",
"value": "json",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": ""
},
{
"key": "system_header_secret",
"renderTypeList": [
"hidden"
],
"valueType": "object",
"label": "",
"required": false,
"debugLabel": "",
"toolDescription": "",
"customInputConfig": {
"selectValueTypeList": [
"string",
"number",
"boolean",
"object",
"arrayString",
"arrayNumber",
"arrayBoolean",
"arrayObject",
"arrayAny",
"any",
"chatHistory",
"datasetQuote",
"dynamic",
"selectDataset",
"selectApp"
],
"showDescription": false,
"showDefaultValue": true
}
}
],
"outputs": [
{
"id": "error",
"key": "error",
"label": "workflow:request_error",
"description": "HTTP请求错误信息,成功时返回空",
"valueType": "object",
"type": "static"
},
{
"id": "httpRawResponse",
"key": "httpRawResponse",
"required": true,
"label": "workflow:raw_response",
"description": "HTTP请求的原始响应。只能接受字符串或JSON类型响应数据。",
"valueType": "any",
"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": "可以通过 JSONPath 语法来提取响应值中的指定字段",
"valueDesc": ""
},
{
"id": "cijcR8mXpjPTQoMN",
"valueType": "number",
"type": "dynamic",
"key": "segment_id",
"label": "segment_id"
},
{
"id": "y4ATMWrId8LF0bDZ",
"valueType": "arrayObject",
"type": "dynamic",
"key": "merged_findings",
"label": "merged_findings"
}
]
},
{
"nodeId": "lgBu41UbtmPZwEn0",
"parentNodeId": "iX0JdehTk2UkyqJQ",
"name": "合并输出",
"intro": "该模块可以直接回复一段指定的内容。常用于引导、提示。非字符串内容传入时,会转成字符串进行输出。",
"avatar": "core/workflow/template/reply",
"flowNodeType": "answerNode",
"position": {
"x": 11164.055790294613,
"y": -1863.686812467797
},
"version": "481",
"inputs": [
{
"key": "text",
"renderTypeList": [
"textarea",
"reference"
],
"valueType": "any",
"required": true,
"label": "common:core.module.input.label.Response content",
"description": "common:core.module.input.description.Response content",
"placeholder": "common:core.module.input.description.Response content",
"value": "- 分段[{{$sZfiNMxoDkB0aa54.loopStartInput$}}]合并结束...\n",
"debugLabel": "",
"toolDescription": ""
}
],
"outputs": []
}
],
"edges": [
{
"source": "448745",
"target": "o7b0axI8mmI9pA2A",
"sourceHandle": "448745-source-right",
"targetHandle": "o7b0axI8mmI9pA2A-target-left"
},
{
"source": "o7b0axI8mmI9pA2A",
"target": "kTiATZcdlQS9AJfh",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "kTiATZcdlQS9AJfh-target-left"
},
{
"source": "o7b0axI8mmI9pA2A",
"target": "qyDbIILN5lTVAtwL",
"sourceHandle": "o7b0axI8mmI9pA2A-source-right",
"targetHandle": "qyDbIILN5lTVAtwL-target-left"
},
{
"source": "dnb66tJORbeMkyJN",
"target": "xdje3nQ5nYvVNUZJ",
"sourceHandle": "dnb66tJORbeMkyJN-source-right",
"targetHandle": "xdje3nQ5nYvVNUZJ-target-left"
},
{
"source": "v7v3dWPFEySgk5Wk",
"target": "reZltCMgymhKe6kG",
"sourceHandle": "v7v3dWPFEySgk5Wk-source-right",
"targetHandle": "reZltCMgymhKe6kG-target-left"
},
{
"source": "pObKlEmqutm1LwAb",
"target": "uN2n4Zbk9kCeKMnR",
"sourceHandle": "pObKlEmqutm1LwAb-source-right",
"targetHandle": "uN2n4Zbk9kCeKMnR-target-left"
},
{
"source": "xdje3nQ5nYvVNUZJ",
"target": "aYKDyXCemV43x8dN",
"sourceHandle": "xdje3nQ5nYvVNUZJ-source-right",
"targetHandle": "aYKDyXCemV43x8dN-target-left"
},
{
"source": "me0XD1NXPznCaPQ6",
"target": "hByfg48KkF6mH1re",
"sourceHandle": "me0XD1NXPznCaPQ6-source-right",
"targetHandle": "hByfg48KkF6mH1re-target-left"
},
{
"source": "podT5lu8zdQnkQ9l",
"target": "n0GWlgZH93EgFwf9",
"sourceHandle": "podT5lu8zdQnkQ9l-source-right",
"targetHandle": "n0GWlgZH93EgFwf9-target-left"
},
{
"source": "hByfg48KkF6mH1re",
"target": "podT5lu8zdQnkQ9l",
"sourceHandle": "hByfg48KkF6mH1re-source-right",
"targetHandle": "podT5lu8zdQnkQ9l-target-left"
},
{
"source": "448745",
"target": "cfFFH6KyckeWOIbs",
"sourceHandle": "448745-source-right",
"targetHandle": "cfFFH6KyckeWOIbs-target-left"
},
{
"source": "fUSEiRc8piXA9vrg",
"target": "eJn3wqRsS2peKWHB",
"sourceHandle": "fUSEiRc8piXA9vrg-source-right",
"targetHandle": "eJn3wqRsS2peKWHB-target-left"
},
{
"source": "xwK0VADx97SYrms1",
"target": "pObKlEmqutm1LwAb",
"sourceHandle": "xwK0VADx97SYrms1-source-right",
"targetHandle": "pObKlEmqutm1LwAb-target-left"
},
{
"source": "eJn3wqRsS2peKWHB",
"target": "xwK0VADx97SYrms1",
"sourceHandle": "eJn3wqRsS2peKWHB-source-right",
"targetHandle": "xwK0VADx97SYrms1-target-left"
},
{
"source": "uN2n4Zbk9kCeKMnR",
"target": "birCXPQQBg65QhqL",
"sourceHandle": "uN2n4Zbk9kCeKMnR-source-right",
"targetHandle": "birCXPQQBg65QhqL-target-left"
},
{
"source": "birCXPQQBg65QhqL",
"target": "fkEhLHi6xqW7WN9F",
"sourceHandle": "birCXPQQBg65QhqL-source-right",
"targetHandle": "fkEhLHi6xqW7WN9F-target-left"
},
{
"source": "sZgOPo6auO0VbxpF",
"target": "c1ikNIKm65mcPGdV",
"sourceHandle": "sZgOPo6auO0VbxpF-source-right",
"targetHandle": "c1ikNIKm65mcPGdV-target-left"
},
{
"source": "c1ikNIKm65mcPGdV",
"target": "fUSEiRc8piXA9vrg",
"sourceHandle": "c1ikNIKm65mcPGdV-source-right",
"targetHandle": "fUSEiRc8piXA9vrg-target-left"
},
{
"source": "qyDbIILN5lTVAtwL",
"target": "dnb66tJORbeMkyJN",
"sourceHandle": "qyDbIILN5lTVAtwL-source-right",
"targetHandle": "dnb66tJORbeMkyJN-target-left"
},
{
"source": "aYKDyXCemV43x8dN",
"target": "iX0JdehTk2UkyqJQ",
"sourceHandle": "aYKDyXCemV43x8dN-source-right",
"targetHandle": "iX0JdehTk2UkyqJQ-target-left"
},
{
"source": "iX0JdehTk2UkyqJQ",
"target": "v7v3dWPFEySgk5Wk",
"sourceHandle": "iX0JdehTk2UkyqJQ-source-right",
"targetHandle": "v7v3dWPFEySgk5Wk-target-left"
},
{
"source": "sZfiNMxoDkB0aa54",
"target": "urL0XkS72VPMQy9X",
"sourceHandle": "sZfiNMxoDkB0aa54-source-right",
"targetHandle": "urL0XkS72VPMQy9X-target-left"
},
{
"source": "urL0XkS72VPMQy9X",
"target": "lgBu41UbtmPZwEn0",
"sourceHandle": "urL0XkS72VPMQy9X-source-right",
"targetHandle": "lgBu41UbtmPZwEn0-target-left"
},
{
"source": "lgBu41UbtmPZwEn0",
"target": "fQ1DlN2AnNenhpGY",
"sourceHandle": "lgBu41UbtmPZwEn0-source-right",
"targetHandle": "fQ1DlN2AnNenhpGY-target-left"
}
],
"chatConfig": {
"variables": [
{
"key": "party_role",
"label": "party_role",
"type": "input",
"description": "审查所处的角度",
"required": false,
"valueType": "string",
"defaultValue": "金盘(卖方、供方、乙方)",
"maxLength": "",
"icon": "core/workflow/inputType/input",
"enums": [],
"id": "zee344",
"list": []
},
{
"key": "rulese_id",
"label": "rulese_id",
"type": "custom",
"description": "合同类型",
"required": false,
"valueType": "string",
"defaultValue": "通用",
"icon": "core/workflow/inputType/customVariable",
"enums": [],
"id": "6cr92r",
"list": []
},
{
"id": "gijmkg",
"key": "conversation_id",
"label": "conversation_id",
"type": "custom",
"description": "对话id",
"required": false,
"valueType": "string",
"list": [
{
"value": "",
"label": ""
}
],
"defaultValue": "",
"enums": [
{
"value": "",
"label": ""
}
]
}
],
"scheduledTriggerConfig": {
"cronString": "",
"timezone": "Asia/Shanghai",
"defaultPrompt": ""
},
"fileSelectConfig": {
"canSelectFile": true,
"canSelectImg": false,
"maxFiles": 10
},
"_id": "6964a83b3f20131b526f0fe9"
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment