} Promise 校验结果
- */
- self.validate = async () => {
- const startNodes = self.getStartNodes();
- if (startNodes.length < 1) {
- return Promise.reject(new Error(JSON.stringify({
- errorFields: [{
- errors: ['未找到开始节点'],
- name: 'node-error',
- }],
- })));
- }
- if (startNodes.length > 1) {
- return Promise.reject(new Error(JSON.stringify({
- errorFields: [{
- errors: ['开始节点只有一个时才允许运行'],
- name: 'node-error',
- }],
- })));
- }
- const startNode = startNodes[0];
-
- const traverseNodesOnTheLink = () => {
- const visited = new Set(); // 记录已访问的节点
- const queue = [startNode]; // 初始化队列,从开始节点开始
- // BFS 遍历所有节点
- while (queue.length > 0) {
- const node = queue.shift();
- visited.add(node.id); // 标记节点为已访问
- const nextNodes = node.getNextRunnableNodes();
- // 将所有未访问过的下一个节点加入队列
- nextNodes.forEach(nextNode => {
- if (!visited.has(nextNode.id)) {
- queue.push(nextNode);
- }
- });
- }
- return visited;
- };
- const linkNodeSet = traverseNodesOnTheLink();
-
- const nodes = graph.activePage.sm.getShapes(s => s.isTypeof('jadeNode'));
- if (nodes.length < 3) {
- return Promise.reject(graph.i18n.t('workflowAtLeast3Nodes'));
- }
- const validationPromises = nodes.map(s => s.validate(linkNodeSet).then(() => s.offError()).catch(error => {
- s.onError();
- return error;
- }));
- const results = await Promise.all(validationPromises);
- // 获取所有校验失败的信息
- const errors = results.filter(result => result && result.errorFields);
- if (errors.length > 0) {
- return Promise.reject(errors);
- }
- // 可选:.then()中可以获取校验的所有节点信息 Promise.resolve(results.filter(result => !errors.includes(result)))
- return Promise.resolve();
- };
-
- /**
- * 创建调试 runner.
- *
- * @param node 节点对象.
- * @return {{}} runner 对象.
- */
- self.createRunner = (node) => {
- if (!node.isActiveInFlow) {
- return inactiveNodeRunner(node);
- }
- if (node.isTypeof('conditionNodeCondition')) {
- return conditionRunner(node);
- }
- return standardRunner(node);
- };
-
- /**
- * @override.
- */
- const onPaste = self.onPaste;
- self.onPaste = (event) => {
- const shapeIds = onPaste.apply(self, [event]);
- self.triggerEvent({
- type: 'COPY_SHAPE',
- value: {
- shapeId: shapeIds.length > 0 ? shapeIds[0].shape.id : undefined,
- },
- });
- return shapeIds;
- };
-
- /**
- * @override.
- */
- const onDelete = self.onDelete;
- self.onDelete = () => {
- const beDeletedShapes = onDelete.apply(self, []);
- self.triggerEvent({
- type: 'DELETE_SHAPE',
- value: {
- shapeId: beDeletedShapes.length > 0 ? beDeletedShapes[0].id : undefined,
- },
- });
- return beDeletedShapes;
- };
-
- /**
- * @override
- */
- const reorganizeNodes = self.reorganizeNodes;
- self.reorganizeNodes = (scale, nodes = self.sm.getShapes(s => s.isTypeof('jadeNode')), lines = self.sm.getShapes(s => s.isTypeof('jadeEvent'))) => {
- lines.sort((a, b) => {
- if (a.fromShape !== b.fromShape) {
- return a.fromShape.localeCompare(b.fromShape);
- }
- const aFromConnector = a.definedFromConnector;
- const bFromConnector = b.definedFromConnector;
- return aFromConnector.localeCompare(bFromConnector);
- });
- reorganizeNodes.apply(self, [scale, nodes, lines]);
- };
-
- return self;
-};
-
-/**
- * jade流程的复制粘贴helper,去除text以及image等拷贝方式.
- *
- * @return {*}
- */
-const jadeCopyPasteHelper = () => {
- const self = copyPasteHelper();
- self.handlers = [];
- self.handlers.push(new ElsaCopyHandler(self));
- self.shapeDataHelper = jadeShapeDataHelper;
- return self;
-};
-
-/**
- * @override
- * jade图形拷贝时的图形数据帮助器.
- *
- * @param data 待处理的图形数据.
- * @param targetPage 拷贝的目标page.
- * @param shapeDataArray 所有的图形数据所形成的数组.
- */
-const jadeShapeDataHelper = (data, targetPage, shapeDataArray) => {
- const self = shapeDataHelper(data, targetPage, shapeDataArray);
-
- /**
- * @override
- */
- const preProcessShapeData = self.preProcessShapeData;
- self.preProcessShapeData = (plainText, idMap) => {
- preProcessShapeData.apply(self, [plainText]);
- const flowMeta = self.data.flowMeta;
- if (flowMeta) {
- let jsonString = JSON.stringify(flowMeta);
- idMap.forEach((value, key) => {
- const replaceString = `"referenceNode":"${key}"`;
- const replaceValue = `"referenceNode":"${value}"`;
- jsonString = jsonString.replace(replaceString, replaceValue);
- });
- self.data.flowMeta = JSON.parse(jsonString);
- }
- };
-
- return self;
-};
-
-/**
- * 存储Observable.
- *
- * @return {{}}
- * @constructor
- */
-const ObservableStore = () => {
- const self = {};
- self.store = new Map();
-
- /**
- * 添加.
- *
- * @param props 相关属性.
- */
- self.add = (props) => {
- const {nodeId, observableId, value, type, parentId, selectable, visible} = props;
- const observableMap = getOrCreate(self.store, nodeId, () => new Map());
- const observable = getOrCreate(observableMap, observableId, () => {
- return {
- observableId, value: null, type: null, observers: [], parentId, selectable: selectable, visible,
- };
- });
- observable.value = value;
- observable.type = type;
- observable.parentId = parentId;
- observable.selectable = selectable;
- observable.visible = visible;
- if (observable.observers.length > 0) {
- observable.observers.forEach(observe => observe.notify({value: value, type: type}));
- }
- };
-
- /**
- * 删除.
- *
- * @param nodeId 节点id.
- * @param observableId 可被监听的id.
- */
- self.remove = (nodeId, observableId = null) => {
- if (observableId) {
- const observableMap = self.store.get(nodeId);
- if (observableMap) {
- if (observableId) {
- const observable = observableMap.get(observableId);
- observableMap.delete(observableId);
- if (observable) {
- observable.observers.forEach(o => {
- o.cleanObserve();
- o.stopObserve();
- });
- }
- if (observableMap.size === 0) {
- self.store.delete(nodeId);
- }
- }
- }
- } else {
- self.store.delete(nodeId);
- }
- };
-
- /**
- * 添加监听器.
- *
- * @param nodeId 被监听节点的id.
- * @param observableId 待监听的id.
- * @param observer 监听器.
- */
- self.addObserver = (nodeId, observableId, observer) => {
- const observableMap = getOrCreate(self.store, nodeId, () => new Map());
- const observable = getOrCreate(observableMap, observableId, () => {
- return {
- observableId, value: null, observers: [],
- };
- });
- observable.observers.push(observer);
- };
-
- /**
- * 删除监听器.
- *
- * @param nodeId 被监听节点的id.
- * @param observableId 待监听的id.
- * @param observer 监听器.
- */
- self.removeObserver = (nodeId, observableId, observer) => {
- const observableMap = self.store.get(nodeId);
- if (!observableMap) {
- return;
- }
- const observable = observableMap.get(observableId);
- if (!observable) {
- return;
- }
- const index = observable.observers.findIndex(o => o === observer);
- if (index !== -1) {
- observable.observers.splice(index, 1);
- }
- };
-
- const getOrCreate = (map, key, supplier) => {
- let value = map.get(key);
- if (!value) {
- value = supplier();
- map.set(key, value);
- }
- return value;
- };
-
- /**
- * 获取可被监听的列表.
- *
- * @param nodeId 节点id.
- * @return {*[]}
- */
- self.getObservableList = (nodeId) => {
- const observableMap = self.store.get(nodeId);
- if (!observableMap) {
- return [];
- }
-
- return Array.from(observableMap.values()).map(o => {
- return {
- nodeId,
- observableId: o.observableId,
- parentId: o.parentId,
- value: o.value,
- type: o.type,
- selectable: o.selectable,
- visible: o.visible,
- };
- });
- };
-
- /**
- * 获取单个observable.
- *
- * @param nodeId 被监听节点的id.
- * @param observableId 待监听的id.
- * @return {*|null}
- */
- self.getObservable = (nodeId, observableId) => {
- const observableMap = self.store.get(nodeId);
- return observableMap ? observableMap.get(observableId) : null;
- };
-
- /**
- * 清空.
- */
- self.clear = () => {
- self.store.clear();
- };
-
- return self;
-};
diff --git a/agent-flow/src/flow/pageProcessors.js b/agent-flow/src/flow/pageProcessors.js
deleted file mode 100644
index afde110..0000000
--- a/agent-flow/src/flow/pageProcessors.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
- * This file is a part of the ModelEngine Project.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-/**
- * page 处理器基类.
- *
- * @param pageData 页面数据.
- * @param graph 画布对象.
- * @return {{}} 处理器.
- */
-export const pageProcessor = (pageData, graph) => {
- const self = {};
- const shapes = pageData.shapes;
-
- /**
- * 处理page兼容性问题.
- */
- self.process = () => {
- if (shapes.length === 0) {
- return;
- }
- shapes.map(sd => self.createShapeProcessor(sd, graph)).forEach(p => p.process());
- };
-
- /**
- * 创建节点的兼容处理器.
- *
- * @param shapeData 节点数据.
- * @param g 画布对象.
- * @return {{}} 处理器.
- */
- self.createShapeProcessor = (shapeData, g) => {
- };
-
- return self;
-};
\ No newline at end of file
diff --git a/agent-flow/src/flow/runners.js b/agent-flow/src/flow/runners.js
deleted file mode 100644
index 34b8dfc..0000000
--- a/agent-flow/src/flow/runners.js
+++ /dev/null
@@ -1,177 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
- * This file is a part of the ModelEngine Project.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-import {NODE_STATUS} from '@';
-import {setBranchDisabled} from '@/components/util/BranchUtil.js';
-
-/**
- * 正常页面中节点运行时 runner.
- *
- * @param node 节点.
- * @return {{}} runner 对象.
- */
-export const standardRunner = (node) => {
- const self = {};
-
- /**
- * 开始调试.
- */
- self.testRun = () => {
- node.statusManager.setRunStatus(NODE_STATUS.UN_RUNNING);
- node.statusManager.setDisabled(true);
- node.statusManager.setReferenceDisabled(true);
- node.moveable = false;
- };
-
- /**
- * 停止调试.
- *
- * @param dataList 数据列表.
- */
- self.stopRun = (dataList) => {
- node.moveable = true;
- node.emphasized = false;
- self.refreshRun(dataList);
- node.statusManager.setDisabled(false);
- node.statusManager.setReferenceDisabled(false);
- };
-
- /**
- * 刷新调试.
- *
- * @param dataList 数据列表.
- */
- self.refreshRun = (dataList) => {
- const data = dataList.find(d => d.nodeId === node.id);
- if (data) {
- node.statusManager.setRunStatus(data.status);
- node.setRunReportSections(data);
- } else {
- const preNodes = node.getDirectPreNodeIds();
- if (preNodes.every(preNode => _isPreNodeFinished(preNode, dataList))) {
- node.statusManager.setRunStatus(NODE_STATUS.RUNNING);
- }
- }
- };
-
- /**
- * 重置调试.
- */
- self.resetRun = () => {
- node.statusManager.setRunStatus(NODE_STATUS.DEFAULT)
- node.moveable = true;
- delete node.output;
- delete node.input;
- delete node.cost;
- node.statusManager.setDisabled(false);
- node.statusManager.setReferenceDisabled(false);
- };
-
- const _isPreNodeFinished = (preNode, dataList) => {
- if (preNode.type.endsWith('Condition')) {
- return false;
- }
- const data = dataList.find(d => d.nodeId === preNode.id);
- return data && data.status === NODE_STATUS.SUCCESS;
- };
-
- return self;
-};
-
-/**
- * 正常页面中条件节点运行时 runner.
- *
- * @param node 节点.
- * @return {{}} runner 对象.
- */
-export const conditionRunner = (node) => {
- const self = standardRunner(node);
-
- /**
- * @override
- */
- const testRun = self.testRun;
- self.testRun = () => {
- testRun.apply(self);
- _setBranchDisable(true);
- };
-
- /**
- * @override
- */
- const resetRun = self.resetRun;
- self.resetRun = () => {
- resetRun.apply(self);
- _setBranchDisable(false);
- };
-
- /**
- * @override
- */
- const stopRun = self.stopRun;
- self.stopRun = (dataList) => {
- stopRun.apply(self, [dataList]);
- _setBranchDisable(false);
- };
-
- const _setBranchDisable = (disabled) => {
- setBranchDisabled(node, disabled);
- };
-
- return self;
-};
-
-/**
- * 正常页面中游离节点运行时 runner.
- *
- * @param node 节点.
- * @return {{}} runner对象.
- */
-export const inactiveNodeRunner = (node) => {
- const self = {};
-
- /**
- * 开始调试.
- */
- self.testRun = () => {
- node.ignoreChange(() => {
- node.statusManager.setRunStatus(NODE_STATUS.DEFAULT);
- node.statusManager.setDisabled(true);
- node.moveable = false;
- });
- };
-
- /**
- * 停止调试.
- */
- self.stopRun = () => {
- node.ignoreChange(() => {
- node.moveable = true;
- node.emphasized = false;
- node.statusManager.setDisabled(false);
- });
- };
-
- /**
- * 刷新调试.
- *
- */
- self.refreshRun = () => {
- // 无需实现
- };
-
- /**
- * 重置调试.
- */
- self.resetRun = () => {
- node.ignoreChange(() => {
- node.moveable = true;
- node.statusManager.setDisabled(false);
- });
- };
-
- return self;
-};
\ No newline at end of file
diff --git a/agent-flow/src/i18n/en_US.json b/agent-flow/src/i18n/en_US.json
deleted file mode 100644
index 30b0717..0000000
--- a/agent-flow/src/i18n/en_US.json
+++ /dev/null
@@ -1,438 +0,0 @@
-{
- "ok": "OK",
- "cancel": "Cancel",
- "official": "Official",
- "multiTurnConversation": "Multi-Turn Chat",
- "multipleRoundsOfConversation": "Multi-Turn Chat",
- "newChat": "New Chat",
- "accuracyNotice": "- All content is generated by our AI foundation model. -",
- "historyChat": "Historical Chats",
- "clear": "Clear",
- "search": "Search",
- "continueChat": "Continue",
- "daysAgo": "d ago",
- "minutesAgo": "m ago",
- "hoursAgo": "h ago",
- "secondsAgo": "s ago",
- "justNow": "Just now",
- "delete": "Delete",
- "receiveTips": "The content is generated by the AI foundation model and does not reflect application developers' views. Do not delete or modify this tag",
- "plsEnter": "Enter",
- "copy": "Copy",
- "copySucceeded": "Copied",
- "alert": "Confirm Clearing",
- "clearHistoryChatContent": "The chat data cannot be restored once cleared. Are you sure you want to continue?",
- "stopResponding": "Stop Responding",
- "terminateFailed": "Failed to stop the chat",
- "conversationTerminated": "Chat stopped",
- "dataParseError": "Data parsing error",
- "appDevelopment": "Application Development",
- "mineApp": "My Applications",
- "teamApp": "Team's Applications",
- "create": "Create",
- "createApp": "Create Application",
- "name": "Name",
- "plsEnterName": "Enter a name",
- "description": "Overview",
- "openingRemarks": "Prologue",
- "icon": "Icon",
- "uploadManually": "Upload",
- "appDetail": "Application Details",
- "overview": "Summary",
- "plugin": "Plugins",
- "knowledgeBase": "Knowledge bases",
- "creativeInspiration": "Inspirations",
- "createAt": "Created at",
- "app": "Application",
- "prologue": "Prologue",
- "toArrange": "Orchestrate",
- "published": "Released",
- "unPublished": "Unreleased",
- "modifyingBasicInfo": "Modify Basic Information",
- "operationSucceeded": "Operation successful",
- "editSucceeded": "Modified",
- "interfaceConfiguration": "UI Configuration",
- "selectRepository": "Select Knowledge Base",
- "market": "Market",
- "owner": "Individual",
- "knowledgeBaseList": "Knowledge Bases",
- "numberOfPieces": "Records",
- "varType": "Type",
- "saveConfigSuccess": "Configuration saved",
- "guessAsk": "You May Want to Ask",
- "recommendedTips": "Define up to three questions recommended for the first chat with the application",
- "question": "Question",
- "changeBatch": "Refresh",
- "invalidTip": "Inspirations can be used as preset questions on the chat screen",
- "createInspiration": "Create",
- "modify": "Modify",
- "start": "Start",
- "retrieve": "Common Search",
- "LLM": "Foundation Model",
- "end": "End",
- "condition": "Condition",
- "input": "Input",
- "startNodeInputPopover": "Defines the input parameters required for starting the workflow.
\nThe foundation model will read the input content during
\na chat with a bot, so as to start the workflow at the appropriate
\ntime and fill in the correct information.
",
- "pleaseInsertFieldName": "Enter a field name.",
- "paramNameCannotBeEmpty": "Enter a field name.",
- "fieldNameRule": "Enter only letters, digits, and underscores (_). It must start with a letter or underscore (_).",
- "fieldType": "Field Type",
- "fieldDescription": "Field Description",
- "pleaseInsertFieldDescription": "Enter field description.",
- "paramDescriptionCannotBeEmpty": "Enter field description.",
- "requiredOrNot": "Mandatory",
- "byConversationTurn": "By chat turn",
- "conversationTurnCannotBeEmpty": "Select a chat turn.",
- "memoryModeCannotBeEmpty": "Select a memory mode.",
- "pleaseSelectADialogueRound": "Chat Turn",
- "spacesAreNotAllowed": "Do not enter any space.",
- "default": "Default",
- "knowledgeBaseInputPopover": "Enter key information to be matched from the knowledge base.",
- "reference": "Reference",
- "knowledgeBasePopover": "Select the knowledge scope for matching. Information
\nis matched only from the selected knowledge scope.
",
- "systemContextPopover": "Context generated for each chat, which is read-only and includes the following attributes of the application and chat instance:
\n1.instanceId: unique ID of each chat instance.
\n2.appId:unique ID of the application to which the chat instance belongs.
\n3.memories:list of historical QA pairs of the application to which the chat instance belongs.
\n4.useMemory:indicates whether the chat uses historical records.
\n5.userId:unique ID of the user.
",
- "returnsTheMaximumValue": "Max. Return Value",
- "returnsTheMaximumValuePopover": "Maximum number of paragraphs returned from the knowledge
\nto the model. A larger value will correspond to more returned content.
",
- "output": "Output",
- "knowledgeBaseOutputPopover": "The output list contains information that best matches the
\ninput parameters and is obtained from all selected knowledge bases.
",
- "llmInputPopover": "Enter information to be added to the prompt word template.
\n The information can be referenced by the prompt word template.
",
- "llm": "Foundation Model",
- "model": "Model",
- "pleaseSelectTheModelToBeUsed": "Select a model.",
- "temperature": "Temperature",
- "pleaseEnterAValueRangingFrom0To1": "Enter a number from 0 to 1.",
- "llmTemperaturePopover": "Controls the randomness of text generated by the foundation model.
\n The model will generate more diverse texts with increased uncertainty if this parameter is set
\n to a higher value, and generate high-probability words with reduced uncertainty if this parameter
\nis set to a lower value.
",
- "prompt": "User Prompt Word",
- "promptPopover": "Edit the prompt words of the foundation model to implement relevant functions.
\nVariables can be imported from input parameters using {{Variable name}}.
",
- "systemPrompt": "System Prompt Words",
- "systemPromptPlaceHolder": "Enter prompt words to preset an identity for the application.",
- "promptPlaceHolder": "You can use {{Variable name}} to associate a variable name in the input.",
- "paramCannotBeEmpty": "Enter a value.",
- "llmOutputPopover": "Content generated after the foundation model is executed.",
- "modeSelect": "Mode",
- "directlyOutputTheResult": "Directly output result",
- "conditionBranch": "Condition Branch",
- "addBranch": "Add Branch",
- "compareObject": "Compared Object",
- "pleaseSelectCondition": "Select",
- "fieldValueCannotBeEmpty": "Required field.",
- "addCondition": "Add",
- "pleaseSelect": "Select",
- "rename": "Rename",
- "runSuccessfully": "Successful",
- "running": "Running",
- "notRunning": "Not running",
- "runFailed": "Failed",
- "runResult": "Running Result",
- "promptName": "Prompt Word",
- "promptTextarea": "Use {{Variable name}} to add a variable",
- "onlySupported": "Only",
- "filesOfType": "files are supported",
- "noPluginSelected": "No plugin is selected",
- "viewParam": "View Parameters",
- "parsedSuccessfully": "File parsed",
- "upload": "Upload",
- "startParsed": "Start Parsing",
- "uploadZip": "Upload a plugin package",
- "fileUploadContent1": "Click to upload a file or drag-and-drop it here",
- "fileUploadContent2": "Only ZIP files are supported, each up to 100 MB. A maximum of one ZIP files can be uploaded at a time",
- "fileUploadContent3": "The file name cannot contain Chinese characters, and the plugin name can contain only letters, digits, and Chinese characters",
- "uploadTo": "Upload to ",
- "personalSpace": "Individual space",
- "zipDescription": "The system only obtains 100 plugins from each ZIP package. A plugin's name cannot exceed 256 characters",
- "uploadTip": "You are advised to debug plugins locally to avoid a deployment failure. New plugins will overwrite the existing plugins of the same type",
- "uploadTool": "Upload Tool",
- "confirmDeployment": "Confirm Deployment",
- "deployNone": "You have not deployed a plugin",
- "pluginTips": "If deployed plugins are canceled, the running applications that use the plugins will be unavailable. Exercise caution when performing this operation",
- "pluginTips2": "It may take some time to deploy plugins. Pay attention to the deployment status. After plugins are successfully deployed, the tools in the plugins can be used",
- "deployPlugin": "Deploy Plugin",
- "pluginResourcePool": "Plugin Resource Pool",
- "pluginName": "Name",
- "details": "Details",
- "selected": "Selected",
- "selectedOptions": "A maximum of 20 plugins can be deployed",
- "uploadOptions": "A maximum of 3000 plugins can be uploaded",
- "tool": "Tool",
- "toolDetails": "Tool Details",
- "quoteNumber": "References",
- "userNumber": "Users",
- "inputParam": "Input Parameters",
- "outputParam": "Output Parameters",
- "paramName": "Parameter",
- "paramType": "Type",
- "paramDescription": "Description",
- "close": "Close",
- "deploying": "Deploy",
- "deployedSuccessTips": "The plugins have been deployed and can be used now",
- "deployed": "Deployed",
- "deployment": "Deploying",
- "notDeployed": "Undeployed",
- "pluginManagement": "Plugin Management",
- "viewInspirations": "View inspirations",
- "chatWith": "Talking with",
- "return": "Back",
- "applicationMarket": "Application Market",
- "noData": "No data available",
- "deleteAppSuccess": "Selected application deleted",
- "deleteAppModalTitle": "Confirm Deletion",
- "deleteAppModalAlert": "The application cannot be restored once deleted. If you want to use it later, you need to create it again. Are you sure you want to delete it",
- "graphUpdateSuccess": "Advanced settings updated",
- "audioFailTips": "The browser you are using does not support the recording function",
- "plsEnterFlowRequiredItem": "Set mandatory parameters",
- "publishHistory": "Release History",
- "cannotRevertVersion": "Historical versions cannot be rolled back",
- "toTalk": "Chat",
- "updateLog": "Update Log",
- "gotIt": "Got It",
- "successReleased": "Application released",
- "versionTip": "Invalid version format",
- "releaseTip": "The version to be released will overwrite the historical version and cannot be rolled back",
- "releaseApplication": "Release Application",
- "releaseTip2": "Release the application only after it passes the debugging",
- "versionName": "Version",
- "announcements": "Bulletin",
- "debugTip": "Debug Application",
- "testTip": "Debug the application to ensure that it runs properly",
- "debug": "Debug",
- "plsEnterRequiredItem": "Set mandatory parameters",
- "flowChangeWarningContent": "The workflow configuration items have been modified. Debug the workflow again. The workflow can be released once it passes the debugging",
- "noMoreTips": "Do not remind me again",
- "plsEnterString": "Enter a string",
- "plsEnterInt": "Enter an integer",
- "plsEnterValidNumber": "Enter a number",
- "plsEnterNumber": "Enter a number",
- "debugRun": "Test Running",
- "startNode": "Start Node",
- "run": "Run",
- "publish": "Release",
- "basic": "Basic",
- "more": "More",
- "workflowOrchestration": "Orchestrate Workflow",
- "others": "Other",
- "all": "All",
- "invalidCategory": "An invalid category exists. Modify it first",
- "categoryEmpty": "The category name cannot be empty",
- "categoryLevel": "The name of a category must be unique at a level",
- "categoryExists": "An inspiration already exists under the category. Delete the inspiration first",
- "addClassification": "Add",
- "editClassification": "Edit",
- "categoryConfiguration": "Configure Category",
- "automaticDesc": "If this function is enabled, the system will automatically send the inspiration prompt word to the application on the chat screen",
- "automaticDesc2": "If this function is disabled, the inspiration prompt word will be displayed in the dialog box on the chat screen by default and can be modified. The prompt word is sent to the application by users",
- "automatic": "Auto-send Prompt Word",
- "classify": "Category",
- "operate": "Operation",
- "sourceInfo": "Source Information",
- "sourceType": "Source Type",
- "backendType": "Type",
- "total": "Total records",
- "descriptionMessage": "Enter an overview",
- "promptMessage": "Enter a prompt word",
- "promptVar": "Prompt Word Variable",
- "variable": "Variable",
- "selectionBox": "Selection box",
- "selectionService": "Service",
- "selectionCustom": "Custom",
- "multiple": "Multi-Answer",
- "nameError": "A plugin cannot contain tools with the same name",
- "requestFailed": "Request failed",
- "categoryAdded": "This category has been selected and cannot be added",
- "categoryDeleted": "This category has been selected and cannot be deleted",
- "editedSelected": "This category has been selected and cannot be edited",
- "fileParseError": "Failed to parse",
- "addedSuccessfully": "Successful",
- "promptVarPlaceHolder": "Use English semicolon ';' to separate different options.",
- "nodeTextDuplicate": "The node name already exists.",
- "attributeNameMustBeUnique": "Enter a unique field name.",
- "result": "Foundation model",
- "endResult": "Final result",
- "fieldTypeMismatch": "Invalid type.",
- "sameTypeNodeCannotMoreThan20": "The number of nodes of the same type cannot exceed 20.",
- "allNodeCannotMoreThan100": "The total number of nodes cannot exceed 100.",
- "workflowAtLeast3Nodes": "Workflow verification failed. A single workflow must contain at least three nodes.",
- "unselectAll": "Deselect All",
- "selectAll": "Select All",
- "addApp": "Create Application",
- "fieldName": "Field Name",
- "fieldValue": "Field Value",
- "pleaseSelectAMemoryMode": "Select Memory Mode",
- "morePlugins": "More plugins",
- "newChatTips": "The application does not exist or has been deleted",
- "sseFailed": "Response timeout",
- "systemEnv": "System context",
- "expand": "Expand",
- "evaluation": "待翻译",
- "appMarket": "待翻译",
- "releaseEvaluation": "待翻译",
- "releaseTip3": "待翻译",
- "evaluateTasks": "待翻译",
- "evaluateTestSet": "待翻译",
- "evaluateName": "待翻译",
- "evaluateDescription": "待翻译",
- "isPublish": "待翻译",
- "instanceStatus": "待翻译",
- "passRate": "待翻译",
- "viewReport": "待翻译",
- "createEvaluate": "待翻译",
- "plsEnterEvaluateDescription": "待翻译",
- "generationTime": "待翻译",
- "descriptionTip1": "待翻译",
- "evaluateCreateAt": "待翻译",
- "evaluateOverview": "待翻译",
- "evaluateCharts": "待翻译",
- "evaluateResult": "待翻译",
- "applicationName": "待翻译",
- "applicationVersion": "待翻译",
- "evaluateFinishAt": "待翻译",
- "evaluator": "待翻译",
- "score": "待翻译",
- "totalUseCases": "待翻译",
- "successfulUseCases": "待翻译",
- "failedUseCases": "待翻译",
- "scores": "待翻译",
- "evaluationData": "待翻译",
- "useCase": "待翻译",
- "evaluationTime": "待翻译",
- "deleted": "待翻译",
- "underEvaluation": "待翻译",
- "waitingForEvaluation": "待翻译",
- "createdBy": "待翻译",
- "finishEvaluation": "待翻译",
- "failedEvaluation": "待翻译",
- "testSetName": "待翻译",
- "testSetDescription": "待翻译",
- "modificationTime": "待翻译",
- "evaluationDetails": "待翻译",
- "evaluationUploadTips": "待翻译",
- "createTestSet": "待翻译",
- "editTestSet": "待翻译",
- "uploadTips1": "待翻译",
- "uploadTips2": "待翻译",
- "startParsing": "待翻译",
- "noUploadTips": "待翻译",
- "searchArgsConfig": "待翻译",
- "searchMode": "待翻译",
- "maxReferences": "待翻译",
- "minRelativity": "待翻译",
- "resultRearrange": "待翻译",
- "optimizationInputPopover": "待翻译",
- "optimizationOutputPopover": "待翻译",
- "optimizationConfig": "待翻译",
- "conversationDescription": "待翻译",
- "conversationBackground": "待翻译",
- "userPromptTemplate": "待翻译",
- "optimizationPrompt": "待翻译",
- "selectHistoryRecordMode": "待翻译",
- "byConversation": "待翻译",
- "byQuery": "待翻译",
- "queryConfig": "待翻译",
- "conversationConfig": "待翻译",
- "conversationNumber": "待翻译",
- "queryNumber": "待翻译",
- "conversationBackgroundPopover": "待翻译",
- "optimizationPromptPopover": "待翻译",
- "advancedConfiguration": "待翻译",
- "extractVariables": "待翻译",
- "importTools": "待翻译",
- "textExtractionOutputPopover": "待翻译",
- "textExtractionInputPopover": "待翻译",
- "textToBeExtracted": "待翻译",
- "TextExtractionSchema": "待翻译",
- "historyRecord": "待翻译",
- "variableName": "待翻译",
- "variableType": "待翻译",
- "variableDescription": "待翻译",
- "textExtractionPrompt": "待翻译",
- "fieldDescriptionCannotBeEmpty": "待翻译",
- "passConditionPrefix": "待翻译",
- "branch": "待翻译",
- "passElseCondition": "待翻译",
- "deploymentFailed": "Deployment Failed",
- "noAnnouncement": "No Announcement",
- "codeInputPopover": "待翻译",
- "codeInputErrorMsg": "待翻译",
- "codeExecuteErrorMsg": "待翻译",
- "codeCannotEmpty": "待翻译",
- "code": "待翻译",
- "editInIde": "待翻译",
- "codePopover": "1. Function editing description: Compile the structure of a function by referring to the code example.
\nYou can directly use the variables in the input parameters and return an object, array, or other basic types of data as the output result.
\nThe method name must be main. Additionally, multiple functions cannot be compiled.
\nBy default, the system introduces dependencies including asyncio, json, numpy, and typing.",
- "codeOutputPopover": "待翻译",
- "otherQuestion": "待翻译",
- "classification": "待翻译",
- "addQuestionClassification": "待翻译",
- "classificationPopover": "待翻译",
- "otherQuestionClassification": "待翻译",
- "questionClassificationReportPrefix": "待翻译",
- "questionClassificationPromptPopover": "待翻译",
- "skill": "待翻译",
- "requestConfig": "待翻译",
- "authentication": "待翻译",
- "requestMode": "待翻译",
- "pleaseInputRequestUrl": "待翻译",
- "timeout": "待翻译",
- "authType": "待翻译",
- "apiKey": "待翻译",
- "custom": "待翻译",
- "confirm": "待翻译",
- "requestParams": "待翻译",
- "requestParamValue": "待翻译",
- "requestParamName": "待翻译",
- "headerCanNotBeEmpty": "待翻译",
- "apiKeyCanNotBeEmpty": "待翻译",
- "addParam": "待翻译",
- "jsonCannotEmpty": "待翻译",
- "requestParamsTips": "待翻译",
- "httpInputTips": "待翻译",
- "httpOutputTips": "待翻译",
- "paramsFieldNameRule": "待翻译",
- "jsonRule": "待翻译",
- "textRule": "待翻译",
- "assignVariable": "待翻译",
- "variableAggregationInputPopover": "待翻译",
- "fileExtractionConfig": "待翻译",
- "fileExtractionConfigTips": "待翻译",
- "fileExtractionOutputTips": "待翻译",
- "fileExtractionPrompt": "待翻译",
- "fileExtractionInputTips": "待翻译",
- "textToImageInputTips": "待翻译",
- "textToImageOutputTips": "待翻译",
- "textToImageParamConfig": "待翻译",
- "textToImageConfigPanelHeader": "待翻译",
- "textToImagePrompt": "待翻译",
- "generateCount": "待翻译",
- "imageUnit": "待翻译",
- "notePlaceHolder" : "待翻译",
- "pluginCannotBeEmpty": "待翻译",
- "chooseToBeLoopParam": "待翻译",
- "loopRadioIsRequired": "待翻译",
- "loopSkillPopover": "待翻译",
- "pushResultToChat": "待翻译",
- "appConfig": "App Configuration",
- "appChatStyle": "App Interface Configuration",
- "appChatStyleCannotBeEmpty": "App interface configuration cannot be empty",
- "formItemFieldTypeCannotBeEmpty": "Field type is required",
- "addParallelTask": "Add Parallel Tasks",
- "parameterDescription": "Parameter Description: ",
- "parallelNode": "Parallel Node",
- "type": "Type",
- "orchestration": "Orchestration",
- "manual": "Manual",
- "mcpServerConfig": "MCP Server Configuration",
- "pleaseEnterValidJson": "Please enter a valid JSON format!",
- "mcpServerConfigPopover": "Example:(Authentication is not currently supported) \n{\n \"server_name\": {\n \"url\": \"https://127.0.0.1:80/sse\",\n }\n}",
- "enableRerank": "Enable Rerank",
- "rerankModel": "Rerank Model",
- "rerankTopN": "Rerank Top N",
- "noContent": "No data to display",
- "rerankConfig": "Rerank Config",
- "whetherRerank": "Whether to Rerank",
- "topN": "topN",
- "textConcatenationOutputPopover": "Concatenated text.",
- "templateInputPopover": "
Enter information to be added to the word template.
\n The information can be referenced by the word template.
",
- "textConcatenateNodeTitle": "Text Joiner",
- "concatenatedTextLabel": "Template",
- "add": "Add",
- "value": "Value",
- "replyTextLabel": "Reply Template"
-}
diff --git a/agent-flow/src/i18n/i18n.js b/agent-flow/src/i18n/i18n.js
deleted file mode 100644
index 2914f74..0000000
--- a/agent-flow/src/i18n/i18n.js
+++ /dev/null
@@ -1,35 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
- * This file is a part of the ModelEngine Project.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-import i18n from 'i18next';
-import {initReactI18next} from 'react-i18next';
-import en from './en_US.json';
-import zh from './zh_CN.json';
-import { en as coreEn, zh as coreZh } from '@fit-elsa/elsa';
-
-const mergeTranslations = (local, core) => {
- return { ...core, ...local }; // core 的翻译作为基础,本地翻译优先级更高
-};
-
-const resources = {
- en: {
- translation: mergeTranslations(en, coreEn),
- },
- zh: {
- translation: mergeTranslations(zh, coreZh),
- },
-};
-
-i18n.use(initReactI18next).init({
- resources,
- fallbackLng: 'zh',
- interpolation: {
- escapeValue: false,
- },
- returnNull: false,
-});
-
-export default i18n;
diff --git a/agent-flow/src/i18n/zh_CN.json b/agent-flow/src/i18n/zh_CN.json
deleted file mode 100644
index 4e35a09..0000000
--- a/agent-flow/src/i18n/zh_CN.json
+++ /dev/null
@@ -1,731 +0,0 @@
-{
- "ok": "确定",
- "hello": "你好",
- "cancel": "取消",
- "delete": "删除",
- "share": "分享",
- "clear": "清空",
- "edit": "编辑",
- "modify": "修改",
- "search": "搜索",
- "close": "关闭",
- "alert": "确认清空",
- "create": "创建",
- "homepage": "首页",
- "shareConversation": "分享对话",
- "applicationMarket": "应用市场",
- "createAt": "创建于",
- "releaseTime": "发布时间",
- "all": "全部",
- "others": "其他",
- "app": "应用",
- "mineApp": "我的应用",
- "teamApp": "团队应用",
- "market": "市场",
- "owner": "个人",
- "team": "团队",
- "mine": "我的",
- "more": "更多",
- "noData": "暂无数据",
- "noDescription": "暂无描述",
- "checkMore": "查看详情",
- "operate": "操作",
- "plsEnter": "请输入",
- "plsEnterName": "请输入名称",
- "plsChoose": "请选择",
- "plsChooseHFModel": "选择HuggingFace模型",
- "plsEnterValidNumber": "请输入一个有效的数字",
- "plsEnterString": "请输入字符串",
- "plsEnterInt": "请输入一个整数",
- "plsEnterNumber": "请输入一个有效的数字",
- "reset": "重置",
- "save": "保存",
- "fullscreen": "全屏",
- "name": "名称",
- "description": "简介",
- "descriptionMessage": "请输入简介",
- "promptMessage": "请输入提示词",
- "icon": "头像",
- "debug": "调试",
- "run": "运行",
- "publish": "发布",
- "published": "已发布",
- "unPublished": "未发布",
- "basic": "基础",
- "plugin": "插件",
- "pluginDetails": "插件详情",
- "pluginDetails2": "编排插件详情",
- "analysisReport": "经营分析报告",
- "tool": "工具",
- "toolDetails": "工具详情",
- "workflow": "工具流",
- "addWorkflow": "新增工具流",
- "user": "用户",
- "by": "由",
- "overview": "概览",
- "analyse": "分析",
- "feedback": "反馈",
- "evaluate": "评估",
- "appDetail": "应用详情",
- "appDevelopment": "应用开发",
- "platformTitle": "你的专属AI智能编排研发平台",
- "platformSubTitle": "AI助力研发,开始创建专属应用吧~",
- "createApp": "创建应用",
- "createWorkflow": "创建工具流",
- "debugRun": "测试运行",
- "support": "支持",
- "character": "字符",
- "number": "数字",
- "arrange": "编排",
- "toArrange": "去编排",
- "prologue": "对话开场白",
- "draft": "草稿",
- "noMoreTips": "不再提示",
- "clickReturn": "点击返回",
- "autoSave": "自动保存",
- "startNode": "开始节点",
- "manualForm": "人工干预表单",
- "morePlugins": "更多插件",
- "createAppDescription": "通过跟ModelEngine聊天轻松定制你的专属应用 - 上传自有数据,知识库模型训练,为业务带来更多价值。立即开始创建应用吧!",
- "appTreasure": "应用百宝箱",
- "appTreasureDescription": "我们拥有海量的应用,让您可以轻松获取和部署各种专业的应用,涵盖不同领域和功能,马上开启你的探索应用市场之旅。",
- "accuracyNotice": "- 所有内容均由人工智能大模型生成 -",
- "multiTurnConversation": "多轮对话",
- "chatWith": "正在跟",
- "chat": "对话",
- "newChat": "新聊天",
- "clearCurrentChat": "确认清空当前聊天",
- "clearCurrentChatContent": "清空后当前窗口聊天内容将不会被系统保存。",
- "historyChat": "历史聊天",
- "continueChat": "继续聊天",
- "clearHistoryChatContent": "确认要清空所有聊天记录?清空后该数据无法恢复。",
- "zeroCostTime": "0小时0分钟0秒",
- "hour": "小时",
- "minute": "分钟",
- "second": "秒",
- "justNow": "刚刚",
- "daysAgo": "天前",
- "hoursAgo": "小时前",
- "minutesAgo": "分钟前",
- "secondsAgo": "秒前",
- "today": "今天",
- "yesterday": "昨天",
- "last7Days": "过去7天",
- "last30Days": "过去30天",
- "thisWeek": "本周",
- "lastWeek": "上周",
- "thisMonth": "本月",
- "lastMonth": "上月",
- "totalRequestNum": "总请求数",
- "totalPV": "总活跃用户数",
- "averRspSpeed": "平均响应速度",
- "userAccessTrend": "用户访趋势",
- "collections": "选择收藏的应用",
- "defaultApp": "默认应用",
- "startChat": "开始聊天",
- "setDefaultApp": "设为默认",
- "cancelDefaultApp": "取消默认",
- "uploadFile": "上传文件",
- "uploadManually": "手动上传",
- "uploadFileContent": "解析文件或通过文件与应用对话",
- "dragFile": "将文件拖到此处 或 点击上传文件",
- "fileType": "支持文档,图片,音频类型的文件",
- "uploadFileLabel": "上传文本文件",
- "uploadFileFail": "上传文件失败",
- "uploadImageFail": "上传图片失败",
- "noSupportFileType": "暂不支持该文件类型",
- "fileFormatError": "文件格式错误",
- "fileFormatError1": "只能上传.txt类型的文件",
- "fileFormatError2": "只能上传.xlsx类型的文件",
- "fileFormatError3": "单次只能上传一个文件",
- "fileParseError": "文件解析错误",
- "fileNameError": "文件名不能包含中文",
- "dataParseError": "数据解析异常",
- "parseError": "解析错误",
- "fileUploaded": "该文件已上传",
- "fileUploadContent1": "将文件拖到这里,或者点击上传",
- "fileUploadContent2": "支持.zip 格式文件,最大文件不能大于100M,最多同时上传1个zip包",
- "fileUploadContent3": "上传插件文件名称不可以包含中文,工具名称不允许非字母数字中文",
- "importData": "导入数据",
- "total": "共",
- "piece": "条",
- "num": "个",
- "dataPieces": "数据条数",
- "audioFailTips": "当前浏览器不支持录音功能",
- "tryLater": "对话进行中, 请稍后再试",
- "newChatTips": "应用不存在,或者已经被删除",
- "deleteSuccess": "删除成功",
- "deleteFail": "删除失败",
- "editSuccess": "编辑成功",
- "plsEnterFlowRequiredItem": "请输入流程必填项",
- "plsEnterRequiredItem": "请输入必填项",
- "graphUpdateSuccess": "高级配置更新成功",
- "flowUpdateSuccess": "工具流更新成功",
- "startDebugFail": "启动调试失败",
- "startRunFail": "启动运行失败",
- "debugFail": "调试失败",
- "addPluginSuccess": "添加插件成功",
- "addPluginWarning": "编排节点总数量不能超过100",
- "addNodeWarning": "相同节点数量不能超过20个",
- "saveConfigSuccess": "保存配置成功",
- "getDetailFail": "获取详情数据失败",
- "deleteAppSuccess": "已删除所选应用",
- "deleteAppModalTitle": "确定删除该应用",
- "deleteAppModalAlert": "删除后无法恢复,请重新创建应用",
- "pickOneFile": "请选择一个文件",
- "pickFile": "请选择文件",
- "noFile": "无文件",
- "fileCannotEmpty": "文件不能为空",
- "addLine": "添加行",
- "publishHistory": "发布历史",
- "cannotRevertVersion": "不可恢复历史版本",
- "otherIndex": "其他索引",
- "vectorIndex": "向量索引",
- "unstructuredData": "非结构化数据",
- "structuredData": "结构化数据",
- "colName": "列名",
- "dataType": "数据类型",
- "indexType": "索引类型",
- "addCol": "添加列",
- "knowledgeCreated": "恭喜您,知识库已完成创建",
- "enterNameRule": "输入字符长度范围:1 - 64",
- "expandArrange": "展开编排区",
- "flowChangeWarningContent": "工作流配置项已变更,请重新调试,调试成功后即可发布",
- "debugAlert": "工具流暂不支持调试历史记录",
- "segmentPreview": "分段预览",
- "localDocument": "本地文档",
- "nasDocument": "NAS文档",
- "nasAddress": "NAS地址",
- "consumer": "自定义",
- "cannotBeEmpty": "输入不能为空",
- "inputNasAddress": "请输入NAS地址",
- "textPath": "文本路径",
- "inputTextPath": "请输入文本路径",
- "addContent": "添加内容",
- "inputAddContent": "请输入要添加的内容",
- "customKnowledgeTable": "自定义知识表",
- "commonIndex": "普通索引",
- "none": "无",
- "tableStructure": "表结构",
- "documentDirectoryRemoval": "文档目录去除",
- "documentEmoticonRemoval": "文档表情去除",
- "documentGarbleRemoval": "文档乱码去除",
- "redundantSpaceRemoval": "多余空格去除",
- "htmlTagRemoval": "HTML标签去除",
- "invisibleCharactersRemoval": "不可见字符去除",
- "figureTableRemoval": "图注表注去除",
- "traditionalToSimplified": "繁体转简体",
- "spaceNormalizationPlug": "空格标准化插件",
- "paragraphed": "段落",
- "sentences": "句子",
- "selectTextSegment": "选择文本分段",
- "setsFragmentlength.": "设置分片长度",
- "degreeOfOverlap.": "重叠度",
- "selectingCleansing": "选择清洗算子",
- "updateFailCintent": "更新编排工具流数据失败",
- "conversationFailed": "对话失败",
- "sseFailed": "响应超时",
- "parseFile": "请解析以下文件",
- "selectConversation": "请勾选对话",
- "conversationTerminated": "已终止对话",
- "terminateFailed": "终止对话失败",
- "clarifyingConditions": "不好意思,请明确条件后重新提问",
- "isSelected": "已选择",
- "copiedLinkTitle": "分享链接已复制,快发给朋友们吧",
- "copiedLink": "复制链接",
- "selectedWarning": "问答组勾选中, 请取消后再试",
- "creativeInspiration": "创意灵感",
- "stopResponding": "停止响应",
- "question": "问题",
- "answers": "回答",
- "fileContent": "文件内容",
- "guessAsk": "猜你想问",
- "changeBatch": "换一批",
- "collapse": "收起",
- "open": "打开",
- "stopped": "停止",
- "playback": "播放",
- "copy": "复制",
- "savingFailed": "保存失败",
- "sourceTracingForm": "溯源表单",
- "receiveTips": "以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记",
- "formTypeFail": "未找到对应的表单类型",
- "conditionsAndDimensions": "条件和维度",
- "fieldName": "字段名",
- "fieldValue": "字段值",
- "selectionEmpty": "选择结果不能为空",
- "pluginManagement": "插件管理",
- "deploying": "部署",
- "pluginDeploying": "插件部署",
- "upload": "上传",
- "allApplications": "全部应用",
- "alreadyShelves": "已上架",
- "waterFlow": "流程",
- "paramName": "参数名",
- "paramType": "参数类型",
- "viewInspirations": "打开创意灵感",
- "paramDescription": "参数说明",
- "deployed": "已部署",
- "deployment": "部署中",
- "notDeployed": "未部署",
- "deployedSuccessTips": "插件部署已完成,功能已恢复",
- "deploymentFailed": "部署失败",
- "describe": "描述",
- "personalSpace": "个人空间",
- "aTeam": "某个团队",
- "zipDescription": "每个zip包最多取100个工具,工具名称长度不能超过256位",
- "noPluginSelected": "未选择插件",
- "uploadTool": "上传工具",
- "maxUploadTips": "最大上传数量为5个",
- "uploadTip": "建议用户在本地调试插件,避免部署失败;相同插件将会覆盖。",
- "uploadingPlugin": "上传插件中",
- "uploadTo": "上传至:",
- "parsedSuccessfully": "解析成功",
- "parsingFailed": "解析失败",
- "viewParam": "查看参数",
- "quoteNumber": "引用数",
- "userNumber": "用户数",
- "inputParam": "输入参数",
- "outputParam": "输出参数",
- "creator": "创建人:",
- "deployPlugin": "部署插件",
- "pluginResourcePool": "插件资源池",
- "pluginName": "插件名称",
- "pluginTips": "取消已部署的插件,会导致正在运行的应用不可用,请谨慎操作",
- "selected": "已选",
- "selectedOptions": "最多可部署20个插件",
- "uploadOptions": "最多可上传3000个插件",
- "noSelectedPlugin": "未选择部署插件",
- "pluginTips2": "部署可能需要一定时长,请关注部署状态,部署成功后插件内的工具将可以被使用",
- "confirmDeployment": "确认部署?",
- "deployTip": "你将部署",
- "deployNone": "你没有部署任何插件",
- "deployCanceled": "你取消了",
- "deployCanceledTips": "已部署的插件,会导致正在运行的应用不可用",
- "myFavorites": "我的收藏",
- "myWaterFlow": "我的工具流",
- "fullToHalf": "全角转半角",
- "unselectAll": "取消全选",
- "selectAll": "全选",
- "recommends": "推荐",
- "barchart": "柱状图 ",
- "lineChart": "折线图",
- "totalAmount": "总量",
- "return": "返回",
- "updateLog": "更新日志",
- "gotIt": "我知道了",
- "programmingDevelopment": "编程开发",
- "decisionAnalysis": "决策分析",
- "writingAssistant": "写作助手",
- "addedSuccessfully": "添加成功",
- "operationSucceeded": "操作成功",
- "editSucceeded": "修改成功",
- "addApp": "添加应用",
- "modifyingBasicInfo": "修改基础信息",
- "characterLength": "输入字符长度范围",
- "openingRemarks": "开场白",
- "classify": "分类",
- "greenfield": "新建",
- "download": "下载",
- "toolFlowConfiguration": "工具流配置",
- "toTalk": "去聊天",
- "currentVersion": "当前版本为",
- "cannotBeEarlier": "发布版本不能低于当前版本",
- "successReleased": "发布应用成功",
- "successReleased2": "发布工具流成功",
- "releaseApplication": "发布应用",
- "releaseTip": "新版本将覆盖历史版本,并不可回退",
- "releaseTip2": "请调试应用,确认无误后发布",
- "releaseToolFlow": "发布工具流",
- "versionName": "版本名称",
- "versionTip": "版本格式错误",
- "announcements": "公告",
- "debugTip": "需要调试成功才能发布应用",
- "debugTip2": "需要调试成功才能发布工具流",
- "testTip": "为了保证应用运行正常,应用创建后必须调试成功才可以发布。",
- "testTip2": "为了保证工作流运行正常,工作流创建后必须调试成功才可以发布。",
- "runningTip": "试运行中",
- "runningTip2": "运行成功",
- "runningTip3": "运行失败",
- "numberOfPieces": "条数",
- "backendType": "类型",
- "selectRepository": "选择知识库",
- "notContain": "不包含",
- "start": "开始",
- "startParsed": "开始解析",
- "uploadZip": "请上传插件包",
- "retrieve": "普通检索",
- "LLM": "大模型",
- "selectLlm": "选择一个合适的大模型",
- "end": "结束",
- "condition": "条件",
- "input": "输入",
- "startNodeInputPopover": "定义启动工作流所需的输入参数,为后续工作流
\n节点以及应用的正常流转提供必要的初始信息。
",
- "pleaseInsertFieldName": "请输入字段名称",
- "paramNameCannotBeEmpty": "参数名称不能为空",
- "fieldNameRule": "只能包含字母、数字或下划线,且必须以字母或下划线开头",
- "fieldType": "字段类型",
- "fieldDescription": "字段描述",
- "pleaseInsertFieldDescription": "请输入字段描述",
- "paramDescriptionCannotBeEmpty": "参数描述不能为空",
- "requiredOrNot": "是否必填",
- "multipleRoundsOfConversation": "多轮对话",
- "pleaseSelectAMemoryMode": "请选择记忆方式",
- "byConversationTurn": "按对话轮次",
- "conversationTurnCannotBeEmpty": "对话轮次不能为空",
- "memoryModeCannotBeEmpty": "记忆方式不能为空",
- "pleaseSelectADialogueRound": "请选择对话轮次",
- "spacesAreNotAllowed": "禁止输入空格",
- "default": "默认",
- "knowledgeBaseInputPopover": "输入需要从知识库中匹配的关键信息。",
- "reference": "引用",
- "knowledgeBase": "知识库",
- "knowledgeBaseList": "知识库列表",
- "knowledgeBasePopover": "选择需要匹配的知识范围,
\n仅从所选知识中调出信息。
",
- "systemContextPopover": "每次对话生成的上下文,包含应用及对话实例相关的系统属性,只读。属性列表:
\n1.instanceId:每次对话实例的唯一标识
\n2.appId:所属应用的唯一标识
\n3.memories:所属应用的历史记录QA对列表
\n4.useMemory:表示本次对话是否使用历史记录
\n5.userId:用户的唯一标识
",
- "returnsTheMaximumValue": "返回最大值",
- "returnsTheMaximumValuePopover": "从知识返回到模型的最大段落数。数字越大,返回的内容越多。",
- "output": "输出",
- "knowledgeBaseOutputPopover": "输出列表是与输入参数最匹配的信息,从所有选定的知识库中调用。",
- "llmInputPopover": "输入需要添加到提示词模板中的信息,可被提示词模板引用。",
- "llm": "大模型",
- "model": "模型",
- "pleaseSelectTheModelToBeUsed": "请选择使用的模型",
- "temperature": "温度",
- "pleaseEnterAValueRangingFrom0To1": "请输入0-1之间的参数!",
- "llmTemperaturePopover": "用于控制生成文本的大型模型的随机性。
\n当设置较高时,模型将生成更多样化的文本,增加不确定性;
\n当设置较低时,模型将生成高概率词,减少不确定性。
",
- "prompt": "用户提示词",
- "promptPopover": "编辑大模型的提示词,实现相应的功能。
\n可以使用{{变量名}}从输入参数中引入变量。
",
- "systemPrompt": "系统提示词",
- "systemPromptPlaceHolder": "输入一段提示词,可以给应用预设身份。",
- "promptPlaceHolder": "你可以用{{变量名}}来关联输入中的变量名。",
- "paramCannotBeEmpty": "参数不能为空",
- "llmOutputPopover": "大模型运行完成后生成的内容。",
- "modeSelect": "模式选择",
- "directlyOutputTheResult": "直接输出结果",
- "conditionBranch": "条件分支",
- "addBranch": "添加分支",
- "variable": "变量",
- "compareObject": "比较对象",
- "selectionBox": "选择框",
- "selectionService": "选择服务",
- "selectionCustom": "自定义选项",
- "pleaseSelectCondition": "请选择条件",
- "fieldValueCannotBeEmpty": "字段值不能为空",
- "addCondition": "添加条件",
- "pleaseSelect": "请选择",
- "rename": "重命名",
- "varType": "类型",
- "sourceType": "来源类型",
- "sourceInfo": "来源信息",
- "multiple": "是否多选",
- "runSuccessfully": "运行成功",
- "running": "运行中",
- "notRunning": "未运行",
- "runFailed": "运行失败",
- "runResult": "运行结果",
- "closeRunResult": "收起运行结果",
- "invalidCategory": "存在不合法的类目,请先修改",
- "createInspiration": "创建灵感",
- "editInspiration": "修改灵感",
- "promptName": "提示词",
- "promptHolder": "输入一段提示词,可以给应用预设身份",
- "additions": "添加",
- "multimodal": "多模态",
- "recommendedTips": "首次与应用对话时的推荐问题,最多创建3个",
- "selectMultimodal": "选择多模态",
- "promptVar": "提示词变量",
- "automatic": "是否自动执行",
- "categoryConfiguration": "类目配置",
- "editedProcess": "存在编辑中的节点,请先处理",
- "editedSelected": "该分类已选中,不能进行编辑操作",
- "categoryEmpty": "分类名称不能为空",
- "categoryNotBe": "分类名称不能为",
- "categoryLevel": "同层级的分类名称不能重复",
- "categoryExists": "分类下已有灵感大全,请先删除灵感大全",
- "categoryDeletion": "删除不可逆,请先删除子元素",
- "categoryAdded": "该分类已选中,不能进行添加操作",
- "categoryDeleted": "该分类已选中,不能进行删除操作",
- "categoryLimit": "同层级最多只能添加100个分类,请删除其他同层级分类后再添加",
- "categoryDepthError": "系统错误,获取类目嵌套层级失败,请联系管理员",
- "categoryDepthLimit": "最多只能添加嵌套深度为10的子类目",
- "addClassification": "添加分类",
- "editClassification": "编辑分类",
- "appConfiguration": "应用能力配置",
- "workflowOrchestration": "工作流编排",
- "interfaceConfiguration": "界面配置",
- "knowledgeBaseTeam": "知识库团队",
- "knowledgeBaseName": "知识库名称",
- "knowledgeBaseDesc": "知识库描述",
- "knowledgeTableName": "知识表名称",
- "knowledgeOverview": "知识库概览",
- "noAnnouncement": "暂无公告",
- "createKnowledgeBase": "创建知识库",
- "knowledgeBaseDetail": "知识库详情",
- "addingKnowledgeTable": "添加知识表",
- "deleteKnowledgeBase": "删除知识库",
- "deletePlugin": "删除插件",
- "deleteKnowledgeTips": "删除后无法恢复,是否确定删除",
- "typeSelection": "类型选择",
- "backendService": "后端服务",
- "createdAt": "创建时间",
- "formatting": "格式",
- "text": "文本",
- "table": "表格",
- "yes": "是",
- "no": "否",
- "isImportData": "是否导入数据",
- "dataSource": "选择数据源",
- "finished": "完成",
- "tableConfig": "表格配置",
- "startImport": "开始导入",
- "details": "详情",
- "import": "导入",
- "importingData": "导入数据",
- "copySucceeded": "复制成功",
- "copyFailed": "复制失败",
- "previousStep": "上一步",
- "nextStep": "下一步",
- "onlySupported": "只支持",
- "filesOfType": "类型的文件",
- "cannotExceed": "大小不能超过",
- "importTasks": "个导入任务正在进行中",
- "textSegmentation": "文本分段与清洗",
- "stringLengthTips": "字符串长度不能大于255",
- "automaticDesc": "选择自动执行,应用会自动将灵感大全的提示词发送给助手;",
- "automaticDesc2": "选择不自动执行,灵感大全的提示词会默认填充在对话框,支持修改,由用户自己发送给助手",
- "promptTextarea": "你可以使用{{变量名}}添加变量",
- "invalidTip": "创建灵感后可在聊天界面中作为预置问题使用",
- "selectPlugin": "选择插件",
- "huggingFace": "HuggingFace",
- "official": "官方",
- "langChain": "LangChain",
- "llamaIndex": "LlamaIndex",
- "requestFailed": "请求失败",
- "nodeTextDuplicate": "节点名称不能重复",
- "attributeNameMustBeUnique": "字段名称不能重复",
- "nameError": "同一个插件中不允许包含相同名字的工具。",
- "result": "大模型",
- "endResult": "最终结果",
- "fieldTypeMismatch": "字段类型不匹配",
- "sameTypeNodeCannotMoreThan20": "同类型节点不能多于20个。",
- "allNodeCannotMoreThan100": "总节点不能多于100个。",
- "workflowAtLeast3Nodes": "流程校验失败,至少需要三个节点。",
- "systemEnv": "系统上下文",
- "expand": "展开",
- "promptVarPlaceHolder": "使用英文分号';'分隔不同选项。",
- "searchArgsConfig": "搜索参数设置",
- "retrievalIndexType": "搜索模式",
- "referenceLimit": "引用上限",
- "similarityThreshold": "最低相关度",
- "rerankParam": "结果重排",
- "evaluation": "应用评估",
- "appMarket": "应用市场",
- "releaseEvaluation": "发布评估任务",
- "releaseTip3": "评估任务发布后无法修改,是否确定?",
- "evaluateTasks": "评估任务",
- "evaluateTestSet": "评估测试集",
- "evaluateName": "任务名称",
- "evaluateDescription": "任务描述",
- "isPublish": "是否发布",
- "instanceStatus": "运行状态",
- "passRate": "用例通过率",
- "viewReport": "查看报告",
- "createEvaluate": "创建评估任务",
- "plsEnterEvaluateDescription": "请输入任务描述",
- "generationTime": "生成时间:",
- "descriptionTip1": "评估分析报告",
- "evaluateCreateAt": "评估开始时间",
- "evaluateOverview": "总览",
- "evaluateCharts": "评估图",
- "evaluateResult": "评估结果",
- "applicationName": "应用名称",
- "applicationVersion": "应用版本",
- "evaluateFinishAt": "评估结束时间",
- "evaluator": "评估人员",
- "score": "分",
- "totalUseCases": "总用例",
- "successfulUseCases": "成功用例",
- "failedUseCases": "失败用例",
- "scores": "分数",
- "evaluationData": "评估数据",
- "useCase": "用例",
- "evaluationTime": "评估时间:",
- "deleted": "已删除",
- "underEvaluation": "评估中",
- "waitingForEvaluation": "待评估",
- "createdBy": "创建人",
- "finishEvaluation": "评估完成",
- "failedEvaluation": "评估失败",
- "testSetName": "测试集名称",
- "testSetDescription": "测试集描述",
- "modificationTime": "修改时间",
- "evaluationDetails": "测试集详情",
- "evaluationUploadTips": "请上传并解析文件!",
- "createTestSet": "新建测试集",
- "editTestSet": "编辑测试集",
- "uploadTips1": "文件大小不能超过5MB!",
- "uploadTips2": "文件最大不能超过 5MB,且文件仅支持 .json格式",
- "startParsing": "开始解析",
- "noUploadTips": "请上传文件并解析!",
- "node": "节点",
- "problemWithConnection": "的连接有问题",
- "optimizationInputPopover": "输入需要添加到提示词模板中的信息,可被提示词模板引用。",
- "optimizationOutputPopover": "问题优化节点的输出内容",
- "optimizationConfig": "优化配置",
- "conversationDescription": "对话背景描述",
- "conversationBackground": "对话背景",
- "userPromptTemplate": "用户提示词模板",
- "optimizationPrompt": "提示词",
- "selectHistoryRecordMode": "请选择使用历史记录方式",
- "byConversation": "按对话",
- "byQuery": "按问题",
- "queryConfig": "问题配置",
- "conversationConfig": "对话配置",
- "conversationNumber": "对话数",
- "queryNumber": "问题数",
- "conversationBackgroundPopover": "对话背景描述信息模板",
- "optimizationPromptPopover": "编辑大模型的提示词,实现相应的功能。
\n可以使用{{变量名}}从输入参数中引入变量。
",
- "noKnowledgeBase": "节点缺少知识库",
- "noSearchOption": "节点缺少搜索参数配置",
- "advancedConfiguration": "高级配置",
- "extractVariables": "提取变量",
- "importTools": "从工具导入",
- "textExtractionOutputPopover": "文本提取节点的输出内容",
- "textExtractionInputPopover": "文本提取节点的输入可以引用全面节点的输入,或者直接输入一个文本",
- "textToBeExtracted": "需要提取的文本",
- "TextExtractionSchema": "可以通过导入工具或者手动设置的方式
\n构造一个结构体
",
- "historyRecord": "历史记录",
- "variableName": "变量名",
- "variableType": "变量类型",
- "variableDescription": "描述",
- "textExtractionPrompt": "按要求提取描述",
- "fieldDescriptionCannotBeEmpty": "字段描述不能为空",
- "passConditionPrefix": "进入 条件",
- "branch": " 分支",
- "passElseCondition": "进入Else分支",
- "codeInputPopover": "输入需要添加到代码的变量,代码中可以直接引用此处添加的变量",
- "codeInputErrorMsg": "输入格式错误:",
- "codeExecuteErrorMsg": "系统运行异常,请联系系统管理员",
- "codeCannotEmpty": "代码不能为空!",
- "code": "代码",
- "editInIde": "在IDE中编辑",
- "codePopover": "1.函数编辑说明: 参考代码示例。编写一个函数的结构,
\n您可以直接使用输入参数中的变量,并通过return一个
\n对象、数组或者其他基本类型的数据作为输出结果。
\n方法名称必须是main,并且不
\n支持编写多个函数。
\n系统默认引入依赖包含asyncio, json, numpy, typing。",
- "codeOutputPopover": "
代码运行完成后输出的变量,必须保证此处定义的变量名、
\n变量类型与代码的return对象中完全一致
",
- "skill": "技能",
- "classificationInputPopover": "输入需要添加到提示词模板中的信息,可被提示词模板引用。",
- "classification": "分类",
- "classificationPopover": "输入问题的分类",
- "otherQuestion": "其他问题",
- "addQuestionClassification": "添加问题分类",
- "otherQuestionClassification": "其他问题分类",
- "questionClassificationReportPrefix": "问题归类为",
- "questionClassificationPromptPopover": "可以添加一些特定内容的介绍,从而更好的识别用户的
\n问题类型。这个内容通常是给模型介绍一个它不知道的
\n内容。可以使用{{变量名}}从输入参数中引入变量。
",
- "httpInputPopover": "输入可被请求param或者body引用的变量",
- "requestConfig": "请求配置",
- "authentication": "鉴权",
- "requestMode": "请求方式",
- "pleaseInputRequestUrl": "请输入请求地址",
- "timeout": "超时时长",
- "authType": "鉴权类型",
- "apiKey": "API Key",
- "custom": "自定义",
- "confirm": "确认",
- "requestParams": "请求参数",
- "requestParamValue": "参数值",
- "requestParamName": "参数名称",
- "headerCanNotBeEmpty": "header不能为空",
- "apiKeyCanNotBeEmpty": "API-Key不能为空",
- "addParam": "添加",
- "jsonCannotEmpty": "json不能为空",
- "requestParamsTips": "设置HTTP请求的相关参数,可通过{{}}来
\n引用输入中存在的变量,例如{{input}},
\n其中input是输入中存在的一个变量
",
- "httpInputTips": "http节点的输入信息,可以在请求参数面板的
\n 输入框、文本区域中,通过“{{}}”引用对应字段
",
- "httpOutputTips": "http节点的输出内容:
\n status表示接口状态码,数值[200,300)范围内表示请求成功;
\ndata表示接口返回的原始数据,接口调用失败data为空;
\nerrorMsg表示错误信息,接口调用失败会展示错误信息。
",
- "paramsFieldNameRule": "输入只能包含字母、数字、下划线或者{{variables}}形式",
- "jsonRule": "json不能为空",
- "textRule": "text不能为空",
- "assignVariable": "变量赋值",
- "variableAggregationInputPopover": "功能:
\n负责整合不同分支的输出结果,确保无论哪个分支被执行,其结果都能通过一个统一的变量来引用和访问。
\n整合的变量必须是相同类型。
\n补充说明:
\n单分支场景下变量聚合,以最后一个变量的值为准。
",
- "variableAggregationOutputPopover": "输出聚合后的变量结果
",
- "fileExtractionConfig": "提取说明配置",
- "fileExtractionConfigTips": "提取文件信息的提示词,包含两个辅助编辑提示词的按钮:
\n点击右一星号按钮打开AI生成提示词弹窗;
\n点击右二全屏按钮打开全屏编辑弹窗。
",
- "fileExtractionOutputTips": "文件提取节点的输出信息,输出内容是大模型按照提示词从文件提取出的内容",
- "fileExtractionPrompt": "文件提取提示词",
- "fileExtractionInputTips": "1. 用户对话上传的文件,请选择引用系统上下文的files字段。
\n 2. 其他自定义来源的文件,请选择合适的引用。
\n 3. 支持图片、文件、音频、视频(pdf/txt/docx/
\nmarkdown/html/png/jpg/jpeg/mp3/mp4)
",
- "textToImageInputTips": "输入需要添加到创意描述中的信息,可被创意描述模板引用",
- "textToImageOutputTips": "一个结构体列表,包含了生成图片的url",
- "textToImageParamConfig": "参数设置",
- "textToImageConfigPanelHeader": "创意描述",
- "textToImagePrompt": "文生图提示词",
- "generateCount": "生成数量",
- "imageUnit": "张",
- "equal": "等于",
- "notEqual": "不等于",
- "contains": "包含",
- "doesNotContain": "不包含",
- "longerThan": "长度大于",
- "longerThanOrEqual": "长度大于等于",
- "shorterThan": "长度小于",
- "shorterThanOrEqual": "长度小于等于",
- "startsWith": "开头为",
- "endsWith": "结尾为",
- "isEmpty": "为空",
- "isNotEmpty": "不为空",
- "isNull": "为Null",
- "isNotNull": "不为Null",
- "isTrue": "为true",
- "isFalse": "为false",
- "greaterThan": "大于",
- "greaterThanOrEqual": "大于等于",
- "lessThan": "小于",
- "lessThanOrEqual": "小于等于",
- "notePlaceHolder" : "这是一个注释节点",
- "pluginCannotBeEmpty": "插件不能为空",
- "chooseToBeLoopParam": "设为循环参数",
- "loopRadioIsRequired": "需选择循环参数",
- "loopSkillPopover": "可选择工具或工作流作为循环调用的对象",
- "formItem": "表单项",
- "pleaseInsertFormItemName": "请输入名称",
- "formItemNameMustBeUnique": "名称须唯一",
- "formItemNameCannotBeEmpty": "名称不能为空",
- "pleaseInsertFormItemDisplayName": "请输入展示名称",
- "formItemDisplayNameMustBeUnique": "展示名称须唯一",
- "formItemDisplayNameCannotBeEmpty": "展示名称不能为空",
- "formItemDisplayNameRule": "只能包含大小写英文、数字和中文的字符串,可以包含中划线和下划线,但不能以中划线和下划线开头或结尾",
- "formItemNameRule": "只能包含字母、数字或下划线,且必须以字母或下划线开头",
- "formItemName": "表单项名称",
- "formItemDisplayName": "表单项展示名称",
- "formItemType": "表单项类型",
- "formItemRenderType": "表单项渲染组件",
- "formItemRenderTypeCannotBeEmpty": "渲染组件不能为空",
- "formItemDefaultValue": "表单项默认值",
- "formItemOptionsValue": "表单选项",
- "pushResultToChat": "输出结果至聊天",
- "appConfig": "应用配置",
- "appChatStyle": "应用界面配置",
- "appChatStyleCannotBeEmpty": "应用界面配置不能为空",
- "formItemFieldTypeCannotBeEmpty": "表单项类型不能为空",
- "addParallelTask": "添加并行任务",
- "parameterDescription": "参数介绍:",
- "parallelNode": "并行节点",
- "type": "类型",
- "orchestration": "编排",
- "manual": "人工",
- "mcpServerConfig": "MCP服务配置",
- "pleaseEnterValidJson": "请输入合法的 JSON 格式!",
- "mcpServerConfigPopover": "示例:(暂不支持鉴权的使用方式)\n{\n \"server_name\": {\n \"url\": \"https://127.0.0.1:80/sse\",\n }\n}",
- "enableRerank": "是否重排",
- "rerankModel": "重排模型",
- "rerankTopN": "重排Top N",
- "noContent": "暂无数据",
- "rerankConfig": "检索节点配置",
- "whetherRerank": "是否重排",
- "topN": "topN",
- "textConcatenationOutputPopover": "拼接后的文本。",
- "templateInputPopover": "输入需要添加到文本模板中的信息,可被文本模板引用。",
- "textConcatenateNodeTitle": "文本拼接",
- "concatenatedTextLabel": "拼接文本",
- "add": "新增",
- "value": "值",
- "replyTextLabel": "回复内容"
-}
diff --git a/agent-flow/src/index.js b/agent-flow/src/index.js
deleted file mode 100644
index 7460eda..0000000
--- a/agent-flow/src/index.js
+++ /dev/null
@@ -1,13 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
- * This file is a part of the ModelEngine Project.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-import {JadeFlow} from '@/flow/jadeFlowEntry.jsx';
-import {NODE_STATUS} from '@/common/Consts.js';
-import MultiConversation from '@/components/start/MultiConversation.jsx';
-import MultiConversationContent from '@/components/start/MultiConversationContent.jsx';
-import {createGraphOperator} from '@/data/GraphOperator.js';
-
-export {JadeFlow, NODE_STATUS, MultiConversation, MultiConversationContent, createGraphOperator};
diff --git a/agent-flow/src/main.jsx b/agent-flow/src/main.jsx
deleted file mode 100644
index 8da99e8..0000000
--- a/agent-flow/src/main.jsx
+++ /dev/null
@@ -1,16 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
- * This file is a part of the ModelEngine Project.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-import ReactDOM from 'react-dom/client';
-import App from './App.jsx';
-import i18n from './i18n/i18n.js';
-
-ReactDOM.createRoot(document.getElementById('root')).render(
- // 打开strictMode会导致每个组件被加载两次,测试某些功能时可以打开
- //
- ,
- // ,
-);
diff --git a/agent-flow/src/shapes/systemEnv.jsx b/agent-flow/src/shapes/systemEnv.jsx
deleted file mode 100644
index 4ddaec1..0000000
--- a/agent-flow/src/shapes/systemEnv.jsx
+++ /dev/null
@@ -1,56 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
- * This file is a part of the ModelEngine Project.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-import {rectangle} from '@fit-elsa/elsa';
-import {DATA_TYPES, VIRTUAL_CONTEXT_NODE, VIRTUAL_CONTEXT_NODE_VARIABLES} from '@/common/Consts.js';
-import {emptyStatusManager} from '@/components/base/emptyStatusManager.js';
-
-/**
- * 系统变量.
- *
- * @overview
- */
-export const systemEnv = (id, x, y, width, height, parent) => {
- const self = rectangle(id, x, y, width, height, parent);
- self.type = 'systemEnv';
- self.serializable = false;
- const i18n = self.graph.i18n;
- self.text = i18n?.t(VIRTUAL_CONTEXT_NODE.name) ?? VIRTUAL_CONTEXT_NODE.name;
- self.visible = false;
- self.x = 0;
- self.y = 0;
- self.width = 0;
- self.height = 0;
- self.virtualNodeInfoList = [
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.INSTANCE_ID, value: VIRTUAL_CONTEXT_NODE_VARIABLES.INSTANCE_ID, type: DATA_TYPES.STRING},
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.APP_ID, value: VIRTUAL_CONTEXT_NODE_VARIABLES.APP_ID, type: DATA_TYPES.STRING},
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.MEMORIES, value: VIRTUAL_CONTEXT_NODE_VARIABLES.MEMORIES, type: DATA_TYPES.ARRAY},
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.USE_MEMORY, value: VIRTUAL_CONTEXT_NODE_VARIABLES.USE_MEMORY, type: DATA_TYPES.BOOLEAN},
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.USER_ID, value: VIRTUAL_CONTEXT_NODE_VARIABLES.USER_ID, type: DATA_TYPES.STRING},
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.FILE_URLS, value: VIRTUAL_CONTEXT_NODE_VARIABLES.FILE_URLS, type: DATA_TYPES.ARRAY},
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.CHAT_ID, value: VIRTUAL_CONTEXT_NODE_VARIABLES.CHAT_ID, type: DATA_TYPES.STRING},
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.IS_GUEST, value: VIRTUAL_CONTEXT_NODE_VARIABLES.IS_GUEST, type: DATA_TYPES.BOOLEAN},
- {observableId: VIRTUAL_CONTEXT_NODE_VARIABLES.APP_CREATE_BY, value: VIRTUAL_CONTEXT_NODE_VARIABLES.APP_CREATE_BY, type: DATA_TYPES.STRING},
- ];
- self.statusManager = emptyStatusManager(self);
-
- /**
- * 注册可被观察者.
- */
- self.registerObservables = () => {
- self.virtualNodeInfoList.forEach(({observableId, value, type}) => {
- self.page.registerObservable({
- nodeId: VIRTUAL_CONTEXT_NODE.id,
- observableId,
- value,
- type,
- parentId: undefined,
- });
- });
- };
-
- return self;
-};
\ No newline at end of file
diff --git a/agent-flow/src/testFlowData.js b/agent-flow/src/testFlowData.js
deleted file mode 100644
index f15a3d2..0000000
--- a/agent-flow/src/testFlowData.js
+++ /dev/null
@@ -1,1210 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
- * This file is a part of the ModelEngine Project.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-export const graphData = {
- "id": "ee1d1c6d8f314fa090b5a3afe8adaf40",
- "title": "jadeFlow",
- "source": "elsa",
- "type": "jadeFlowGraph",
- "tenant": "1111",
- "setting": {
- "borderColor": "#047bfc",
- "backColor": "whitesmoke",
- "headColor": "steelblue",
- "fontColor": "steelblue",
- "captionfontColor": "whitesmoke",
- "fontFace": "arial",
- "captionfontFace": "arial black",
- "fontSize": 12,
- "captionfontSize": 14,
- "fontStyle": "normal",
- "captionfontStyle": "normal",
- "fontWeight": "lighter",
- "captionfontWeight": "lighter",
- "hAlign": "center",
- "vAlign": "top",
- "captionhAlign": "center",
- "lineHeight": 1.5,
- "lineWidth": 2,
- "captionlineHeight": 1,
- "focusMargin": 0,
- "focusBorderColor": "#047bfc",
- "focusFontColor": "darkorange",
- "focusBackColor": "whitesmoke",
- "mouseInColor": "orange",
- "mouseInBorderColor": "#047bfc",
- "mouseInFontColor": "orange",
- "mouseInBackColor": "whitesmoke",
- "borderWidth": 1,
- "focusBorderWidth": 1,
- "globalAlpha": 1,
- "backAlpha": 0.15,
- "cornerRadius": 4,
- "dashWidth": 0,
- "autoText": false,
- "autoHeight": false,
- "autoWidth": false,
- "margin": 25,
- "pad": 10,
- "code": "",
- "rotateDegree": 0,
- "shadow": "",
- "focusShadow": "",
- "shadowData": "2px 2px 4px",
- "outstanding": false,
- "pDock": "none",
- "dockMode": "none",
- "priority": 0,
- "infoType": {
- "next": "INFORMATION",
- "name": "none"
- },
- "progressStatus": {
- "next": "UNKNOWN",
- "color": "gray",
- "name": "NONE"
- },
- "progressPercent": 0.65,
- "showedProgress": false,
- "itemPad": [
- 5,
- 5,
- 5,
- 5
- ],
- "itemScroll": {
- "x": 0,
- "y": 0
- },
- "scrollLock": {
- "x": false,
- "y": false
- },
- "resizeable": true,
- "selectable": true,
- "rotateAble": true,
- "editable": true,
- "moveable": true,
- "dragable": true,
- "visible": true,
- "deletable": true,
- "allowLink": true,
- "shared": false,
- "strikethrough": false,
- "underline": false,
- "numberedList": false,
- "bulletedList": false,
- "enableAnimation": false,
- "enableSocial": true,
- "emphasized": false,
- "bulletSpeed": 1,
- "tag": {},
- "allNodeNumLimit": 99,
- "sameTypeNodeNumLimit": 19,
- "outlineWidth": 10,
- "outlineColor": "rgba(74,147,255,0.12)"
- },
- "pages": [
- {
- "type": "jadeFlowPage",
- "id": "elsa-page:tvp1s6",
- "text": "newFlowPage",
- "namespace": "jadeFlow",
- "x": 599.9603174603174,
- "y": 355.595238095238,
- "width": 1600,
- "height": 800,
- "bold": false,
- "italic": false,
- "dockAlign": "top",
- "division": -1,
- "itemSpace": 5,
- "itemPad": [
- 0,
- 0,
- 0,
- 0
- ],
- "itemScroll": {
- "x": 0,
- "y": 0
- },
- "hideText": true,
- "dockMode": "none",
- "shapesAs": {},
- "borderColor": "white",
- "backColor": "#fbfbfc",
- "fontSize": 18,
- "fontFace": "arial",
- "fontColor": "#ECD0A7",
- "fontWeight": "bold",
- "fontStyle": "normal",
- "hAlign": "left",
- "vAlign": "top",
- "moveable": true,
- "container": "elsa-page:tvp1s6",
- "scaleX": 0.6000000000000001,
- "scaleY": 0.6000000000000001,
- "focusBackColor": "#fbfbfc",
- "dirty": false,
- "isPage": true,
- "mode": "configuration",
- "index": 0,
- "shapes": [
- {
- "type": "jadeEvent",
- "container": "elsa-page:tvp1s6",
- "id": "n2yqws",
- "text": "",
- "namespace": "flowable",
- "x": 794.1428571428573,
- "y": 355.11904761904754,
- "width": 82.5238095238094,
- "height": -115.95238095238085,
- "bold": false,
- "italic": false,
- "pad": 0,
- "margin": 20,
- "backColor": "white",
- "hideText": true,
- "beginArrow": false,
- "beginArrowEmpty": false,
- "beginArrowSize": 4,
- "endArrow": true,
- "endArrowEmpty": false,
- "endArrowSize": 4,
- "textX": 0,
- "textY": 0,
- "hAlign": "center",
- "lineWidth": 2,
- "fromShape": "jadewdnjbq",
- "toShape": "jade62q33k",
- "definedFromConnector": "E",
- "definedToConnector": "W",
- "arrowBeginPoint": {
- "x": 0,
- "y": 0
- },
- "arrowEndPoint": {
- "x": 0,
- "y": 0
- },
- "curvePoint1": {
- "x": 0,
- "y": 0
- },
- "curvePoint2": {
- "x": 0,
- "y": 0
- },
- "brokenPoints": [],
- "lineMode": {
- "type": "auto_curve"
- },
- "allowSwitchLineMode": false,
- "allowLink": false,
- "borderWidth": 1,
- "borderColor": "#B1B1B7",
- "mouseInBorderColor": "#B1B1B7",
- "runnable": true,
- "index": 0,
- "dirty": true
- },
- {
- "type": "jadeEvent",
- "container": "elsa-page:tvp1s6",
- "id": "h59x42",
- "text": "",
- "namespace": "flowable",
- "x": 1466.3335164388022,
- "y": 246.16663614908853,
- "width": 128.13076927548354,
- "height": -79.73806472051731,
- "bold": false,
- "italic": false,
- "pad": 0,
- "margin": 20,
- "backColor": "white",
- "hideText": true,
- "beginArrow": false,
- "beginArrowEmpty": false,
- "beginArrowSize": 4,
- "endArrow": true,
- "endArrowEmpty": false,
- "endArrowSize": 4,
- "textX": 0,
- "textY": 0,
- "hAlign": "center",
- "lineWidth": 2,
- "fromShape": "jade62q33k",
- "toShape": "jadesoux5i",
- "definedFromConnector": "dynamic-0|9336682a-4ade-4583-ad77-7d995381e031",
- "definedToConnector": "W",
- "arrowBeginPoint": {
- "x": 0,
- "y": 0
- },
- "arrowEndPoint": {
- "x": 0,
- "y": 0
- },
- "curvePoint1": {
- "x": 0,
- "y": 0
- },
- "curvePoint2": {
- "x": 0,
- "y": 0
- },
- "brokenPoints": [],
- "lineMode": {
- "type": "auto_curve"
- },
- "allowSwitchLineMode": false,
- "allowLink": false,
- "borderWidth": 1,
- "borderColor": "#B1B1B7",
- "mouseInBorderColor": "#B1B1B7",
- "runnable": true,
- "index": 1,
- "dirty": true
- },
- {
- "type": "jadeEvent",
- "container": "elsa-page:tvp1s6",
- "id": "uge3b5",
- "text": "",
- "namespace": "flowable",
- "x": 1466.3335164388022,
- "y": 359.16666666666663,
- "width": 143.1307692754831,
- "height": 263.9285714285712,
- "bold": false,
- "italic": false,
- "pad": 0,
- "margin": 20,
- "backColor": "white",
- "hideText": true,
- "beginArrow": false,
- "beginArrowEmpty": false,
- "beginArrowSize": 4,
- "endArrow": true,
- "endArrowEmpty": false,
- "endArrowSize": 4,
- "textX": 0,
- "textY": 0,
- "hAlign": "center",
- "lineWidth": 2,
- "fromShape": "jade62q33k",
- "toShape": "jadem43dzd",
- "definedFromConnector": "dynamic-999",
- "definedToConnector": "W",
- "arrowBeginPoint": {
- "x": 0,
- "y": 0
- },
- "arrowEndPoint": {
- "x": 0,
- "y": 0
- },
- "curvePoint1": {
- "x": 0,
- "y": 0
- },
- "curvePoint2": {
- "x": 0,
- "y": 0
- },
- "brokenPoints": [],
- "lineMode": {
- "type": "auto_curve"
- },
- "allowSwitchLineMode": false,
- "allowLink": false,
- "borderWidth": 1,
- "borderColor": "#B1B1B7",
- "mouseInBorderColor": "#B1B1B7",
- "runnable": true,
- "index": 2,
- "dirty": true
- },
- {
- "type": "startNodeStart",
- "container": "elsa-page:tvp1s6",
- "id": "jade6qm5eg",
- "text": "开始",
- "namespace": "flowable",
- "x": -564.2261904761901,
- "y": -27.5,
- "width": 360,
- "height": 669,
- "bold": false,
- "italic": false,
- "deletable": true,
- "pad": 6,
- "rotateAble": false,
- "triggerMode": "auto",
- "enableAnimation": false,
- "warningTask": 0,
- "runningTask": 0,
- "completedTask": 0,
- "hideText": true,
- "autoHeight": true,
- "borderColor": "rgba(28,31,35,.08)",
- "mouseInBorderColor": "rgba(28,31,35,.08)",
- "shadow": "0 2px 4px 0 rgba(0,0,0,.1)",
- "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)",
- "borderWidth": 1,
- "outlineWidth": 10,
- "outlineColor": "rgba(74,147,255,0.12)",
- "dashWidth": 0,
- "backColor": "white",
- "focusBackColor": "white",
- "cornerRadius": 8,
- "flowMeta": {
- "triggerMode": "auto",
- "inputParams": [
- {
- "id": "91138f09-b635-43df-95c6-1fe3d1745829",
- "name": "input",
- "type": "Object",
- "from": "Expand",
- "config": [
- {
- "allowAdd": true
- }
- ],
- "value": [
- {
- "id": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb",
- "name": "Question",
- "type": "String",
- "from": "Input",
- "description": "这是用户输入的问题",
- "value": "",
- "disableModifiable": true
- }
- ]
- },
- {
- "id": "4a770dc6-e3c9-475d-84c7-48dacc74a5b6",
- "name": "memory",
- "type": "Object",
- "from": "Expand",
- "value": [
- {
- "id": "cee9a31b-781c-4835-a616-ceed73be22a7",
- "name": "memorySwitch",
- "type": "Boolean",
- "from": "Input",
- "value": true
- },
- {
- "id": "cee9a31b-781c-4835-a616-ceed73be22f2",
- "name": "type",
- "type": "String",
- "from": "Input",
- "value": "ByConversationTurn"
- },
- {
- "id": "69592622-4291-409d-9d65-9faea83db657",
- "name": "value",
- "type": "Integer",
- "from": "Input",
- "value": "3"
- }
- ]
- }
- ]
- },
- "sourcePlatform": "official",
- "componentName": "startComponent",
- "index": 3,
- "dirty": true,
- "runnable": true
- },
- {
- "type": "llmNodeState",
- "container": "elsa-page:tvp1s6",
- "id": "jadewdnjbq",
- "text": "大模型",
- "namespace": "flowable",
- "x": 434.14285714285734,
- "y": -64.88095238095246,
- "width": 360,
- "height": 840,
- "bold": false,
- "italic": false,
- "pad": 6,
- "rotateAble": false,
- "triggerMode": "auto",
- "enableAnimation": false,
- "warningTask": 0,
- "runningTask": 0,
- "completedTask": 0,
- "hideText": true,
- "autoHeight": true,
- "borderColor": "rgba(28,31,35,.08)",
- "mouseInBorderColor": "rgba(28,31,35,.08)",
- "shadow": "0 2px 4px 0 rgba(0,0,0,.1)",
- "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)",
- "borderWidth": 1,
- "outlineWidth": 10,
- "outlineColor": "rgba(74,147,255,0.12)",
- "dashWidth": 0,
- "backColor": "white",
- "focusBackColor": "white",
- "cornerRadius": 8,
- "flowMeta": {
- "triggerMode": "auto",
- "jober": {
- "type": "general_jober",
- "name": "",
- "fitables": [
- "modelengine.fit.jober.aipp.fitable.LLMComponent"
- ],
- "converter": {
- "type": "mapping_converter",
- "entity": {
- "inputParams": [
- {
- "id": "6c414e75-971e-403a-b2b1-c6850f128cc4",
- "name": "model",
- "type": "String",
- "from": "Input",
- "value": "Qwen1.5-32B-Chat"
- },
- {
- "id": "db5fdafa-4cbf-44ba-9cca-8a98f1f77111",
- "name": "accessInfo",
- "type": "Object",
- "from": "Expand",
- "value": [
- {
- "id": "db5fdafa-4cbf-44ba-9cca-8a98f1f77121",
- "name": "serviceName",
- "type": "String",
- "from": "Input",
- "value": "Fake Model"
- },
- {
- "id": "db5fdafa-4cbf-44ba-9cca-8a98f1f77122",
- "name": "tag",
- "type": "String",
- "from": "String",
- "value": "INTERNAL"
- }
- ]
- },
- {
- "id": "db5fdafa-4cbf-44ba-9cca-8a98f1f771f4",
- "name": "temperature",
- "type": "Number",
- "from": "Input",
- "value": "0.3"
- },
- {
- "id": "88f74d78-4711-4f81-a2e7-74d0034c5e88",
- "name": "prompt",
- "type": "Object",
- "from": "Expand",
- "value": [
- {
- "id": "35a710cf-1b79-4523-b16f-b50878d677fe",
- "name": "template",
- "type": "String",
- "from": "Input",
- "value": "请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"
- },
- {
- "id": "38fb27a1-71f4-4fcc-87d5-9d8a880bc04d",
- "name": "variables",
- "type": "Object",
- "from": "Expand",
- "value": [
- {
- "id": "aeba7823-8d14-4750-9723-55265ae71c4e",
- "name": "knowledge",
- "type": null,
- "from": "Reference",
- "value": [],
- "referenceNode": "jade0pg2ag",
- "referenceId": "5c9c6535-c127-445a-862a-966cf1083929",
- "referenceKey": null
- },
- {
- "id": "eee66922-4304-4209-89fc-b13ffa101630",
- "name": "query",
- "type": "String",
- "from": "Reference",
- "value": [
- "Question"
- ],
- "referenceKey": "Question",
- "referenceNode": "jade6qm5eg",
- "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"
- }
- ]
- }
- ]
- },
- {
- "id": "a6865419-867c-4bfb-855c-f5c1876c965a",
- "name": "tools",
- "type": "Array",
- "from": "Input",
- "value": []
- },
- {
- "id": "308e2023-a8e9-486e-9784-8680addbb786",
- "name": "workflows",
- "type": "Array",
- "from": "Input",
- "value": []
- },
- {
- "id": "68f92923-d5da-42ce-8478-d7ac7d90664e",
- "name": "systemPrompt",
- "type": "String",
- "from": "Input",
- "value": ""
- },
- {
- "id": "41b779fe-e522-4995-9b8e-fd772fb009e8",
- "name": "maxMemoryRounds",
- "type": "Integer",
- "from": "Input",
- "value": "0"
- },
- {
- "id": "eb53b8ca-ab64-4325-852a-1ff2842dbb95",
- "from": "Input",
- "name": "enableLog",
- "type": "Boolean",
- "value": false
- }
- ],
- "outputParams": [
- {
- "id": "95d84d67-3198-415e-a63c-bc9a2da8d821",
- "name": "output",
- "type": "Object",
- "from": "Expand",
- "value": [
- {
- "id": "272c927a-9e25-48b6-a921-6a8ab20267a4",
- "name": "llmOutput",
- "type": "string",
- "from": "Input",
- "description": "",
- "value": ""
- }
- ]
- }
- ]
- }
- },
- "isAsync": "true"
- },
- "joberFilter": {
- "type": "MINIMUM_SIZE_FILTER",
- "threshold": 1
- }
- },
- "sourcePlatform": "official",
- "componentName": "llmComponent",
- "index": 4,
- "dirty": true,
- "runnable": true
- },
- {
- "type": "endNodeEnd",
- "container": "elsa-page:tvp1s6",
- "id": "jadesoux5i",
- "text": "结束",
- "namespace": "flowable",
- "x": 1594.4642857142858,
- "y": 26.428571428571217,
- "width": 360,
- "height": 280,
- "bold": false,
- "italic": false,
- "deletable": true,
- "pad": 6,
- "rotateAble": false,
- "triggerMode": "auto",
- "enableAnimation": false,
- "warningTask": 0,
- "runningTask": 0,
- "completedTask": 0,
- "hideText": true,
- "autoHeight": true,
- "borderColor": "rgba(28,31,35,.08)",
- "mouseInBorderColor": "rgba(28,31,35,.08)",
- "shadow": "0 2px 4px 0 rgba(0,0,0,.1)",
- "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)",
- "borderWidth": 1,
- "outlineWidth": 10,
- "outlineColor": "rgba(74,147,255,0.12)",
- "dashWidth": 0,
- "backColor": "white",
- "focusBackColor": "white",
- "cornerRadius": 8,
- "flowMeta": {
- "triggerMode": "auto",
- "callback": {
- "type": "general_callback",
- "name": "通知回调",
- "fitables": [
- "modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"
- ],
- "converter": {
- "type": "mapping_converter",
- "entity": {
- "inputParams": [
- {
- "id": "494485a0-909e-4f18-ad5d-44ea8aca2e83",
- "name": "finalOutput",
- "type": "Object",
- "from": "Expand",
- "referenceNode": "",
- "referenceId": "",
- "referenceKey": "",
- "value": [
- {
- "id": "ffad80c2-3f60-4d57-93b2-c2362a5dab9c",
- "name": "finalOutput",
- "type": "string",
- "description": "",
- "from": "Reference",
- "referenceNode": "jadewdnjbq",
- "referenceId": "272c927a-9e25-48b6-a921-6a8ab20267a4",
- "referenceKey": "llmOutput",
- "value": [
- "output",
- "llmOutput"
- ],
- "editable": true
- }
- ],
- "editable": false,
- "isRequired": false
- }
- ],
- "outputParams": [
- {}
- ]
- }
- }
- }
- },
- "sourcePlatform": "official",
- "componentName": "endComponent",
- "index": 5,
- "dirty": true,
- "runnable": true
- },
- {
- "type": "conditionNodeCondition",
- "container": "elsa-page:tvp1s6",
- "id": "jade62q33k",
- "text": "条件",
- "namespace": "flowable",
- "x": 876.6666666666667,
- "y": 59.166666666666686,
- "width": 600,
- "height": 360,
- "bold": false,
- "italic": false,
- "pad": 6,
- "rotateAble": false,
- "triggerMode": "auto",
- "enableAnimation": false,
- "warningTask": 0,
- "runningTask": 0,
- "completedTask": 0,
- "hideText": true,
- "autoHeight": true,
- "borderColor": "rgba(28,31,35,.08)",
- "outlineColor": "rgba(74,147,255,0.12)",
- "borderWidth": 1,
- "focusBorderWidth": 1,
- "outlineWidth": 10,
- "dashWidth": 0,
- "backColor": "white",
- "focusBackColor": "white",
- "cornerRadius": 8,
- "flowMeta": {
- "triggerMode": "auto",
- "joberFilter": {
- "type": "MINIMUM_SIZE_FILTER",
- "threshold": 1
- },
- "conditionParams": {
- "branches": [
- {
- "id": "9336682a-4ade-4583-ad77-7d995381e031",
- "conditionRelation": "and",
- "type": "if",
- "runnable": true,
- "conditions": [
- {
- "id": "89d7f0e6-2fa5-47f0-8917-e5e2cea63428",
- "condition": "equal",
- "value": [
- {
- "id": "e36e4043-8cab-443d-9195-77ea3aa2d9a9",
- "name": "left",
- "type": "string",
- "from": "Reference",
- "value": [
- "output",
- "llmOutput"
- ],
- "referenceNode": "jadewdnjbq",
- "referenceId": "272c927a-9e25-48b6-a921-6a8ab20267a4",
- "referenceKey": "llmOutput"
- },
- {
- "id": "dbdbf5d5-6e49-4f20-be3b-cfd75fff48b7",
- "name": "right",
- "type": "string",
- "from": "Input",
- "value": "123",
- "referenceNode": "",
- "referenceId": "",
- "referenceKey": ""
- }
- ]
- }
- ]
- },
- {
- "id": "c1483791-c3ce-486c-ba54-6fe9d7b3ef3f",
- "conditionRelation": "and",
- "type": "else",
- "runnable": true,
- "conditions": [
- {
- "id": "fca67872-b0a7-423c-9014-6abf4784b0b6",
- "condition": "true",
- "value": []
- }
- ]
- }
- ]
- }
- },
- "sourcePlatform": "official",
- "runnable": true,
- "disabled": false,
- "componentName": "conditionComponent",
- "index": 6,
- "dirty": true
- },
- {
- "type": "endNodeEnd",
- "container": "elsa-page:tvp1s6",
- "id": "jadem43dzd",
- "text": "结束_1",
- "namespace": "flowable",
- "x": 1609.4642857142853,
- "y": 483.09523809523785,
- "width": 360,
- "height": 280,
- "bold": false,
- "italic": false,
- "deletable": true,
- "pad": 6,
- "rotateAble": false,
- "triggerMode": "auto",
- "enableAnimation": false,
- "warningTask": 0,
- "runningTask": 0,
- "completedTask": 0,
- "hideText": true,
- "autoHeight": true,
- "borderColor": "rgba(28,31,35,.08)",
- "mouseInBorderColor": "rgba(28,31,35,.08)",
- "shadow": "0 2px 4px 0 rgba(0,0,0,.1)",
- "focusShadow": "0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)",
- "borderWidth": 1,
- "outlineWidth": 10,
- "outlineColor": "rgba(74,147,255,0.12)",
- "dashWidth": 0,
- "backColor": "white",
- "focusBackColor": "white",
- "cornerRadius": 8,
- "flowMeta": {
- "triggerMode": "auto",
- "callback": {
- "type": "general_callback",
- "name": "通知回调",
- "fitables": [
- "modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"
- ],
- "converter": {
- "type": "mapping_converter",
- "entity": {
- "inputParams": [
- {
- "id": "9c90053a-7c50-48e4-b0c5-7d3bda875f06",
- "name": "finalOutput",
- "type": "Object",
- "from": "Expand",
- "referenceNode": "",
- "referenceId": "",
- "referenceKey": "",
- "value": [
- {
- "id": "2224b076-d3a1-48de-9636-a34372b80b5d",
- "name": "finalOutput",
- "type": "string",
- "description": "",
- "from": "Reference",
- "referenceNode": "jadewdnjbq",
- "referenceId": "272c927a-9e25-48b6-a921-6a8ab20267a4",
- "referenceKey": "llmOutput",
- "value": [
- "output",
- "llmOutput"
- ],
- "editable": true
- }
- ],
- "editable": false,
- "isRequired": false
- }
- ],
- "outputParams": [
- {}
- ]
- }
- }
- }
- },
- "sourcePlatform": "official",
- "componentName": "endComponent",
- "index": 7,
- "dirty": true,
- "runnable": true
- },
- {
- "type": "knowledgeRetrievalNodeState",
- "id": "jade9b9ghd",
- "container": "elsa-page:tvp1s6",
- "text": "知识检索",
- "namespace": "jadeFlow",
- "x": -83.33333333333326,
- "y": 113.33333333333331,
- "width": 360,
- "height": 494,
- "bold": false,
- "italic": false,
- "pad": 6,
- "rotateAble": false,
- "triggerMode": "auto",
- "enableAnimation": false,
- "warningTask": 0,
- "runningTask": 0,
- "completedTask": 0,
- "hideText": true,
- "autoHeight": true,
- "borderColor": "rgba(28,31,35,.08)",
- "mouseInBorderColor": "#B1B1B7",
- "outlineColor": "rgba(74,147,255,0.12)",
- "borderWidth": 1,
- "focusBorderWidth": 1,
- "outlineWidth": 10,
- "dashWidth": 0,
- "backColor": "white",
- "focusBackColor": "white",
- "cornerRadius": 8,
- "flowMeta": {
- "triggerMode": "auto",
- "jober": {
- "type": "STORE_JOBER",
- "name": "",
- "fitables": [],
- "converter": {
- "type": "mapping_converter",
- "entity": {
- "inputParams": [
- {
- "id": "query_dfc65188-caf2-4e2a-b9a0-24985862298c",
- "name": "query",
- "type": "String",
- "from": "Reference",
- "referenceNode": "jade6qm5eg",
- "referenceId": "input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb",
- "referenceKey": "Question",
- "editable": false,
- "value": [
- "Question"
- ]
- },
- {
- "id": "knowledge_edcf4873-5312-4554-9469-c5005572813c",
- "name": "knowledgeRepos",
- "type": "Array",
- "from": "Expand",
- "value": []
- },
- {
- "id": "retriever_option_e4b40b3d-9757-4346-8a90-cfb950d8f1e8",
- "name": "option",
- "type": "Object",
- "from": "Expand",
- "value": [
- {
- "id": "03ce03b6-8d00-4fb0-bf32-85b2b40aaaee",
- "from": "Expand",
- "name": "indexType",
- "type": "Object",
- "value": [
- {
- "id": "543ff920-9927-48c6-bb65-cb1b97944b65",
- "from": "Input",
- "name": "type",
- "type": "String",
- "value": "semantic"
- },
- {
- "id": "03d471a3-d4da-48a3-bbf8-d05bf06374e1",
- "from": "Input",
- "name": "name",
- "type": "String",
- "value": "语义检索"
- },
- {
- "id": "647d0884-5539-4618-922e-af12b08d1d34",
- "from": "Input",
- "name": "description",
- "type": "String",
- "value": "基于文本的含义检索出最相关的内容"
- }
- ]
- },
- {
- "id": "a6a619c8-eef0-4bfa-9e12-a8994edfb83f",
- "name": "similarityThreshold",
- "type": "Number",
- "from": "Input",
- "value": 0.5
- },
- {
- "id": "c809934a-9023-48dc-a2c8-e33274ab7101",
- "name": "referenceLimit",
- "type": "Object",
- "from": "Expand",
- "value": [
- {
- "id": "369ad79e-397f-417c-b671-c4f714734693",
- "name": "type",
- "type": "String",
- "from": "Input",
- "value": "topK"
- },
- {
- "id": "31071b92-7d9f-443b-930c-3329d05671f5",
- "name": "value",
- "type": "Integer",
- "from": "Input",
- "value": 3
- }
- ]
- },
- {
- "id": "e45abef0-e276-42ea-832a-87e4a2aeb2be",
- "name": "rerankParam",
- "type": "Object",
- "from": "Expand",
- "value": [
- {
- "id": "5b737124-7de9-45b9-bff3-87c6b4d817e8",
- "name": "enableRerank",
- "type": "Boolean",
- "from": "Input",
- "value": false
- }
- ]
- }
- ]
- }
- ],
- "outputParams": [
- {
- "id": "output_f910d825-9382-40be-a250-2a218f64a58d",
- "name": "output",
- "type": "Array",
- "from": "Expand",
- "value": []
- }
- ]
- }
- },
- "entity": {
- "uniqueName": "70d1adbd-3421-4cb0-9231-fa357688b706",
- "params": [
- {
- "name": "query"
- },
- {
- "name": "knowledgeRepos"
- },
- {
- "name": "option"
- }
- ],
- "return": {
- "type": "object"
- }
- }
- },
- "joberFilter": {
- "type": "MINIMUM_SIZE_FILTER",
- "threshold": 1
- }
- },
- "sourcePlatform": "official",
- "runnable": true,
- "enableMask": false,
- "componentName": "knowledgeRetrievalComponent",
- "index": 8,
- "dirty": true
- },
- {
- "type": "jadeEvent",
- "id": "jadey22z67",
- "container": "elsa-page:tvp1s6",
- "text": "",
- "namespace": "elsa",
- "x": -204.22619047619014,
- "y": 307,
- "width": 120.89285714285688,
- "height": 53.333333333333314,
- "bold": false,
- "italic": false,
- "pad": 0,
- "margin": 20,
- "backColor": "white",
- "hideText": true,
- "beginArrow": false,
- "beginArrowEmpty": false,
- "beginArrowSize": 4,
- "endArrow": true,
- "endArrowEmpty": false,
- "endArrowSize": 4,
- "textX": 0,
- "textY": 0,
- "hAlign": "center",
- "lineWidth": 2,
- "fromShape": "jade6qm5eg",
- "toShape": "jade9b9ghd",
- "definedFromConnector": "E",
- "definedToConnector": "W",
- "arrowBeginPoint": {
- "x": 0,
- "y": 0
- },
- "arrowEndPoint": {
- "x": 0,
- "y": 0
- },
- "curvePoint1": {
- "x": 0,
- "y": 0
- },
- "curvePoint2": {
- "x": 0,
- "y": 0
- },
- "brokenPoints": [],
- "lineMode": {
- "type": "auto_curve"
- },
- "allowSwitchLineMode": false,
- "allowLink": false,
- "borderWidth": 1,
- "borderColor": "#B1B1B7",
- "mouseInBorderColor": "#B1B1B7",
- "runnable": true,
- "index": 9,
- "dirty": true
- },
- {
- "type": "jadeEvent",
- "id": "jadev9kf1g",
- "container": "elsa-page:tvp1s6",
- "text": "",
- "namespace": "elsa",
- "x": 276.66666666666674,
- "y": 360.3333333333333,
- "width": 157.4761904761906,
- "height": -5.214285714285779,
- "bold": false,
- "italic": false,
- "pad": 0,
- "margin": 20,
- "backColor": "white",
- "hideText": true,
- "beginArrow": false,
- "beginArrowEmpty": false,
- "beginArrowSize": 4,
- "endArrow": true,
- "endArrowEmpty": false,
- "endArrowSize": 4,
- "textX": 0,
- "textY": 0,
- "hAlign": "center",
- "lineWidth": 2,
- "fromShape": "jade9b9ghd",
- "toShape": "jadewdnjbq",
- "definedFromConnector": "E",
- "definedToConnector": "W",
- "arrowBeginPoint": {
- "x": 0,
- "y": 0
- },
- "arrowEndPoint": {
- "x": 0,
- "y": 0
- },
- "curvePoint1": {
- "x": 0,
- "y": 0
- },
- "curvePoint2": {
- "x": 0,
- "y": 0
- },
- "brokenPoints": [],
- "lineMode": {
- "type": "auto_curve"
- },
- "allowSwitchLineMode": false,
- "allowLink": false,
- "borderWidth": 1,
- "borderColor": "#B1B1B7",
- "mouseInBorderColor": "#B1B1B7",
- "runnable": true,
- "index": 10,
- "dirty": true
- }
- ]
- }
- ],
- "enableText": false,
- "flowMeta": {
- "exceptionFitables": [
- "modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler"
- ]
- }
-};
-
-export const evaluationTestData = {"id":"ee1d1c6d8f314fa090b5a3afe8adaf40","title":"jadeFlow","source":"elsa","type":"jadeFlowGraph","tenant":"1111","setting":{"borderColor":"#047bfc","backColor":"whitesmoke","headColor":"steelblue","fontColor":"steelblue","captionfontColor":"whitesmoke","fontFace":"arial","captionfontFace":"arial black","fontSize":12,"captionfontSize":14,"fontStyle":"normal","captionfontStyle":"normal","fontWeight":"lighter","captionfontWeight":"lighter","hAlign":"center","vAlign":"top","captionhAlign":"center","lineHeight":1.5,"lineWidth":2,"captionlineHeight":1,"focusMargin":0,"focusBorderColor":"#047bfc","focusFontColor":"darkorange","focusBackColor":"whitesmoke","mouseInColor":"orange","mouseInBorderColor":"#047bfc","mouseInFontColor":"orange","mouseInBackColor":"whitesmoke","borderWidth":1,"focusBorderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","globalAlpha":1,"backAlpha":0.15,"cornerRadius":4,"dashWidth":0,"autoText":false,"autoHeight":false,"autoWidth":false,"margin":25,"pad":10,"code":"","rotateDegree":0,"shadow":"","focusShadow":"","shadowData":"2px 2px 4px","outstanding":false,"pDock":"none","dockMode":"none","priority":0,"infoType":{"next":"INFORMATION","name":"none"},"progressStatus":{"next":"UNKNOWN","color":"gray","name":"NONE"},"progressPercent":0.65,"showedProgress":false,"itemPad":[5,5,5,5],"itemScroll":{"x":0,"y":0},"scrollLock":{"x":false,"y":false},"resizeable":true,"selectable":true,"rotateAble":true,"editable":true,"moveable":true,"dragable":true,"visible":true,"deletable":true,"allowLink":true,"shared":false,"strikethrough":false,"underline":false,"numberedList":false,"bulletedList":false,"enableAnimation":false,"enableSocial":true,"emphasized":false,"bulletSpeed":1,"tag":{}},"pages":[{"type":"jadeFlowPage","id":"elsa-page:tvp1s6","text":"newFlowPage","namespace":"jadeFlow","x":1070.9603174603171,"y":189.2619047619046,"width":1600,"height":800,"bold":false,"italic":false,"dockAlign":"top","division":-1,"itemSpace":5,"itemPad":[0,0,0,0],"itemScroll":{"x":0,"y":0},"hideText":true,"dockMode":"none","shapesAs":{},"borderColor":"white","backColor":"#fbfbfc","fontSize":18,"fontFace":"arial","fontColor":"#ECD0A7","fontWeight":"bold","fontStyle":"normal","hAlign":"left","vAlign":"top","moveable":true,"container":"elsa-page:tvp1s6","scaleX":0.5000000000000001,"scaleY":0.5000000000000001,"focusBackColor":"#fbfbfc","dirty":true,"isPage":true,"mode":"configuration","index":0,"shapes":[{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"jade2zanyx","text":"","namespace":"flowable","x":-485.8928571428569,"y":323.99999999999994,"width":116.64285714285677,"height":86.35714285714283,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade6qm5eg","toShape":"jade0pg2ag","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0,"direction":{"cursor":"ew-resize","key":"E","color":"whitesmoke","ax":"x","vector":1,"value":"E"}},"arrowEndPoint":{"x":96,"y":80,"direction":{"cursor":"ew-resize","key":"W","color":"whitesmoke","ax":"x","vector":-1,"value":"W"}},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[{"x":50,"y":0},{"x":50,"y":80}],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","index":-100,"dirty":true,"runnable":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"jade1p0cdu","text":"","namespace":"flowable","x":1307.642857142857,"y":283.5357142857142,"width":220.07142857142776,"height":10.89285714285711,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadewdnjbq","toShape":"jadesoux5i","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0,"direction":{"cursor":"ew-resize","key":"E","color":"whitesmoke","ax":"x","vector":1,"value":"E"}},"arrowEndPoint":{"x":96,"y":80,"direction":{"cursor":"ew-resize","key":"W","color":"whitesmoke","ax":"x","vector":-1,"value":"W"}},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[{"x":50,"y":0},{"x":50,"y":80}],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","index":-98,"dirty":true,"runnable":true},{"type":"startNodeStart","container":"elsa-page:tvp1s6","id":"jade6qm5eg","text":"开始","namespace":"flowable","x":-845.8928571428569,"y":-28.000000000000057,"width":360,"height":704,"bold":false,"italic":false,"deletable":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","inputParams":[{"id":"91138f09-b635-43df-95c6-1fe3d1745829","name":"input","type":"Object","from":"Expand","config":[{"allowAdd":true}],"value":[{"id":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","name":"Question","type":"String","from":"Input","description":"这是用户输入的问题","value":"","disableModifiable":true}]},{"id":"4a770dc6-e3c9-475d-84c7-48dacc74a5b6","name":"memory","type":"Object","from":"Expand","value":[{"id":"cee9a31b-781c-4835-a616-ceed73be22a7","name":"memorySwitch","type":"Boolean","from":"Input","value":true},{"id":"cee9a31b-781c-4835-a616-ceed73be22f2","name":"type","type":"String","from":"Input","value":"ByConversationTurn"},{"id":"69592622-4291-409d-9d65-9faea83db657","name":"value","type":"Integer","from":"Input","value":"3"}]}]},"sourcePlatform":"official","componentName":"startComponent","index":103,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jade0pg2ag","text":"普通检索","namespace":"flowable","x":-369.2500000000001,"y":175.35714285714275,"width":360,"height":470,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"query_0ab55575-f21d-4b19-9676-57fcb4b0b783","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]},{"id":"knowledge_01c41edd-a22b-4289-b1cf-8db835833261","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"55f8e6eb-dab5-435f-94ea-18108eaba982","type":"Object","from":"Expand","value":[]}]},{"id":"maximum_2da115cd-c1ce-485f-ba98-b4c995f3d6ff","name":"maximum","type":"Integer","from":"Input","value":3}],"outputParams":[{"id":"output_cd5cbe89-0d9f-4cf1-9e09-afb325576b84","name":"output","type":"Object","from":"Expand","value":[{"id":"5c9c6535-c127-445a-862a-966cf1083929","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":104,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadewdnjbq","text":"大模型","namespace":"flowable","x":947.6428571428571,"y":-179.96428571428578,"width":360,"height":927,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"6c414e75-971e-403a-b2b1-c6850f128cc4","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"db5fdafa-4cbf-44ba-9cca-8a98f1f771f4","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"88f74d78-4711-4f81-a2e7-74d0034c5e88","name":"prompt","type":"Object","from":"Expand","value":[{"id":"35a710cf-1b79-4523-b16f-b50878d677fe","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"38fb27a1-71f4-4fcc-87d5-9d8a880bc04d","name":"variables","type":"Object","from":"Expand","value":[{"id":"aeba7823-8d14-4750-9723-55265ae71c4e","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"eee66922-4304-4209-89fc-b13ffa101630","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"a6865419-867c-4bfb-855c-f5c1876c965a","name":"tools","type":"Array","from":"Input","value":[]},{"id":"308e2023-a8e9-486e-9784-8680addbb786","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"68f92923-d5da-42ce-8478-d7ac7d90664e","name":"systemPrompt","type":"String","from":"Input","value":""}],"outputParams":[{"id":"95d84d67-3198-415e-a63c-bc9a2da8d821","name":"output","type":"Object","from":"Expand","value":[{"id":"272c927a-9e25-48b6-a921-6a8ab20267a4","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":105,"dirty":true,"runnable":true},{"type":"endNodeEnd","container":"elsa-page:tvp1s6","id":"jadesoux5i","text":"结束","namespace":"flowable","x":1527.7142857142849,"y":146.42857142857133,"width":360,"height":296,"bold":false,"italic":false,"deletable":true,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","callback":{"type":"general_callback","name":"通知回调","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"ffad80c2-3f60-4d57-93b2-c2362a5dab9c","name":"finalOutput","type":"String","from":"Reference","referenceNode":"jadewdnjbq","referenceId":"272c927a-9e25-48b6-a921-6a8ab20267a4","referenceKey":"llmOutput","value":["output","llmOutput"]}],"outputParams":[{}]}}}},"sourcePlatform":"official","componentName":"endComponent","index":106,"dirty":true,"runnable":true},{"type":"conditionNodeCondition","container":"elsa-page:tvp1s6","id":"jadeqr0syx","text":"条件","namespace":"flowable","x":121.99999999999977,"y":575.9999999999998,"width":600,"height":560,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","outlineColor":"rgba(74,147,255,0.12)","borderWidth":1,"focusBorderWidth":1,"outlineWidth":10,"dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"conditionParams":{"branches":[{"id":"d02ee207-8e06-46a7-978e-686ce137397c","conditionRelation":"and","type":"if","runnable":true,"conditions":[{"id":"eb4bc537-953f-41fb-b634-def329d4acb9","condition":"equal","value":[{"id":"5b91b14d-8c4f-4a2a-b788-ecd2ba1a8bb4","name":"left","type":"String","from":"Reference","value":["Question"],"referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question"},{"id":"f04eddbd-3a0a-4bee-b7ea-036ca06acfbb","name":"right","type":"String","from":"Input","value":"123","referenceNode":"","referenceId":"","referenceKey":""}]}]},{"id":"bc8aacab-e224-44b0-8c82-f090bedd8de0","conditionRelation":"and","type":"if","runnable":true,"conditions":[{"id":"f0604e39-fe54-427c-ac50-b7a627af07dd","condition":"equal","value":[{"id":"fc11a76f-0f24-450b-9230-047eb2c1b3cd","name":"left","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"c5b9df78-f983-45da-8caa-a5d1a7436961","name":"right","type":"String","from":"Reference","value":["Question"],"referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question"}]}]},{"id":"133f9ef5-0f2f-42d7-bffc-d3195dd0814b","conditionRelation":"and","type":"else","runnable":true,"conditions":[{"id":"2822784f-9726-4c57-ad29-c733a37cefa6","condition":"true","value":[]}]}]}},"sourcePlatform":"official","runnable":true,"disabled":false,"componentName":"conditionComponent","index":107,"dirty":true},{"type":"endNodeEnd","container":"elsa-page:tvp1s6","id":"jadel7lt51","text":"结束_1","namespace":"flowable","x":1575.9999999999998,"y":993.9999999999998,"width":360,"height":296,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","outlineColor":"rgba(74,147,255,0.12)","borderWidth":1,"focusBorderWidth":1,"outlineWidth":10,"dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","callback":{"type":"general_callback","name":"通知回调","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"51266932-74f9-4a7e-9932-02d50bd8fc88","name":"finalOutput","type":"String","from":"Input","referenceNode":"","referenceId":"","referenceKey":"","value":"error"}],"outputParams":[{}]}}}},"sourcePlatform":"official","runnable":true,"disabled":false,"componentName":"endComponent","index":107,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"b9qw6z","text":"","namespace":"flowable","x":-9.250000000000114,"y":410.3571428571428,"width":131.2499999999999,"height":445.642857142857,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade0pg2ag","toShape":"jadeqr0syx","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-92,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"fov1e9","text":"","namespace":"flowable","x":704.9999999999997,"y":772.0000305175779,"width":242.64285714285745,"height":-488.4643162318637,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeqr0syx","toShape":"jadewdnjbq","definedFromConnector":"dynamic-0|d02ee207-8e06-46a7-978e-686ce137397c","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-91,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"jaj7wb","text":"","namespace":"flowable","x":704.9999999999997,"y":1076.0000610351558,"width":871.0000000000001,"height":65.99993896484398,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeqr0syx","toShape":"jadel7lt51","definedFromConnector":"dynamic-3","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-90,"dirty":true},{"type":"endNodeEnd","container":"elsa-page:tvp1s6","id":"jadefptbnv","text":"结束_2","namespace":"flowable","x":1505.9999999999998,"y":654,"width":360,"height":296,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","outlineColor":"rgba(74,147,255,0.12)","borderWidth":1,"focusBorderWidth":1,"outlineWidth":10,"dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","callback":{"type":"general_callback","name":"通知回调","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"9ed08668-2d94-4819-b720-7281e1f34be3","name":"finalOutput","type":"String","from":"Reference","referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput","value":["output","retrievalOutput"]}],"outputParams":[{}]}}}},"sourcePlatform":"official","runnable":true,"disabled":false,"componentName":"endComponent","index":111,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"9quqa0","text":"","namespace":"flowable","x":704.9999999999997,"y":962.0000610351559,"width":801.0000000000001,"height":-160.0000610351559,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeqr0syx","toShape":"jadefptbnv","definedFromConnector":"dynamic-1|bc8aacab-e224-44b0-8c82-f090bedd8de0","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-88,"dirty":true}]}],"enableText":false,"flowMeta":{"exceptionFitables":["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler"]}}
-
-export const performanceData = {"id":"ee1d1c6d8f314fa090b5a3afe8adaf40","title":"jadeFlow","source":"elsa","type":"jadeFlowGraph","tenant":"1111","setting":{"borderColor":"#047bfc","backColor":"whitesmoke","headColor":"steelblue","fontColor":"steelblue","captionfontColor":"whitesmoke","fontFace":"arial","captionfontFace":"arial black","fontSize":12,"captionfontSize":14,"fontStyle":"normal","captionfontStyle":"normal","fontWeight":"lighter","captionfontWeight":"lighter","hAlign":"center","vAlign":"top","captionhAlign":"center","lineHeight":1.5,"lineWidth":2,"captionlineHeight":1,"focusMargin":0,"focusBorderColor":"#047bfc","focusFontColor":"darkorange","focusBackColor":"whitesmoke","mouseInColor":"orange","mouseInBorderColor":"#047bfc","mouseInFontColor":"orange","mouseInBackColor":"whitesmoke","borderWidth":1,"focusBorderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","globalAlpha":1,"backAlpha":0.15,"cornerRadius":4,"dashWidth":0,"autoText":false,"autoHeight":false,"autoWidth":false,"margin":25,"pad":10,"code":"","rotateDegree":0,"shadow":"","focusShadow":"","shadowData":"2px 2px 4px","outstanding":false,"pDock":"none","dockMode":"none","priority":0,"infoType":{"next":"INFORMATION","name":"none"},"progressStatus":{"next":"UNKNOWN","color":"gray","name":"NONE"},"progressPercent":0.65,"showedProgress":false,"itemPad":[5,5,5,5],"itemScroll":{"x":0,"y":0},"scrollLock":{"x":false,"y":false},"resizeable":true,"selectable":true,"rotateAble":true,"editable":true,"moveable":true,"dragable":true,"visible":true,"deletable":true,"allowLink":true,"shared":false,"strikethrough":false,"underline":false,"numberedList":false,"bulletedList":false,"enableAnimation":false,"enableSocial":true,"emphasized":false,"bulletSpeed":1,"tag":{}},"pages":[{"type":"jadeFlowPage","id":"elsa-page:tvp1s6","text":"newFlowPage","namespace":"jadeFlow","x":-62.80952380952658,"y":956.000000000002,"width":1600,"height":800,"bold":false,"italic":false,"dockAlign":"top","division":-1,"itemSpace":5,"itemPad":[0,0,0,0],"itemScroll":{"x":0,"y":0},"hideText":true,"dockMode":"none","shapesAs":{},"borderColor":"white","backColor":"#fbfbfc","fontSize":18,"fontFace":"arial","fontColor":"#ECD0A7","fontWeight":"bold","fontStyle":"normal","hAlign":"left","vAlign":"top","moveable":true,"container":"elsa-page:tvp1s6","scaleX":0.10000000000000014,"scaleY":0.10000000000000014,"focusBackColor":"#fbfbfc","dirty":true,"isPage":true,"mode":"configuration","index":0,"shapes":[{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"jade2zanyx","text":"","namespace":"flowable","x":1762.440476190477,"y":2119.666666666661,"width":228.30952380952385,"height":299.3571428571463,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade6qm5eg","toShape":"jade0pg2ag","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0,"direction":{"cursor":"ew-resize","key":"E","color":"whitesmoke","ax":"x","vector":1,"value":"E"}},"arrowEndPoint":{"x":96,"y":80,"direction":{"cursor":"ew-resize","key":"W","color":"whitesmoke","ax":"x","vector":-1,"value":"W"}},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[{"x":50,"y":0},{"x":50,"y":80}],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","index":-100,"dirty":true,"runnable":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"jade5c5urs","text":"","namespace":"flowable","x":2350.750000000001,"y":2419.0238095238074,"width":173.39285714285415,"height":5.928571428572468,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade0pg2ag","toShape":"jadewdnjbq","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0,"direction":{"cursor":"ew-resize","key":"E","color":"whitesmoke","ax":"x","vector":1,"value":"E"}},"arrowEndPoint":{"x":96,"y":80,"direction":{"cursor":"ew-resize","key":"W","color":"whitesmoke","ax":"x","vector":-1,"value":"W"}},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[{"x":50,"y":0},{"x":50,"y":80}],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","index":-99,"dirty":true,"runnable":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"n2yqws","text":"","namespace":"flowable","x":2884.142857142855,"y":2424.95238095238,"width":307.523809523796,"height":1099.2142857142844,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadewdnjbq","toShape":"jade62q33k","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-98,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"u7kfa3","text":"","namespace":"flowable","x":3814.6665445963376,"y":3429.1668192545544,"width":107.75012207032705,"height":-1383.6430097307484,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade62q33k","toShape":"jade54sulx","definedFromConnector":"dynamic-0|9336682a-4ade-4583-ad77-7d995381e031","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-97,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"c9490x","text":"","namespace":"flowable","x":4282.416666666663,"y":2045.523809523806,"width":218.39285714285597,"height":-27.23809523809723,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade54sulx","toShape":"jade2hyirv","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-96,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"weagi8","text":"","namespace":"flowable","x":4860.8095238095175,"y":2018.2857142857088,"width":92.56349206348023,"height":53.190476190479785,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade2hyirv","toShape":"jadeqnsueh","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-95,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"u6gq24","text":"","namespace":"flowable","x":5313.373015872992,"y":2071.4761904761885,"width":285.05952380955205,"height":-42.23809523809814,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeqnsueh","toShape":"jadeyd7ki4","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-94,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"zunfsk","text":"","namespace":"flowable","x":5958.4325396825425,"y":2029.2380952380904,"width":154.94047619046432,"height":88.90476190476511,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeyd7ki4","toShape":"jadecficze","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-93,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"sr5v5r","text":"","namespace":"flowable","x":6473.373015873001,"y":2118.1428571428555,"width":258.39285714286234,"height":-52.23809523809632,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadecficze","toShape":"jadel9qhv8","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-92,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"1pg32s","text":"","namespace":"flowable","x":7091.76587301586,"y":2065.904761904759,"width":156.6071428571522,"height":57.23809523809632,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadel9qhv8","toShape":"jadey4h4bi","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-91,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"pf2ma3","text":"","namespace":"flowable","x":7608.373015873007,"y":2123.1428571428555,"width":208.3928571428405,"height":-92.23809523809541,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadey4h4bi","toShape":"jade0rs5i1","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-90,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"d41ajr","text":"","namespace":"flowable","x":3814.6665445963376,"y":3754.1666666666633,"width":508.706471276671,"height":-11.023809523811906,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade62q33k","toShape":"jadeogv3mu","definedFromConnector":"dynamic-3","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-88,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"9x4nhl","text":"","namespace":"flowable","x":4683.373015873009,"y":3743.1428571428514,"width":248.39285714286234,"height":-532.2380952380954,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeogv3mu","toShape":"jadebjsmbr","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-87,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"asylch","text":"","namespace":"flowable","x":5291.7658730158655,"y":3210.904761904756,"width":341.6071428571431,"height":-149.9999999999991,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadebjsmbr","toShape":"jadenjb5eg","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-86,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"ohr9se","text":"","namespace":"flowable","x":5993.373015873003,"y":3060.904761904757,"width":288.39285714286234,"height":112.76190476190277,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadenjb5eg","toShape":"jade4scnq3","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-85,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"ks9sey","text":"","namespace":"flowable","x":6641.7658730158655,"y":3173.6666666666597,"width":201.6071428571504,"height":47.23809523809632,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade4scnq3","toShape":"jadej1dcfu","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-84,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"vlihl4","text":"","namespace":"flowable","x":7203.37301587301,"y":3220.904761904756,"width":283.3928571428496,"height":102.76190476190368,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadej1dcfu","toShape":"jadedkgo96","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-83,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"t1gc64","text":"","namespace":"flowable","x":7846.765873015855,"y":3323.6666666666597,"width":271.60714285715585,"height":15.738095238094502,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadedkgo96","toShape":"jade7xt7tg","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-82,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"a3ufz0","text":"","namespace":"flowable","x":8478.373015873005,"y":3339.404761904754,"width":248.3928571428678,"height":-85.7380952380945,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade7xt7tg","toShape":"jadehiauns","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-81,"dirty":true},{"type":"startNodeStart","container":"elsa-page:tvp1s6","id":"jade6qm5eg","text":"开始","namespace":"flowable","x":1402.440476190477,"y":1769.166666666661,"width":360,"height":701,"bold":false,"italic":false,"deletable":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","inputParams":[{"id":"91138f09-b635-43df-95c6-1fe3d1745829","name":"input","type":"Object","from":"Expand","config":[{"allowAdd":true}],"value":[{"id":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","name":"Question","type":"String","from":"Input","description":"这是用户输入的问题","value":"","disableModifiable":true}]},{"id":"4a770dc6-e3c9-475d-84c7-48dacc74a5b6","name":"memory","type":"Object","from":"Expand","value":[{"id":"cee9a31b-781c-4835-a616-ceed73be22a7","name":"memorySwitch","type":"Boolean","from":"Input","value":true},{"id":"cee9a31b-781c-4835-a616-ceed73be22f2","name":"type","type":"String","from":"Input","value":"ByConversationTurn"},{"id":"69592622-4291-409d-9d65-9faea83db657","name":"value","type":"Integer","from":"Input","value":"3"}]}]},"sourcePlatform":"official","componentName":"startComponent","index":121,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jade0pg2ag","text":"普通检索","namespace":"flowable","x":1990.750000000001,"y":2229.0238095238074,"width":360,"height":380,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"query_0ab55575-f21d-4b19-9676-57fcb4b0b783","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]},{"id":"knowledge_01c41edd-a22b-4289-b1cf-8db835833261","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"55f8e6eb-dab5-435f-94ea-18108eaba982","type":"Object","from":"Expand","value":[]}]},{"id":"maximum_2da115cd-c1ce-485f-ba98-b4c995f3d6ff","name":"maximum","type":"Integer","from":"Input","value":3}],"outputParams":[{"id":"output_cd5cbe89-0d9f-4cf1-9e09-afb325576b84","name":"output","type":"Object","from":"Expand","value":[{"id":"5c9c6535-c127-445a-862a-966cf1083929","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":122,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadewdnjbq","text":"大模型","namespace":"flowable","x":2524.142857142855,"y":1913.45238095238,"width":360,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"6c414e75-971e-403a-b2b1-c6850f128cc4","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"db5fdafa-4cbf-44ba-9cca-8a98f1f771f4","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"88f74d78-4711-4f81-a2e7-74d0034c5e88","name":"prompt","type":"Object","from":"Expand","value":[{"id":"35a710cf-1b79-4523-b16f-b50878d677fe","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"38fb27a1-71f4-4fcc-87d5-9d8a880bc04d","name":"variables","type":"Object","from":"Expand","value":[{"id":"aeba7823-8d14-4750-9723-55265ae71c4e","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"eee66922-4304-4209-89fc-b13ffa101630","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"a6865419-867c-4bfb-855c-f5c1876c965a","name":"tools","type":"Array","from":"Input","value":[]},{"id":"308e2023-a8e9-486e-9784-8680addbb786","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"68f92923-d5da-42ce-8478-d7ac7d90664e","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"752f1762-2d42-4fa7-a008-db94160aadeb","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"95d84d67-3198-415e-a63c-bc9a2da8d821","name":"output","type":"Object","from":"Expand","value":[{"id":"272c927a-9e25-48b6-a921-6a8ab20267a4","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":123,"dirty":true,"runnable":true},{"type":"endNodeEnd","container":"elsa-page:tvp1s6","id":"jadesoux5i","text":"结束","namespace":"flowable","x":12589.464285714275,"y":2204.7619047619,"width":360,"height":292,"bold":false,"italic":false,"deletable":true,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","callback":{"type":"general_callback","name":"通知回调","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"ffad80c2-3f60-4d57-93b2-c2362a5dab9c","name":"finalOutput","type":"String","from":"Reference","referenceNode":"jadewdnjbq","referenceId":"272c927a-9e25-48b6-a921-6a8ab20267a4","referenceKey":"llmOutput","value":["output","llmOutput"]}],"outputParams":[{}]}}}},"sourcePlatform":"official","componentName":"endComponent","index":124,"dirty":true,"runnable":true},{"type":"conditionNodeCondition","container":"elsa-page:tvp1s6","id":"jade62q33k","text":"条件","namespace":"flowable","x":3191.666666666651,"y":3234.1666666666642,"width":600.000000000012,"height":580,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","outlineColor":"rgba(74,147,255,0.12)","borderWidth":1,"focusBorderWidth":1,"outlineWidth":10,"dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1},"conditionParams":{"branches":[{"id":"9336682a-4ade-4583-ad77-7d995381e031","conditionRelation":"and","type":"if","runnable":true,"conditions":[{"id":"89d7f0e6-2fa5-47f0-8917-e5e2cea63428","condition":"equal","value":[{"id":"e36e4043-8cab-443d-9195-77ea3aa2d9a9","name":"left","type":"string","from":"Reference","value":["output","llmOutput"],"referenceNode":"jadewdnjbq","referenceId":"272c927a-9e25-48b6-a921-6a8ab20267a4","referenceKey":"llmOutput"},{"id":"dbdbf5d5-6e49-4f20-be3b-cfd75fff48b7","name":"right","type":"string","from":"Input","value":"123","referenceNode":"","referenceId":"","referenceKey":""}]}]},{"id":"51c2d046-e9b3-4d1b-bd57-de96c6d5a864","conditionRelation":"and","type":"if","runnable":true,"conditions":[{"id":"7995701b-b34f-4618-aa03-461df3e899a6","condition":"equal","value":[{"id":"240f7275-154c-4a1a-9d45-60c08f187a77","name":"left","type":"String","from":"Reference","value":["Question"],"referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question"},{"id":"13770561-01af-4840-a993-60cd0658f719","name":"right","type":"String","from":"Input","value":"2222","referenceNode":"","referenceId":"","referenceKey":""}]}]},{"id":"c1483791-c3ce-486c-ba54-6fe9d7b3ef3f","conditionRelation":"and","type":"else","runnable":true,"conditions":[{"id":"fca67872-b0a7-423c-9014-6abf4784b0b6","condition":"true","value":[]}]}]}},"sourcePlatform":"official","runnable":true,"disabled":false,"componentName":"conditionComponent","index":125,"dirty":true},{"type":"endNodeEnd","container":"elsa-page:tvp1s6","id":"jadem43dzd","text":"结束_1","namespace":"flowable","x":13839.464285714275,"y":3533.0952380952303,"width":360,"height":292,"bold":false,"italic":false,"deletable":true,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","callback":{"type":"general_callback","name":"通知回调","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"2224b076-d3a1-48de-9636-a34372b80b5d","name":"finalOutput","type":"String","from":"Reference","referenceNode":"jadewdnjbq","referenceId":"272c927a-9e25-48b6-a921-6a8ab20267a4","referenceKey":"llmOutput","value":["output","llmOutput"]}],"outputParams":[{}]}}}},"sourcePlatform":"official","componentName":"endComponent","index":126,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jade2hyirv","text":"大模型_1","namespace":"flowable","x":4500.809523809519,"y":1506.7857142857088,"width":359.99999999999864,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"b281b60f-862f-4414-85eb-16076bef1dc9","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"dc735214-3139-4735-a5b6-99d67d9d2f96","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"7e90f209-8b0f-48f5-bead-d355cf133f6e","name":"prompt","type":"Object","from":"Expand","value":[{"id":"381c1899-f476-4e46-ab56-c3f1c5f0ffe7","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"8ccc4dd9-d5d1-4371-87ec-a4862cbad214","name":"variables","type":"Object","from":"Expand","value":[{"id":"661106d3-4168-4f54-a79e-4ea18fe8214f","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"295bc52d-2b82-4f9b-ad26-777edfa082c1","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"d027c862-a2e7-4ac1-9e2f-09783a45c0c4","name":"tools","type":"Array","from":"Input","value":[]},{"id":"ebf65506-0aa4-489b-94a1-f0d60fc5997e","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"ce35403a-f902-4914-b3af-83119c4c984c","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"f81f9392-1e57-4753-8da4-5e76ffb778b5","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"ed1cd187-cca0-4118-a174-892e78a781bb","name":"output","type":"Object","from":"Expand","value":[{"id":"0b0f8fbe-8b78-4319-809d-9dd31a5766d9","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":127,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jade54sulx","text":"普通检索_1","namespace":"flowable","x":3922.4166666666647,"y":1804.023809523806,"width":359.99999999999886,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"e452fa54-6ced-4be6-ad53-e1026f1eb1f1","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"f6db694e-b6d0-4c8b-880b-09d64e728fc2","type":"Object","from":"Expand","value":[]}]},{"id":"c4f03274-6efb-4cd4-ac7f-00369bce372c","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"a4f8d087-9544-4f3c-b477-104c80a06da0","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"ccaec345-047c-4e38-ba54-9b93398859ed","name":"output","type":"Object","from":"Expand","value":[{"id":"3d354c81-82c2-4679-b73c-d23c4c0a27ef","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":128,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadeyd7ki4","text":"大模型_2","namespace":"flowable","x":5598.432539682544,"y":1517.7380952380904,"width":359.99999999999864,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"5ef3da0c-7a71-4bf7-85ed-ea97c21477e2","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"3ad168b7-55ab-44da-b191-66f0c3082a28","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"63601074-f2d8-4fdc-904f-d57517056609","name":"prompt","type":"Object","from":"Expand","value":[{"id":"1c0f1d0d-9872-4c9d-a994-1aa98302e8de","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"1716f7ef-5065-49fe-b2c4-32de584855f7","name":"variables","type":"Object","from":"Expand","value":[{"id":"c40a13dc-8fd0-4829-b5af-760b498cdaaa","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"5a7864c1-2786-48e9-8ee4-be05143f0a37","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"378a4cbe-8b9f-4185-8c7b-78004173e2d2","name":"tools","type":"Array","from":"Input","value":[]},{"id":"05ec08fc-cdf3-4c0c-9154-ae62032176ea","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"32232bb5-8056-4fe9-b550-978ec328119e","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"f5bb4a79-6eb2-45aa-934d-e9acc9135140","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"6829ba3c-b0e2-4e6b-8f4c-5ae27cb4af01","name":"output","type":"Object","from":"Expand","value":[{"id":"1fa0cfce-0d50-4f24-8e15-b27cda7bbd4e","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":129,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadeqnsueh","text":"普通检索_2","namespace":"flowable","x":4953.373015872998,"y":1829.9761904761885,"width":359.999999999995,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"3010a75b-e910-4b90-8941-5941878a28ff","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"02bf8edb-cdc5-4047-941b-38b1aafcf84c","type":"Object","from":"Expand","value":[]}]},{"id":"1dc2771d-8ae2-4361-9609-dc99e07d1249","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"148809fc-5253-4f25-bf2d-9c74af4ba609","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"28975b51-7525-4254-b3bb-aa6091bf7909","name":"output","type":"Object","from":"Expand","value":[{"id":"443e89d4-02d2-4fc8-9c14-1f128a6d349c","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":130,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadel9qhv8","text":"大模型_3","namespace":"flowable","x":6731.765873015864,"y":1554.4047619047592,"width":359.99999999999636,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"dc264867-e9d8-42f3-a8d8-88d97fba4b61","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"fe7c39ff-51b1-48c5-ba01-3bc6c81a90ff","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"a84b38a7-db57-40ef-9814-1871deb3aec4","name":"prompt","type":"Object","from":"Expand","value":[{"id":"3750e6e2-5d05-4369-8f0c-7ee2826b47bf","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"6be13250-41c1-49ac-8e87-7fefb7d72553","name":"variables","type":"Object","from":"Expand","value":[{"id":"8dba117d-5243-45e9-b492-208f42ebd77c","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"1d671cf6-454e-46fd-a645-cb37914a4e08","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"9ffda61b-1b03-488d-a12a-27065e16201a","name":"tools","type":"Array","from":"Input","value":[]},{"id":"1125f880-9a3d-408f-bf2e-ee511c5dc8d8","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"6c2f2f85-6c20-4a08-953d-d85d434c0cfe","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"507a0e3c-844b-43ee-8a47-97f4d5682fcc","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"8c3127f2-d796-4282-a715-de1a3aea26c0","name":"output","type":"Object","from":"Expand","value":[{"id":"8ff0b2bb-20c5-4700-8ec3-1f7923c3195f","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":131,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadecficze","text":"普通检索_3","namespace":"flowable","x":6113.373015873007,"y":1876.6428571428555,"width":359.9999999999941,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"c28ec274-6f73-43d4-9075-bae7ca8f0819","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"1688da0a-1ed8-4b58-bdba-b1d3c55b24c2","type":"Object","from":"Expand","value":[]}]},{"id":"79702e21-f0a9-4787-b9e8-ce50e486523c","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"68b87b1b-1ed4-4bbe-9e93-733ea34f3421","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"03869b96-6fcc-4d74-ab14-4d02ac8e9de8","name":"output","type":"Object","from":"Expand","value":[{"id":"6cfaea6f-180d-4e5c-81a8-1dd56cc76962","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":132,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jade0rs5i1","text":"大模型_4","namespace":"flowable","x":7816.765873015847,"y":1519.40476190476,"width":359.99999999999545,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"5b0ed6c0-37c3-48c2-b9fb-29818691083b","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"fdcf739a-1060-4fc2-b0bc-3b6116d22319","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"6d5f687b-e842-4fca-8f4d-447371872b90","name":"prompt","type":"Object","from":"Expand","value":[{"id":"6f915981-184c-4919-a400-f77601a74145","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"c7d9a18e-a086-4e62-8779-d71a6c132209","name":"variables","type":"Object","from":"Expand","value":[{"id":"9051c0a9-027c-435b-88bd-ffb39c76f97d","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"b20042c8-2298-4ff4-8097-148460dbcfd1","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"89f1cd5e-f5d0-45f0-9150-c8753c81f86a","name":"tools","type":"Array","from":"Input","value":[]},{"id":"e9bc4322-0488-43e7-a05d-33338ba24333","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"f180d02b-7763-45ca-8b29-134b7236b66e","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"1a6cdd5a-1e38-4998-aa78-361d65cb7045","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"007c7a8e-af61-4240-8a03-452f3f50c11f","name":"output","type":"Object","from":"Expand","value":[{"id":"385c9b6e-d003-4a2b-97ba-aea2bc4d03ba","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":133,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadey4h4bi","text":"普通检索_4","namespace":"flowable","x":7248.373015873012,"y":1881.6428571428555,"width":359.9999999999941,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"78ab9be1-fb4f-4dd1-b7eb-c9e85748571d","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"3859d9b6-17b9-44e4-a885-7ddef102c58b","type":"Object","from":"Expand","value":[]}]},{"id":"c75ba59e-44eb-419e-bf62-98579ab46237","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"26340109-ba6a-4443-bb5b-dc0774570bb0","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"bc55420a-a068-4631-9b3a-664c1aad90db","name":"output","type":"Object","from":"Expand","value":[{"id":"035b1511-1404-4162-a1dd-ae85b29254f1","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":134,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadebjsmbr","text":"大模型_5","namespace":"flowable","x":4931.765873015871,"y":2699.404761904756,"width":359.9999999999941,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"03c8cec8-7ad9-4568-ab0c-b2da77ae6e93","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"42e41737-0c8c-4086-b986-9249cdf3624b","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"a2c48767-cabe-4a82-b8af-53007a775ed5","name":"prompt","type":"Object","from":"Expand","value":[{"id":"eb717d4c-6eb8-46a3-a6f7-c32392de7267","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"a9b5378d-a90b-4f39-bc75-f363072dfe03","name":"variables","type":"Object","from":"Expand","value":[{"id":"bdaa0b54-8cc4-4758-921e-9ec9a30041b9","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"07607a7c-4a47-4783-a294-089baaf6f80e","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"9b38568f-75a2-4b82-a767-dea0028de995","name":"tools","type":"Array","from":"Input","value":[]},{"id":"1e3ea335-0ca5-4bdd-89e5-4c61d4f1ce86","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"67887acd-d17d-456f-9ab7-1d5219f8fdba","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"a3f605ee-1c0f-4c8c-aa16-f32a82cd26f0","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"f15ae254-0ca6-480c-a394-b49f6ed1cef3","name":"output","type":"Object","from":"Expand","value":[{"id":"6f1addaf-6bc9-479e-91b9-710efa79a4ee","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":135,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadeogv3mu","text":"普通检索_5","namespace":"flowable","x":4323.373015873009,"y":3501.6428571428514,"width":360,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"b27870db-a7ef-4b3d-ad4d-a71839be7ff4","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"761fe667-2fcf-454d-9311-856f04606f9c","type":"Object","from":"Expand","value":[]}]},{"id":"f81a457a-e336-4f7b-b517-b3c5cf9ee868","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"b4457935-8c45-4bdc-92fb-59027564d24e","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"e9b1ad97-c1b1-490e-b001-c7c00370490a","name":"output","type":"Object","from":"Expand","value":[{"id":"bd035c16-946e-495c-a43c-4462740c13b4","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":136,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jade4scnq3","text":"大模型_6","namespace":"flowable","x":6281.7658730158655,"y":2662.1666666666597,"width":360,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"1b7167fe-62f5-4bbc-82f0-afdaefd4120f","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"189ffd1e-da54-421f-9531-8f8bcc931733","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"f3b5193f-4097-4974-892b-0946eb6b0d01","name":"prompt","type":"Object","from":"Expand","value":[{"id":"17e3ffcc-0a24-4803-9f84-2ced14ff363c","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"6412be55-920a-414e-bca4-e95f2c68a74e","name":"variables","type":"Object","from":"Expand","value":[{"id":"20fb5126-f4c2-4d1d-83e9-6931921f39f9","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"3e43d45b-91a0-4e87-a5ca-dde28b5ff721","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"6678fad3-76ca-44a1-9309-de13188354b1","name":"tools","type":"Array","from":"Input","value":[]},{"id":"0c3c0d56-f13b-4055-a2ea-7c17fbc0c088","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"655aeda5-5020-4982-8576-e75b05c78485","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"af3afcdf-2727-4048-a6ad-d4b18eea40e4","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"f1ad16b4-f77d-4d5b-9660-1e0c1cd7fe70","name":"output","type":"Object","from":"Expand","value":[{"id":"3591159b-8f38-4204-ad11-225d294712e1","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":137,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadenjb5eg","text":"普通检索_6","namespace":"flowable","x":5633.373015873009,"y":2819.404761904757,"width":359.999999999995,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"768bcb1d-74ec-4de6-8118-3fc4eae0e3c8","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"c648f631-41d4-4090-ba71-ba37079ebdf0","type":"Object","from":"Expand","value":[]}]},{"id":"8223bc38-d02d-40e5-af85-92b03830cc83","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"06dd207a-88b7-4ddf-bd7b-10c293fc987e","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"1039c646-51b5-4c42-9ed8-018595898768","name":"output","type":"Object","from":"Expand","value":[{"id":"25427209-ad95-41ae-b36d-dcf1bda5c597","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":138,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadedkgo96","text":"大模型_7","namespace":"flowable","x":7486.76587301586,"y":2812.1666666666597,"width":359.999999999995,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"4f787276-9b42-4f7a-bb69-52bae994086e","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"92a934a2-ac5f-42a0-a5e0-61f021f64dd9","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"5b9c5589-72b4-4c81-ac82-6682db3bffa4","name":"prompt","type":"Object","from":"Expand","value":[{"id":"7efa11e9-4089-4694-bb7b-c428f02d9b05","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"c324f6f6-8774-405d-9ba8-97fbcd654782","name":"variables","type":"Object","from":"Expand","value":[{"id":"99280c7c-0487-4818-b642-f55943c733e5","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"a254b9be-9858-4715-97c7-ad42252c339f","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"38619162-04da-44f3-a10b-f29d9b982ccb","name":"tools","type":"Array","from":"Input","value":[]},{"id":"4d140993-2a71-415f-93a7-48da53a81e77","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"3d68b14a-5f7a-4de9-9cac-239c8dd5695d","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"c9c95c93-f14f-406a-b9c3-41aee41ff76e","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"5146b6b1-c028-40a2-9931-0aa36da931b8","name":"output","type":"Object","from":"Expand","value":[{"id":"ed0a8462-cdc9-43d1-b165-cb4de8bdf083","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":139,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadej1dcfu","text":"普通检索_7","namespace":"flowable","x":6843.373015873016,"y":2979.404761904756,"width":359.99999999999454,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"904d854c-e8f4-4b29-a82d-62691fc5418b","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"95de5778-67b9-4356-a65e-1f8dbdc10215","type":"Object","from":"Expand","value":[]}]},{"id":"010964a6-7a1f-46e5-8568-25361384516c","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"48ce68a2-9545-46d2-8ddd-bd5ebdfe32e5","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"72f2d9f5-b209-4bbf-99c4-1dcc922038d9","name":"output","type":"Object","from":"Expand","value":[{"id":"2820e2f6-bb8c-453f-b044-e70e2349ee91","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":140,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadehiauns","text":"大模型_8","namespace":"flowable","x":8726.765873015873,"y":2807.1666666666597,"width":359.99999999999227,"height":893,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"2191c64b-7829-4012-9ed7-7ade83971c73","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"a2d370de-9dcf-4d95-be4d-6d6e0248c8dc","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"9c8c9d3b-adfc-467e-b2f6-c5d6794da7b6","name":"prompt","type":"Object","from":"Expand","value":[{"id":"88679c2f-e5c0-45d6-9d47-fdfaa09c8eb5","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"4aff6fcc-ca4e-43b5-ba3f-e83a89f5802c","name":"variables","type":"Object","from":"Expand","value":[{"id":"da412569-3bb6-4831-9d30-b963c91b4575","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"ce6d616c-a32c-4d0a-b49b-249a3cb70fb3","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"7dcc52a4-4aa0-4643-962c-18e37c01561c","name":"tools","type":"Array","from":"Input","value":[]},{"id":"c33fd174-521c-4600-895d-ef7cf16199f6","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"1dbcfb9f-f498-4377-9c4c-cd08dd27fdba","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"24f28e85-7d33-4ff4-8bd0-ce60d86d9b7b","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"37e99a9b-1896-4c97-a319-cf11ce30d592","name":"output","type":"Object","from":"Expand","value":[{"id":"5a2a9fc9-4b10-48b0-86c6-a9cdd52fffce","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":141,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jade7xt7tg","text":"普通检索_8","namespace":"flowable","x":8118.37301587301,"y":3149.404761904754,"width":359.999999999995,"height":380,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"da0d765d-7b73-4386-b5ae-f0dccf71c855","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"feed2e26-4be7-4bb9-af50-13c1df82b2b0","type":"Object","from":"Expand","value":[]}]},{"id":"29bc4f7c-7e4f-4f2f-9742-9bbe9ff42a92","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"86327fe2-6f98-46a5-8a83-ffd7f49366f5","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"f0eefe28-91f3-4d26-ad5a-1a167f25e8f5","name":"output","type":"Object","from":"Expand","value":[{"id":"d34883c2-8912-401c-bb73-da011ffa840b","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":142,"dirty":true,"runnable":true},{"type":"endNodeEnd","container":"elsa-page:tvp1s6","id":"jader3ffi5","text":"结束_2","namespace":"flowable","x":13417.519841269837,"y":4950.69047619047,"width":360,"height":292,"bold":false,"italic":false,"deletable":true,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","callback":{"type":"general_callback","name":"通知回调","fitables":["modelengine.fit.jober.aipp.fitable.AippFlowEndCallback"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"e193a72c-61ca-4d91-a02e-4acbc65f6780","name":"finalOutput","type":"String","from":"Reference","referenceNode":"jadewdnjbq","referenceId":"272c927a-9e25-48b6-a921-6a8ab20267a4","referenceKey":"llmOutput","value":["output","llmOutput"]}],"outputParams":[{}]}}}},"sourcePlatform":"official","componentName":"endComponent","index":143,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadecix53y","text":"大模型_9","namespace":"flowable","x":4993.154761904754,"y":3925.333333333331,"width":359.99999999999477,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"8e5160fd-2dbd-4b6b-a5d8-029c564143c6","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"75e1d27f-7801-43a5-bba6-2cc7738602ef","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"d057d030-b7bd-4885-9a0c-2772ee8cb10a","name":"prompt","type":"Object","from":"Expand","value":[{"id":"7716d023-0e89-460b-8054-2aeb233534af","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"8cbb2a86-08e4-4cea-9ea9-33baab98a265","name":"variables","type":"Object","from":"Expand","value":[{"id":"e2105100-f895-4432-b34a-34dfb0eaa6f0","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"f2956c38-ce0d-4f50-8c44-c232e6a1e527","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"7d579b98-c0f8-40fa-b91f-07bb3e9ae8fb","name":"tools","type":"Array","from":"Input","value":[]},{"id":"d99004e2-a5e3-4aae-b42a-c7402ec0105c","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"ef0435b2-e1e7-4fc6-b1a8-5e824e425181","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"a309ab17-5152-4f94-9bba-b50e3abe59a9","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"75f6b051-e448-4c73-aaad-a89a07895d66","name":"output","type":"Object","from":"Expand","value":[{"id":"351ec8b9-0e1a-4ca5-a6fd-95369efd25fc","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":144,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jaderbz7zz","text":"普通检索_9","namespace":"flowable","x":4264.7619047618955,"y":4420.904761904758,"width":359.9999999999982,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"41e07ad7-9bfa-4fd9-a609-11e3c1f00d7c","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"c9ee3a34-53b3-4b13-ae8f-9e6545250aba","type":"Object","from":"Expand","value":[]}]},{"id":"68f0ac66-a32f-443c-9386-a7e25b4b7a1f","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"08f4957b-80e1-43d9-9403-54d68c309973","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"24df1808-997f-4285-acd0-30445f4e9272","name":"output","type":"Object","from":"Expand","value":[{"id":"a9911159-4036-4b04-a86c-ca2e20f763a0","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":145,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadehj3cqb","text":"大模型_10","namespace":"flowable","x":6173.154761904751,"y":4068.095238095226,"width":360,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"adff6d87-73c7-45b1-9f24-a98e7531e490","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"d92eafaf-7475-4223-b796-6a333a23f641","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"3f000756-4c1d-40f5-93d0-f277923c33f2","name":"prompt","type":"Object","from":"Expand","value":[{"id":"4482f215-6938-4055-9ce3-d67e5939fce6","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"a521bdfd-d5b1-4551-b3ee-215c829d3c9e","name":"variables","type":"Object","from":"Expand","value":[{"id":"a4763daa-f27f-4fba-afae-51a0d60792cc","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"d5f808bc-587b-4541-a110-136de933c9d0","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"cedc2b20-7425-4b24-8e38-e9c5e092e2dc","name":"tools","type":"Array","from":"Input","value":[]},{"id":"ee9063de-6fc8-4ca8-b9a6-81c7ec8a0570","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"250de422-1bc5-48af-be1b-18a97e51f3ad","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"7d442905-50bc-429b-96fc-8eae8ec0ba66","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"bac3b019-a411-4adf-bd27-8f6bc78abcb8","name":"output","type":"Object","from":"Expand","value":[{"id":"f57a9179-858c-4fa2-a4af-0cd97a43123c","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":146,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadezkh5gw","text":"普通检索_10","namespace":"flowable","x":5494.761904761894,"y":4155.333333333327,"width":359.99999999999864,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"da69142d-bc72-482a-ba69-0ae7abf38892","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"0c5babb4-52f5-4330-8a58-3ab9eb48c50c","type":"Object","from":"Expand","value":[]}]},{"id":"1b484896-fe3c-443a-ae5b-35195edadf7a","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"8ab0e897-f053-4865-931d-7b740b6ab0e2","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"4b85dd59-654a-4890-a3a0-9ae0f6040a47","name":"output","type":"Object","from":"Expand","value":[{"id":"841f980a-dcd5-4ece-9704-e9db8ff1c24f","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":147,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jade65y3ie","text":"大模型_11","namespace":"flowable","x":7691.4880952380845,"y":4321.428571428563,"width":359.9999999999959,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"c84454d4-d7d8-42ee-a065-7fccf2aba2d5","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"8f59e8f8-ff89-48c3-9603-3a4a8b6c2ecc","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"be7db322-4ad0-43ea-a24c-964ba69f661e","name":"prompt","type":"Object","from":"Expand","value":[{"id":"dd70f68c-d41f-45d1-82ab-00aae8cfd320","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"a788dab3-95e0-462b-9dce-e6c34eeb09dd","name":"variables","type":"Object","from":"Expand","value":[{"id":"4e65d205-c709-40d7-ade3-7578964db3e1","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"da5e0f99-15bf-48cc-8c05-ea71d13422d0","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"01be6403-7762-4be0-bf94-412ea653e7b7","name":"tools","type":"Array","from":"Input","value":[]},{"id":"eb2fe313-83ef-46b6-af35-0f0723443fb8","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"b9a6b21c-a03d-4d97-b359-f742d05afa7f","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"a185c37d-b071-419f-81d3-7d1eae63f0e2","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"8ffa141e-7aed-41f2-a867-1c577d6a183e","name":"output","type":"Object","from":"Expand","value":[{"id":"7c5aa695-676d-4a7f-b929-65c7d85d4c0c","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":148,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jaded2rf1u","text":"普通检索_11","namespace":"flowable","x":7114.761904761906,"y":4541.999999999993,"width":359.9999999999959,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"6fc0b112-f4d2-4332-ab78-dde954e8d68c","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"5b171c1c-83d0-4034-b2fb-26c77f86d5d8","type":"Object","from":"Expand","value":[]}]},{"id":"36b9f997-0d3e-44d6-9ce8-56a8aeedf7c7","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"7bc48a1d-2255-4f4c-bd6a-2d70fb06e104","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"9bde155b-68f6-46f1-a057-f718174d36f4","name":"output","type":"Object","from":"Expand","value":[{"id":"e8365937-c830-476d-8d30-002f5da876a5","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":149,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jade501lv3","text":"大模型_12","namespace":"flowable","x":8594.82142857142,"y":4336.428571428562,"width":359.99999999999045,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"19f5ecfb-3c10-4e62-a63b-3ca3bc369b35","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"ee3ced15-a7e3-449e-89ec-4e926953f3e3","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"2889758f-48ea-408a-90a2-a6b6a5a70231","name":"prompt","type":"Object","from":"Expand","value":[{"id":"219abfaf-2128-4791-a4bf-8e927d05cad4","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"f0631016-0af0-466b-84d5-f4c34bae38b9","name":"variables","type":"Object","from":"Expand","value":[{"id":"d7171a88-7460-4f78-bee5-c5b015d741f4","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"e26dff67-533b-471f-a077-2edaf223d8a2","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"340cbaf2-c178-4545-a377-caca9a97f503","name":"tools","type":"Array","from":"Input","value":[]},{"id":"1f6a0bae-b9d8-467f-8767-ae4c2a8c39e8","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"f02ed27c-5c25-413c-a1c4-4e0fcbb96b4c","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"58fe9dd0-0128-43fd-87c9-921057360cb6","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"16422f15-f0f1-488e-ba87-162ecc3cc0ab","name":"output","type":"Object","from":"Expand","value":[{"id":"6bd7996c-fa84-421c-98eb-035952e8b8e2","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":150,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadei06hht","text":"普通检索_12","namespace":"flowable","x":8136.428571428547,"y":4678.666666666664,"width":359.9999999999977,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"a6151435-1fe3-4a85-9bbb-a6c0fec826b9","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"89852e56-a4b5-467e-9a26-82e902d1547a","type":"Object","from":"Expand","value":[]}]},{"id":"ff11f089-3d1c-46ec-9892-4f88218d1188","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"fd859acf-c3d8-4f3d-911d-01f6394b23e4","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"84caafc2-cb67-426b-985f-6f6e7c9980bb","name":"output","type":"Object","from":"Expand","value":[{"id":"3a0c23cf-fc41-4431-8ff0-c3ed7fb00461","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":151,"dirty":true,"runnable":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"dgq02z","text":"","namespace":"flowable","x":4624.761904761894,"y":4662.404761904758,"width":368.3928571428605,"height":-225.57142857142662,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jaderbz7zz","toShape":"jadecix53y","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-48,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"ixes7o","text":"","namespace":"flowable","x":5353.154761904749,"y":4436.833333333331,"width":141.60714285714494,"height":-40.00000000000455,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadecix53y","toShape":"jadezkh5gw","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-47,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"izbjx5","text":"","namespace":"flowable","x":5854.761904761892,"y":4396.833333333327,"width":318.3928571428587,"height":182.76190476189913,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadezkh5gw","toShape":"jadehj3cqb","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-46,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"93flay","text":"","namespace":"flowable","x":6533.154761904751,"y":4579.595238095226,"width":581.6071428571558,"height":203.90476190476693,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadehj3cqb","toShape":"jaded2rf1u","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-45,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"qq2adi","text":"","namespace":"flowable","x":7474.761904761903,"y":4783.499999999993,"width":216.72619047618173,"height":49.42857142857065,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jaded2rf1u","toShape":"jade65y3ie","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-44,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"79qwcf","text":"","namespace":"flowable","x":8051.488095238081,"y":4832.928571428563,"width":84.94047619046614,"height":87.23809523810087,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade65y3ie","toShape":"jadei06hht","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-43,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"7gqm5l","text":"","namespace":"flowable","x":8496.428571428545,"y":4920.166666666664,"width":98.39285714287507,"height":-72.23809523810269,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadei06hht","toShape":"jade501lv3","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-42,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"1rj18y","text":"","namespace":"flowable","x":3814.6665445963376,"y":3633.166758219398,"width":450.09536016555785,"height":1029.2380036853597,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade62q33k","toShape":"jaderbz7zz","definedFromConnector":"dynamic-1|51c2d046-e9b3-4d1b-bd57-de96c6d5a864","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-40,"dirty":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadetp1dt7","text":"大模型_13","namespace":"flowable","x":9860.535714285703,"y":2956.9999999999964,"width":359.99999999999227,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"8bd25c37-f31c-4b9e-8f59-ba0dd343350a","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"0fc6a979-eed6-4582-b2fe-30f8b6044a4b","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"d79147b1-adea-4b34-9c11-9e9761887205","name":"prompt","type":"Object","from":"Expand","value":[{"id":"ccb626e4-a174-4085-92fd-ae571975ae30","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"d4ba4972-4060-427d-94dc-fc36536ae5b3","name":"variables","type":"Object","from":"Expand","value":[{"id":"2f5370e9-7f40-471e-8b48-8b2095e60d0f","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"3919dd36-1025-4e67-a1b1-d09f15a96661","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"9215abfb-0dab-4c1e-a708-4d0c9e8c3198","name":"tools","type":"Array","from":"Input","value":[]},{"id":"e7bec069-15b2-48b8-9f06-6006f1db4e07","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"bc1aec5a-8f45-451f-adbc-8e3c29358bfc","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"4acdae9d-3d80-4f56-80fc-6de8c3139e08","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"64a79cf6-4645-419c-9a05-4b34e33ad194","name":"output","type":"Object","from":"Expand","value":[{"id":"f02ebf09-e780-4439-89fc-ad27775ed582","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":160,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadedmr7p5","text":"普通检索_13","namespace":"flowable","x":9321.142857142844,"y":3157.2380952380927,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"2c634178-341c-4167-a5d6-d3393c54967b","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"7e7d38d3-f65d-406e-afa2-0aec95a57c29","type":"Object","from":"Expand","value":[]}]},{"id":"4ce8128e-b54d-4162-b7be-8843a289dba8","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"8a31260e-6925-4e5f-9bbf-8a912cdad727","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"c72c93d5-ff11-4daf-b9a5-1a84dc7e00a7","name":"output","type":"Object","from":"Expand","value":[{"id":"0ce64be6-7b0e-4f3e-9d3d-86504ce7ee09","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":161,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadevobk31","text":"大模型_14","namespace":"flowable","x":11016.535714285703,"y":3052.9999999999927,"width":359.99999999999227,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"624ef9b9-c81b-48c9-84fb-6b5958be59e5","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"61800922-e96b-473c-87a0-89c57670f2c6","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"ac4032de-6ace-4c36-b873-e7d5247ad06f","name":"prompt","type":"Object","from":"Expand","value":[{"id":"efff2212-f578-49ef-8f6a-6fe57491b30f","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"dc6fc915-49b5-42d4-99d0-80a82e88273e","name":"variables","type":"Object","from":"Expand","value":[{"id":"6830098a-5da5-459d-be65-47a21147ccdf","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"81f272d1-e544-4c47-9d2f-f6c01c447c4c","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"4ea83daf-153c-4d0e-a236-17f4b46d266a","name":"tools","type":"Array","from":"Input","value":[]},{"id":"f0381a9c-10be-4dae-8727-f5239f48272e","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"ac961b08-d9ca-444d-bea9-1abfda7732f7","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"0a99e7e2-b882-4a5f-af2a-0f4f8ad86c35","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"cc13f891-254b-461f-bef7-99110a228da7","name":"output","type":"Object","from":"Expand","value":[{"id":"046520e1-21aa-47cf-911a-1a6780db6810","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":162,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadee210tc","text":"普通检索_14","namespace":"flowable","x":10475.142857142844,"y":3082.238095238091,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"c42299f9-2330-4e89-98b9-6a9291cf5100","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"504d0db6-2d44-4b16-9bca-9b30f70f3b7c","type":"Object","from":"Expand","value":[]}]},{"id":"6a067ea9-c68f-4934-9496-ed2a077e4201","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"44f79042-956c-4dd9-b9f5-8e2ee76ebb73","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"35b488b2-a829-49eb-ad5e-afefc328eb00","name":"output","type":"Object","from":"Expand","value":[{"id":"31c100d7-9a17-4834-a305-4639717d5e2a","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":163,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadedgea98","text":"大模型_15","namespace":"flowable","x":12018.869047619035,"y":3067.666666666657,"width":359.99999999999227,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"39c5c137-109a-46b4-aed9-04d7b32dde87","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"327a0ae3-dc72-4f42-a1de-2a7f2db863ee","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"eb099b75-e882-4a2c-a3ce-bf1cb5f77001","name":"prompt","type":"Object","from":"Expand","value":[{"id":"19baae3b-d0aa-4590-88ee-ae662c039c75","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"5205af58-4879-4ce4-a521-1acacd17979e","name":"variables","type":"Object","from":"Expand","value":[{"id":"cb56681b-8169-487e-8cda-121c11c250bf","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"4a59bbb1-77d3-45d0-877a-81a2a48f5f46","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"33493916-9f11-4e1c-8223-ad34ba88b864","name":"tools","type":"Array","from":"Input","value":[]},{"id":"3087da5b-ab6a-4cdf-9b00-24e5336617bc","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"d8d8a38f-cc15-42d5-a0e5-630bdd47f1d7","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"e7d1587b-6188-40b2-99bf-633900fd699b","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"24f5925d-ca59-463f-8eb2-270fb60594b7","name":"output","type":"Object","from":"Expand","value":[{"id":"8cecc79d-98fd-4a4b-98e9-f0b702f57acc","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":164,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadesaj0vf","text":"普通检索_15","namespace":"flowable","x":11519.14285714283,"y":3360.5714285714303,"width":359.999999999995,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"17631fb7-d509-410d-9b80-4279f2857a0e","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"64c3b7f7-89de-46f2-8b70-ffe873e63508","type":"Object","from":"Expand","value":[]}]},{"id":"3df6ef94-c8e6-4a9b-9c3f-ab7020764e79","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"5cb1821d-0a61-44c7-a9f9-42554f3c5b7e","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"7bc98458-b171-42b3-b99a-ed829016dce9","name":"output","type":"Object","from":"Expand","value":[{"id":"ce73aab7-3e23-4d3e-8cc8-64f4a49a2bb8","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":165,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jade2dj3sv","text":"大模型_16","namespace":"flowable","x":13262.535714285703,"y":3161.999999999991,"width":359.99999999999045,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"db342930-b084-483b-95aa-4a478edbfdd4","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"d8eebd79-aa39-4beb-b4a7-48015340f1e3","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"25646776-80db-4ed6-969d-6c78968662cd","name":"prompt","type":"Object","from":"Expand","value":[{"id":"561b1514-b365-427e-8042-764de934c6f2","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"7195e871-0435-402c-a115-5b32939eccf5","name":"variables","type":"Object","from":"Expand","value":[{"id":"49c6968f-16ce-45b5-b442-c3cc57f99597","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"57813fd5-52f2-4f67-8d84-63b16193fdcb","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"f44e77b5-147e-4083-8497-64a6d88c150a","name":"tools","type":"Array","from":"Input","value":[]},{"id":"faff8565-a31b-4d16-a9b9-afa11bc6352b","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"71a56d67-3a66-423a-a6ad-c4da9e78a126","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"e0de5573-f49a-42d2-9a9d-89217a9ef359","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"2242a5bc-4ac6-43ef-8e98-a384c5459f27","name":"output","type":"Object","from":"Expand","value":[{"id":"bed3aeee-ff20-46b9-a054-cd64680d688f","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":166,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jade5qu1co","text":"普通检索_16","namespace":"flowable","x":12604.476190476162,"y":3383.904761904754,"width":359.99999999999136,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"b37fff47-d1bc-4387-a3f4-d8e3bbbf96d8","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"7f720e9c-150d-4d18-9baf-8b2bc658eb3e","type":"Object","from":"Expand","value":[]}]},{"id":"f53fee52-05dc-4e3a-9cff-8e79b5a56f78","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"862bba41-b167-4d53-827a-39eccb009639","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"45e52d2f-9900-48b9-a1dd-6c69ccb596d5","name":"output","type":"Object","from":"Expand","value":[{"id":"a090d469-6b85-4282-a6f4-dd1ef4ef5c6a","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":167,"dirty":true,"runnable":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"h14scr","text":"","namespace":"flowable","x":9086.765873015866,"y":3253.6666666666597,"width":234.37698412697864,"height":145.071428571433,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadehiauns","toShape":"jadedmr7p5","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-32,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"vsuo5e","text":"","namespace":"flowable","x":9681.142857142837,"y":3398.7380952380927,"width":179.39285714286598,"height":69.76190476190368,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadedmr7p5","toShape":"jadetp1dt7","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-31,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"pbm8s4","text":"","namespace":"flowable","x":10220.535714285696,"y":3468.4999999999964,"width":254.60714285714857,"height":-144.7619047619055,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadetp1dt7","toShape":"jadee210tc","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-30,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"pc9hxq","text":"","namespace":"flowable","x":10835.142857142837,"y":3323.738095238091,"width":181.39285714286598,"height":240.76190476190186,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadee210tc","toShape":"jadevobk31","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-29,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"5fgpg6","text":"","namespace":"flowable","x":11376.535714285696,"y":3564.4999999999927,"width":142.60714285713402,"height":37.57142857143754,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadevobk31","toShape":"jadesaj0vf","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-28,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"7rr7ul","text":"","namespace":"flowable","x":11879.142857142824,"y":3602.0714285714303,"width":139.72619047621083,"height":-22.904761904773295,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadesaj0vf","toShape":"jadedgea98","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-27,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"m3ve8t","text":"","namespace":"flowable","x":12378.869047619028,"y":3579.166666666657,"width":225.60714285713402,"height":46.23809523809723,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadedgea98","toShape":"jade5qu1co","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-26,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"95lldo","text":"","namespace":"flowable","x":12964.476190476153,"y":3625.404761904754,"width":298.0595238095502,"height":48.09523809523671,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade5qu1co","toShape":"jade2dj3sv","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-25,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"vexyu3","text":"","namespace":"flowable","x":13622.535714285694,"y":3673.499999999991,"width":216.92857142858156,"height":5.595238095239438,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade2dj3sv","toShape":"jadem43dzd","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-24,"dirty":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadeic0m32","text":"大模型_17","namespace":"flowable","x":9615.5357142857,"y":4412.333333333325,"width":359.99999999999227,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"fe4c4a1d-5f06-492f-8aa8-30b2248b3a49","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"012727f6-234e-4f19-9ec9-b6356431518d","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"f9ccdcd6-2f7f-48ca-b5da-ce2beb17c39b","name":"prompt","type":"Object","from":"Expand","value":[{"id":"3b645603-4bd4-4cd2-87da-93002aa6d55b","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"4688df14-4159-4500-aced-cae906bf65c3","name":"variables","type":"Object","from":"Expand","value":[{"id":"a415be0f-c97d-4f0d-8df7-2d471509a697","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"f1eb3387-ee4a-4a71-bb78-e3f24d00896f","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"832b8bb9-b79d-4df7-b2a3-0f0e5d56f065","name":"tools","type":"Array","from":"Input","value":[]},{"id":"a585983a-a652-49ae-9047-4e5535d18643","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"f0e9656b-b52c-4314-9b3d-7856f3e70802","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"babb07ea-ab28-43e5-a502-39f87e381134","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"a6606ea2-8739-4df9-b5d5-d258e175ab67","name":"output","type":"Object","from":"Expand","value":[{"id":"22274efa-d261-4803-aa00-aa52e107a954","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":176,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadezfaekh","text":"普通检索_17","namespace":"flowable","x":9089.47619047618,"y":4612.57142857142,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"929fc67b-eda2-4968-b258-f410ec942cc1","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"90586bc7-85ee-4e13-9dc6-75121e1e2fdb","type":"Object","from":"Expand","value":[]}]},{"id":"4b36d660-5b8f-4f5c-8fcb-aa1b283bbbb6","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"a12a2ccf-630d-43c4-9500-70ce494e3948","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"117f6089-27f3-4804-8c79-16474ca4d32d","name":"output","type":"Object","from":"Expand","value":[{"id":"d43c1943-6314-426c-976e-536841fa1aa6","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":177,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadew5htbc","text":"大模型_18","namespace":"flowable","x":10691.535714285692,"y":4518.333333333323,"width":359.99999999999227,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"48be8412-867f-41c1-b1d6-19639fa16543","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"b9489a14-f77a-4070-92af-7c2e9f32b563","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"2b5af488-1da1-4383-80b3-016f4e8bc102","name":"prompt","type":"Object","from":"Expand","value":[{"id":"97d25706-a257-4d07-8bb5-c09cf46fca4c","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"2eae6d31-39ef-49f5-a187-5e382c496651","name":"variables","type":"Object","from":"Expand","value":[{"id":"a3492708-44f2-4562-a6f3-b59f423e75b8","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"ab945141-4549-40d3-a80e-40b5157e4c6a","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"4bf383a2-f8b1-445c-85e5-6272f181e475","name":"tools","type":"Array","from":"Input","value":[]},{"id":"e5309511-d0f3-4984-9ca5-df21db643747","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"f04cb74b-2e09-484d-aa88-843a0904a3c7","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"b1e381d4-e958-40d8-884e-11b435666c77","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"4ba1e344-fe83-4e0d-acdf-c611d9e08fcc","name":"output","type":"Object","from":"Expand","value":[{"id":"0acfac62-a28a-4cd2-bdff-9ee0d71bd6e3","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":178,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadep784qq","text":"普通检索_18","namespace":"flowable","x":10186.809523809505,"y":4640.904761904754,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"7d880a90-4b3b-4b42-8deb-a85f688d0cd6","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"2424436f-ff80-4f64-91e1-7871d1d5b009","type":"Object","from":"Expand","value":[]}]},{"id":"2d13e5f4-b2e5-4f9f-8bf5-b25e2db1fad6","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"81efd2b2-6c02-4689-9dc1-1180deb856ca","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"0898ea62-d5b4-433e-800c-f7c9757119b1","name":"output","type":"Object","from":"Expand","value":[{"id":"a29ad2ba-f132-4f87-b400-04f06a96c207","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":179,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadebrmrub","text":"大模型_19","namespace":"flowable","x":11787.202380952367,"y":4519.666666666659,"width":359.99999999999227,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"994c2efc-375d-4d89-815d-62393a517bb1","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"6d81d958-98a5-491a-bd62-8457cb802073","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"deeda7c8-a521-4727-8c5d-4a0714a26dc0","name":"prompt","type":"Object","from":"Expand","value":[{"id":"4cfe78a0-fb35-4ed7-82a0-14ce079eefaa","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"5ac39e25-b307-49d8-b854-6f288bab2ae1","name":"variables","type":"Object","from":"Expand","value":[{"id":"abb69152-b56e-4c2b-8ad9-665aeec9b1c0","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"dba3417d-67f8-40a2-9959-fa7581dcda24","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"ffa8c5f4-3f7f-48f7-945e-8910cb48a4cd","name":"tools","type":"Array","from":"Input","value":[]},{"id":"f83deeca-7b2e-4a6a-92ee-2ff519eb3f4c","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"1111f3b4-fb49-46b1-9656-5b708fb48098","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"2784810d-db95-4d4a-9977-2e8f518da480","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"172ed771-9f58-423f-9fdf-699698b0b4c5","name":"output","type":"Object","from":"Expand","value":[{"id":"73f9b461-362c-4f01-83c8-b5480383e25d","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":180,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jade5jncp7","text":"普通检索_19","namespace":"flowable","x":11247.476190476158,"y":4809.238095238088,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"56b98caa-8b9f-44ae-916f-c04e2a6414bb","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"357d2d39-0ab7-42fb-8b51-1a47e8b94cdc","type":"Object","from":"Expand","value":[]}]},{"id":"8cd6232b-6fcb-4738-8381-916d7325e3db","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"f8f8eca8-5309-4ef0-9575-0239aacd0190","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"11b99492-e08d-4028-8c76-58a62662c8a5","name":"output","type":"Object","from":"Expand","value":[{"id":"af819259-b3a6-4e90-846b-fb09caee08ed","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":181,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadeyf6cna","text":"大模型_20","namespace":"flowable","x":12824.202380952378,"y":4587.333333333327,"width":359.99999999998954,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"5dbd8e82-377f-43e6-bde9-2e4625bae359","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"7d6a41d1-af3f-4ebb-aa6a-844d66a83b11","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"e1158d59-783e-4690-9cff-20e8cf6853cd","name":"prompt","type":"Object","from":"Expand","value":[{"id":"dd96b032-53d0-4570-97cc-0683cec61409","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"817433d0-ccd0-499c-8bda-e54aa070874a","name":"variables","type":"Object","from":"Expand","value":[{"id":"d59f4efe-c093-4fb1-b0f6-b625c9748f5c","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"31cc5114-69d3-4c38-b29d-38ebf814e0b4","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"279785a1-c48f-4d34-afd1-b4db14268a6e","name":"tools","type":"Array","from":"Input","value":[]},{"id":"e058af29-ca83-4d67-8965-45522deff248","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"78e1878c-0f5f-4455-b2e6-fa70a1953a58","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"2c2661e0-231f-408c-98a9-911277f6862f","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"5d091f1f-5657-4100-ad16-e87db5e1b1bb","name":"output","type":"Object","from":"Expand","value":[{"id":"1930dcd6-d74c-4108-9061-738dec9c8bd8","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":182,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jade5aiwys","text":"普通检索_20","namespace":"flowable","x":12292.809523809487,"y":4845.904761904754,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"e857d624-8a56-4f2b-959d-1a664d5438f7","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"b93ea340-2dcc-4441-a69d-05ac58c3d0b9","type":"Object","from":"Expand","value":[]}]},{"id":"501b3221-df72-452b-805d-b4a8efa6dcca","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"4e011a0c-6d4e-4aef-acc5-d8fa741293ea","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"6d514944-e014-4654-a983-a90075972242","name":"output","type":"Object","from":"Expand","value":[{"id":"bc9fc2da-f715-4da0-a6dc-effccfd3f1d5","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":183,"dirty":true,"runnable":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"5k4yjk","text":"","namespace":"flowable","x":8954.821428571411,"y":4847.928571428562,"width":134.65476190476875,"height":6.142857142858702,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade501lv3","toShape":"jadezfaekh","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-16,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"c9leyc","text":"","namespace":"flowable","x":9449.476190476173,"y":4854.07142857142,"width":166.05952380952658,"height":69.76190476190459,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadezfaekh","toShape":"jadeic0m32","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-15,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"zyrrvy","text":"","namespace":"flowable","x":9975.535714285692,"y":4923.833333333325,"width":211.27380952381282,"height":-41.42857142857065,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeic0m32","toShape":"jadep784qq","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-14,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"rmyyp3","text":"","namespace":"flowable","x":10546.809523809497,"y":4882.404761904754,"width":144.72619047619446,"height":147.42857142856883,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadep784qq","toShape":"jadew5htbc","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-13,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"ez9qbj","text":"","namespace":"flowable","x":11051.535714285685,"y":5029.833333333323,"width":195.94047619047342,"height":20.90476190476511,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadew5htbc","toShape":"jade5jncp7","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-12,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"vnrox0","text":"","namespace":"flowable","x":11607.47619047615,"y":5050.738095238088,"width":179.7261904762163,"height":-19.57142857142935,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade5jncp7","toShape":"jadebrmrub","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-11,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"dag8de","text":"","namespace":"flowable","x":12147.20238095236,"y":5031.166666666659,"width":145.60714285712675,"height":56.23809523809541,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadebrmrub","toShape":"jade5aiwys","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-10,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"tezq0v","text":"","namespace":"flowable","x":12652.80952380948,"y":5087.404761904754,"width":171.39285714289872,"height":11.428571428572468,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade5aiwys","toShape":"jadeyf6cna","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-9,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"rp8mq9","text":"","namespace":"flowable","x":13184.202380952367,"y":5098.833333333327,"width":233.31746031747025,"height":-2.142857142856883,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeyf6cna","toShape":"jader3ffi5","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":-8,"dirty":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadewjtzel","text":"大模型_21","namespace":"flowable","x":8928.869047619035,"y":1635.666666666662,"width":359.9999999999941,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"01276c12-0017-45a6-9704-fe96f5c258ac","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"bb9723cd-cae9-477d-bfc5-649e4185f95a","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"c90c8e05-74c4-486b-bc75-47a4f4b9f117","name":"prompt","type":"Object","from":"Expand","value":[{"id":"1b543752-5674-440a-8cdb-c4cd4ad88e8f","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"65155c2c-99c3-4cb7-bbac-126f5c36ba80","name":"variables","type":"Object","from":"Expand","value":[{"id":"e0f8f5f6-22f1-4b68-850d-071fea3c340d","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"37183437-a961-41fb-8ce2-edad028f6038","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"c9bfea1f-ff9d-4ec3-8a75-7cce519718ae","name":"tools","type":"Array","from":"Input","value":[]},{"id":"07cd7241-c010-4487-8ae8-5898352ac39f","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"93feb062-04a2-46c5-9785-343c92f7403a","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"54831ed9-4421-40b3-9dff-bc266fd49f27","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"519dfae4-60ab-410d-b89f-31a888aaf12b","name":"output","type":"Object","from":"Expand","value":[{"id":"add7d199-9955-4588-8b0c-24cd74ab214e","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":193,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadeg9l1su","text":"普通检索_21","namespace":"flowable","x":8382.809523809512,"y":1865.9047619047574,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"cc74cd57-e006-41a7-81fb-a5ab4f45b62d","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"0083dbc2-f448-4b9e-8037-a91133dfa5d1","type":"Object","from":"Expand","value":[]}]},{"id":"d0d85d10-59b8-4823-8d10-0a4c1dd1aea4","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"73016532-dd57-4dc8-b972-3172eaba0010","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"3caae10e-88d0-406c-80ea-72c6d6b29d45","name":"output","type":"Object","from":"Expand","value":[{"id":"f54123a9-fb31-46bf-84a4-0bbd751a414a","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":194,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jadelmfljz","text":"大模型_22","namespace":"flowable","x":9978.202380952363,"y":1748.333333333328,"width":359.99999999999227,"height":893,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"63510921-5fc2-479c-9512-a00cace4e847","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"dbbd286d-ffab-4728-a5bd-064e81237b29","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"61c4f267-2c2e-427b-93d5-3ea74b5941a9","name":"prompt","type":"Object","from":"Expand","value":[{"id":"948dd829-1617-491b-a0ee-6b11ea3ced82","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"9b635a96-4831-4312-b92b-d0c4c7f74f51","name":"variables","type":"Object","from":"Expand","value":[{"id":"0853a9f2-43b2-4418-824b-74f1a95e27ca","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"ae3060ff-a4ca-4eed-a702-99351640124d","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"e85a49b7-60cf-44af-b8ad-c3066deb4310","name":"tools","type":"Array","from":"Input","value":[]},{"id":"84bf30c6-f697-4855-9c5b-027129a0988e","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"187f91df-59e0-4409-ac74-1f22ea081884","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"3dfd5af8-16a5-4901-b4f6-ea37880ef826","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"57f02587-1c9d-4cc8-8d03-97f5a0e1b6ae","name":"output","type":"Object","from":"Expand","value":[{"id":"70ebf30f-cdbb-412e-8c80-58669e209f69","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":195,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadelq1nzz","text":"普通检索_22","namespace":"flowable","x":9496.809523809508,"y":1837.5714285714225,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"d37e518b-c855-4e1b-bf6f-e920c6c51d6f","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"12a71a32-05f7-431b-a456-516f7dbc90a1","type":"Object","from":"Expand","value":[]}]},{"id":"3f4e5b6e-cb62-4357-a77f-30eea098123d","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"11fce3b4-1b9e-4211-8b12-92e0ea40525f","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"0bc936a7-9d46-4024-969b-5a3a6efce4c4","name":"output","type":"Object","from":"Expand","value":[{"id":"1627de84-4b03-4dac-921c-6b78c348520b","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":196,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jade2vq7pc","text":"大模型_23","namespace":"flowable","x":10970.5357142857,"y":1762.9999999999932,"width":359.99999999999227,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"914c6bbe-cee4-4f51-bc4a-18f26e5cd040","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"75a22106-2472-4828-8912-6fdaa0d71553","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"4391fcb2-f568-423d-87a0-77986c090bdf","name":"prompt","type":"Object","from":"Expand","value":[{"id":"6e2a9d2c-5b4b-44c5-9397-3abc41fac265","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"19265d41-a80a-447d-a9e8-576b5da4cf91","name":"variables","type":"Object","from":"Expand","value":[{"id":"d3dc6c6a-5fef-4a5a-afca-053b8adf6579","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"ab186567-be3f-46cc-ac28-a8f1a61bb21d","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"8021a643-5ab4-458a-b9af-05592374ffb9","name":"tools","type":"Array","from":"Input","value":[]},{"id":"d3934d44-891d-465e-917c-027bfebe2927","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"c385e8a8-abc4-4fb6-bf0c-1c9e33ae0f95","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"5075b5ef-0401-4f8d-baf2-8eac18fc7e07","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"18aec624-2ad4-41a9-abcd-cd1f1e733dbd","name":"output","type":"Object","from":"Expand","value":[{"id":"5def74c6-f2d5-49e2-bc8a-bf1be728c362","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":197,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jade1kd57k","text":"普通检索_23","namespace":"flowable","x":10464.142857142833,"y":2042.571428571423,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"bc6d3fb9-6572-4aa5-9038-47bcac902352","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"672c8de3-fc91-4cd2-9615-c24dec2c722f","type":"Object","from":"Expand","value":[]}]},{"id":"00a23abb-fbd3-4b58-b8ed-d885cf2f200a","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"1abf2dfe-50ba-4e3d-ae5b-4ee4441a793f","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"8313195f-337a-4ccd-a0bd-cbbe3ac6d6ee","name":"output","type":"Object","from":"Expand","value":[{"id":"d3012d93-d9ca-4031-8e14-1a90d259e019","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":198,"dirty":true,"runnable":true},{"type":"llmNodeState","container":"elsa-page:tvp1s6","id":"jade529lmy","text":"大模型_24","namespace":"flowable","x":12057.5357142857,"y":1867.333333333328,"width":359.99999999999227,"height":1023,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.LLMComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"281db9c7-314d-4144-a8db-d75c809c81e3","name":"model","type":"String","from":"Input","value":"Qwen1.5-32B-Chat"},{"id":"00094f38-d47f-422e-9648-7a20cbad4b45","name":"temperature","type":"Number","from":"Input","value":"0.3"},{"id":"fca7fcdb-2fef-4c92-9a11-deea1482cc37","name":"prompt","type":"Object","from":"Expand","value":[{"id":"bf773930-ce48-4e35-a163-d85f8309f540","name":"template","type":"String","from":"Input","value":"请按照以下步骤生成您的回复:\n1. 递归地将问题分解为更小的问题。\n2. 对于每个原子问题,从上下文和对话历史记录中选择最相关的信息。\n3. 使用所选信息生成回复草稿。\n4. 删除回复草稿中的重复内容。\n5. 在调整后生成最终答案,以提高准确性和相关性。\n6. 请注意,只需要回复最终答案。\n-------------------------------------\n上下文信息:\n\n{{knowledge}}\n\n问题:{{query}}"},{"id":"93dc5f86-b5d9-4c91-b5c8-7d9429934759","name":"variables","type":"Object","from":"Expand","value":[{"id":"c626bb55-be63-45bd-a731-56e5623357e3","name":"knowledge","type":"String","from":"Reference","value":["output","retrievalOutput"],"referenceNode":"jade0pg2ag","referenceId":"5c9c6535-c127-445a-862a-966cf1083929","referenceKey":"retrievalOutput"},{"id":"44fcb562-0898-459c-abf4-8bf68235a62f","name":"query","type":"String","from":"Reference","value":["Question"],"referenceKey":"Question","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb"}]}]},{"id":"1d10da49-6fde-4b35-ac90-fc32c5d58d63","name":"tools","type":"Array","from":"Input","value":[]},{"id":"4a376463-7741-4c17-86b3-dc6a88a0b09e","name":"workflows","type":"Array","from":"Input","value":[]},{"id":"9221b824-a47a-4542-b548-4bec8a27145f","name":"systemPrompt","type":"String","from":"Input","value":""},{"id":"c8fc96cb-48e0-4b67-9b89-e5d746e86b33","name":"maxMemoryRounds","type":"Integer","from":"input","value":"0"}],"outputParams":[{"id":"334a2ab2-fae2-4f6c-9489-389c36b74c4f","name":"output","type":"Object","from":"Expand","value":[{"id":"3ab25c79-28cf-4fdb-a5d0-467af3f5c56e","name":"llmOutput","type":"string","from":"Input","description":"","value":""}]}]}},"isAsync":"true"},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"llmComponent","index":199,"dirty":true,"runnable":true},{"type":"retrievalNodeState","container":"elsa-page:tvp1s6","id":"jadekx1lze","text":"普通检索_24","namespace":"flowable","x":11496.142857142826,"y":2085.904761904757,"width":359.9999999999932,"height":483,"bold":false,"italic":false,"pad":6,"rotateAble":false,"triggerMode":"auto","enableAnimation":false,"warningTask":0,"runningTask":0,"completedTask":0,"hideText":true,"autoHeight":true,"borderColor":"rgba(28,31,35,.08)","mouseInBorderColor":"rgba(28,31,35,.08)","shadow":"0 2px 4px 0 rgba(0,0,0,.1)","focusShadow":"0 0 1px rgba(0,0,0,.3),0 4px 14px rgba(0,0,0,.1)","borderWidth":1,"outlineWidth":10,"outlineColor":"rgba(74,147,255,0.12)","dashWidth":0,"backColor":"white","focusBackColor":"white","cornerRadius":8,"flowMeta":{"triggerMode":"auto","jober":{"type":"general_jober","name":"","fitables":["modelengine.fit.jober.aipp.fitable.NaiveRAGComponent"],"converter":{"type":"mapping_converter","entity":{"inputParams":[{"id":"2be4ce75-b3cd-4ad5-820d-84492acf2cd0","name":"knowledge","type":"Array","from":"Expand","value":[{"id":"05fd16a7-320b-4c22-8743-2ccbdbf3f5c9","type":"Object","from":"Expand","value":[]}]},{"id":"d0d0a40b-1e2b-45d6-b215-926700052614","name":"maximum","type":"Integer","from":"Input","value":3},{"id":"de470791-6721-4bf6-b978-f3691eb04dc0","name":"query","type":"String","from":"Reference","referenceNode":"jade6qm5eg","referenceId":"input_ae2ffd6e-2b9e-4e73-9d7f-0e661ec3dbdb","referenceKey":"Question","value":["Question"]}],"outputParams":[{"id":"27e19b66-5940-421a-8493-8e68f44fb8bc","name":"output","type":"Object","from":"Expand","value":[{"id":"d2eb700f-ba2e-43cb-ad0e-577a0aaa75d4","name":"retrievalOutput","type":"String","from":"Input","value":"String"}]}]}}},"joberFilter":{"type":"MINIMUM_SIZE_FILTER","threshold":1}},"sourcePlatform":"official","componentName":"retrievalComponent","index":200,"dirty":true,"runnable":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"8jwcc5","text":"","namespace":"flowable","x":8176.765873015843,"y":2030.90476190476,"width":206.04365079366926,"height":76.49999999999727,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade0rs5i1","toShape":"jadeg9l1su","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":0,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"n8yui2","text":"","namespace":"flowable","x":8742.809523809505,"y":2107.4047619047574,"width":186.05952380953022,"height":39.76190476190459,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadeg9l1su","toShape":"jadewjtzel","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":1,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"dba4qv","text":"","namespace":"flowable","x":9288.86904761903,"y":2147.166666666662,"width":207.94047619047888,"height":-68.09523809523944,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadewjtzel","toShape":"jadelq1nzz","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":2,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"b3r8ix","text":"","namespace":"flowable","x":9856.809523809501,"y":2079.0714285714225,"width":121.39285714286234,"height":115.7619047619055,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadelq1nzz","toShape":"jadelmfljz","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":3,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"wrdtcl","text":"","namespace":"flowable","x":10338.202380952356,"y":2194.833333333328,"width":125.94047619047706,"height":89.23809523809496,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadelmfljz","toShape":"jade1kd57k","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":4,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"othl4r","text":"","namespace":"flowable","x":10824.142857142826,"y":2284.071428571423,"width":146.39285714287325,"height":-9.571428571429806,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade1kd57k","toShape":"jade2vq7pc","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":5,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"bmesx1","text":"","namespace":"flowable","x":11330.535714285692,"y":2274.499999999993,"width":165.60714285713402,"height":52.904761904763745,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade2vq7pc","toShape":"jadekx1lze","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":6,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"yrkzdc","text":"","namespace":"flowable","x":11856.142857142819,"y":2327.404761904757,"width":201.39285714288053,"height":51.428571428571104,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jadekx1lze","toShape":"jade529lmy","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":7,"dirty":true},{"type":"jadeEvent","container":"elsa-page:tvp1s6","id":"634syr","text":"","namespace":"flowable","x":12417.535714285692,"y":2378.833333333328,"width":171.92857142858338,"height":-28.071428571427987,"bold":false,"italic":false,"pad":0,"margin":20,"backColor":"white","hideText":true,"beginArrow":false,"beginArrowEmpty":false,"beginArrowSize":4,"endArrow":true,"endArrowEmpty":false,"endArrowSize":4,"textX":0,"textY":0,"hAlign":"center","lineWidth":2,"fromShape":"jade529lmy","toShape":"jadesoux5i","definedFromConnector":"E","definedToConnector":"W","arrowBeginPoint":{"x":0,"y":0},"arrowEndPoint":{"x":0,"y":0},"curvePoint1":{"x":0,"y":0},"curvePoint2":{"x":0,"y":0},"brokenPoints":[],"lineMode":{"type":"auto_curve"},"allowSwitchLineMode":false,"allowLink":false,"borderWidth":1,"borderColor":"#B1B1B7","mouseInBorderColor":"#B1B1B7","runnable":true,"index":8,"dirty":true}]}],"enableText":false,"flowMeta":{"exceptionFitables":["modelengine.fit.jober.aipp.fitable.AippFlowExceptionHandler"]}}
\ No newline at end of file
diff --git a/agent-flow/vite.config.js b/agent-flow/vite.config.js
deleted file mode 100644
index 6e39488..0000000
--- a/agent-flow/vite.config.js
+++ /dev/null
@@ -1,46 +0,0 @@
-/*---------------------------------------------------------------------------------------------
- * Copyright (c) 2025 Huawei Technologies Co., Ltd. All rights reserved.
- * This file is a part of the ModelEngine Project.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- *--------------------------------------------------------------------------------------------*/
-
-import {defineConfig} from 'vite';
-import react from '@vitejs/plugin-react';
-import libCss from 'vite-plugin-libcss';
-import {fileURLToPath, URL} from 'node:url'
-import svgr from "vite-plugin-svgr";
-
-// https://vitejs.dev/config/
-export default defineConfig({
- plugins: [
- react(),
- libCss(),
- svgr({svgrOptions: {icon: true}})
- ],
- build: {
- lib: {
- entry: 'src/index.js',
- name: 'agent-flow',
- filename: (format) => `agent-flow.${format}.js`
- },
- sourcemap: true,
- rollupOptions: {
- external: ['react', 'react-dom', '@fit-elsa/elsa', 'antd', 'axios', '@monaco-editor/react'],
- output: {
- globals: {
- react: 'react',
- 'react-dom': 'ReactDOM',
- '@fit-elsa/elsa': '@fit-elsa/elsa',
- '@monaco-editor/react': '@monaco-editor/react',
- },
- inlineDynamicImports: true, // 确保 worker 内联
- }
- },
- outDir: "build"
- },
- resolve: {
- alias: {
- '@': fileURLToPath(new URL('./src', import.meta.url))
- }
- },
-})