From 26f36ccee1a1db7da09373ee021cf0cb75a2036f Mon Sep 17 00:00:00 2001 From: maninhill <41712985+maninhill@users.noreply.github.com> Date: Wed, 9 Apr 2025 15:15:25 +0800 Subject: [PATCH 1/2] chore: Update README.md (#2835) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63440865c..cfe819e56 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ MaxKB = Max Knowledge Base, it is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities. MaxKB is widely applied in scenarios such as intelligent customer service, corporate internal knowledge bases, academic research, and education. -- **Ready-to-Use**: Supports direct uploading of documents / automatic crawling of online documents, with features for automatic text splitting, vectorization, and RAG (Retrieval-Augmented Generation). This effectively reduces hallucinations in large models, providing a superior smart Q&A interaction experience. +- **RAG Pipeline**: Supports direct uploading of documents / automatic crawling of online documents, with features for automatic text splitting, vectorization, and RAG (Retrieval-Augmented Generation). This effectively reduces hallucinations in large models, providing a superior smart Q&A interaction experience. - **Flexible Orchestration**: Equipped with a powerful workflow engine, function library and MCP tool-use, enabling the orchestration of AI processes to meet the needs of complex business scenarios. - **Seamless Integration**: Facilitates zero-coding rapid integration into third-party business systems, quickly equipping existing systems with intelligent Q&A capabilities to enhance user satisfaction. - **Model-Agnostic**: Supports various large models, including private models (such as DeepSeek, Llama, Qwen, etc.) and public models (like OpenAI, Claude, Gemini, etc.). From deb3844b4cb767ba9abb70963aad93a4333db7e5 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Wed, 9 Apr 2025 15:34:36 +0800 Subject: [PATCH 2/2] fix: Judgment tool drag and drop sorting (#2837) --- ui/src/workflow/nodes/condition-node/index.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ui/src/workflow/nodes/condition-node/index.vue b/ui/src/workflow/nodes/condition-node/index.vue index c76844bef..41ada1b5f 100644 --- a/ui/src/workflow/nodes/condition-node/index.vue +++ b/ui/src/workflow/nodes/condition-node/index.vue @@ -10,7 +10,7 @@ > () + const form = { branch: [ { @@ -248,13 +249,12 @@ function onEnd(event?: any) { if (oldIndex === undefined || newIndex === undefined) return const list = cloneDeep(props.nodeModel.properties.node_data.branch) if (oldIndex === list.length - 1 || newIndex === list.length - 1) { - list[newIndex] = list[oldIndex] - list[oldIndex] = clonedData - set(props.nodeModel.properties.node_data, 'branch', list) return } - list[newIndex].type = list[oldIndex].type - list[oldIndex].type = clonedData.type // 恢复原始 type + const newInstance = { ...list[oldIndex], type: list[newIndex].type, id: list[newIndex].id } + const oldInstance = { ...list[newIndex], type: list[oldIndex].type, id: list[oldIndex].id } + list[newIndex] = newInstance + list[oldIndex] = oldInstance set(props.nodeModel.properties.node_data, 'branch', list) }