Commit Graph

786 Commits

Author SHA1 Message Date
shaohuzhang1 6dc14ae677
fix: When the execution fails, the execution details still show as successful in the [Knowledge Base Workflow] (#4494) 2025-12-11 12:43:16 +08:00
shaohuzhang1 4e58d079bf
fix: Workflow execution details execution status determination (#4483) 2025-12-10 12:25:30 +08:00
shaohuzhang1 9fc1809ea3
fix: In the execution details, the execution time of the loop node is displayed incorrectly (#4479) 2025-12-10 11:01:25 +08:00
shaohuzhang1 666c379be9
fix: [Application] When an application with form collection is embedded into the parent application, the conversation will report an error (#4472) 2025-12-09 17:08:57 +08:00
CaptainB a291d6db3f fix: invert condition check for field_value in search document node 2025-12-09 16:56:55 +08:00
shaohuzhang1 bd473498a6
fix: Application The parent application embeds the child application and sets the variable by passing the parameter "akser" through the interface. The sub application is not displayed in the conversation log (#4471)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-09 16:51:33 +08:00
CaptainB c735aaa427 fix: skip processing when field value is empty in search document conditions 2025-12-09 12:11:26 +08:00
zhangzhanwei 6e87ceffce feat: Support tag in knowledge_workflow 2025-12-09 12:05:00 +08:00
CaptainB 8e7d8d6615 feat: decode base64 file chunks before uploading 2025-12-09 10:38:26 +08:00
shaohuzhang1 eb41ddf151
fix: Application The reference segmentation of the knowledge base retrieval node in the loop body is displayed as 0 (#4466) 2025-12-08 18:19:09 +08:00
shaohuzhang1 ff26835c93
fix: Error in total time consumption statistics for executing records (#4459) 2025-12-08 15:48:48 +08:00
shaohuzhang1 5eea07dc8b
fix: update file handling functions (#4456) 2025-12-08 15:24:11 +08:00
liqiang-fit2cloud 3c8601639c refactor: remove duplicated function. 2025-12-08 15:04:16 +08:00
shaohuzhang1 8a9de5964d
fix: update file handling functions (#4455) 2025-12-08 14:26:44 +08:00
CaptainB b639061d3c fix: update file handling functions and improve documentation
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-12-05 22:07:23 +08:00
CaptainB 32c18ab5ae feat: add file upload functionality and enhance data source handling 2025-12-05 21:38:54 +08:00
CaptainB a5a27445d6 fix: update problem_list population to use append for titles and document names
--bug=1064074 --user=刘瑞斌 【工作流知识库】高级分段时,文档名称、分段标题作为问题异常,被切割成单字问题了 https://www.tapd.cn/62980211/s/1806119
2025-12-05 10:56:37 +08:00
CaptainB 44326c3a7c fix: update item name assignment in base_document_split_node to handle default case 2025-12-05 10:25:35 +08:00
CaptainB 6503053cd1 fix: handle file name for uploaded files starting with http
--bug=1064094 --user=刘瑞斌 【工作流知识库】本地文件导入的文档,文档名称显示错误,都显示成file.txt https://www.tapd.cn/62980211/s/1806074
2025-12-05 10:17:30 +08:00
CaptainB 2ce4f9af92 feat: enhance Markdown parsing by splitting content into sheets and adding sheet titles 2025-12-04 19:10:26 +08:00
wxg0103 f2266c8d2a fix: handle None case for video_list in base_video_understand_node 2025-12-04 16:44:21 +08:00
liqiang-fit2cloud f8ada9a110 refactor: remove init parameter from class ToolExecutor. 2025-12-04 15:40:50 +08:00
zhangzhanwei 0db2622663 fix: Knowledge workflow permission 2025-12-04 13:47:06 +08:00
CaptainB 447393a544 fix: ensure document ID is converted to string in document list
--bug=1064030 --user=刘瑞斌 【知识库】工作流知识库的文档内容提取节点输出的文档列表,id字段是个UUID对象,后续节点引用后无法解析,需要转成字符串输出 https://www.tapd.cn/62980211/s/1805648
2025-12-04 10:57:34 +08:00
CaptainB 9594b4fef6 fix: improve problem list population in custom split strategy
--bug=1064029 --user=刘瑞斌 【知识库】工作流知识库使用高级分段时,开启文档标题或名称关联问题开关,分段失败 https://www.tapd.cn/62980211/s/1805605
2025-12-04 10:03:27 +08:00
wxg0103 517a4de54e feat: add SQL queries for token usage and top questions analytics 2025-12-04 09:14:58 +08:00
wxg0103 c0f0eb43e3 feat: update SQL queries to support edition-based logic in application stats 2025-12-03 18:49:21 +08:00
wxg0103 4591d4d322 fix: optimize SQL queries for token usage and top questions with improved username handling 2025-12-03 15:37:02 +08:00
zhangzhanwei b2d2063843 feat: Locales 2025-12-03 14:28:16 +08:00
zhangzhanwei fb2c1b05cf feat: Locales 2025-12-03 11:30:38 +08:00
CaptainB 54e4423d84 feat: add document_list to context in base_document_split_node 2025-12-02 18:28:20 +08:00
CaptainB 275e59501c feat: add additional context variables to document split node 2025-12-02 18:24:41 +08:00
CaptainB 582fb99b9e feat: add Markdown parsing support for QA handling 2025-12-02 17:39:28 +08:00
CaptainB 3a83472d77 feat: add source_file_id to document split and knowledge write nodes 2025-12-02 15:19:31 +08:00
CaptainB a8c4e48e31 feat: enhance form layout and add dynamic selection for chunk size, patterns, and limits 2025-12-02 10:13:25 +08:00
zhangzhanwei 35fe162032 feat: Knowledge write node chunk embeding 2025-11-28 17:36:00 +08:00
CaptainB 6ca265dae8 feat: add chunk_size parameter to document splitting and chunk handling 2025-11-28 16:05:12 +08:00
shaohuzhang1 bfae088df6
feat: knowledge workflow (#4399)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
* feat: init knowledge workflow

* feat: add knowledge workflow and version models, serializers, and API views

* feat: knowledge workflow

* feat: knowledge workflow

* feat: add KnowledgeWorkflowModelSerializer and Operate class for workflow management

* fix: route

* feat: knowledge workflow

* feat: Knowledge workflow permission

* feat: knowledge workflow

* feat: knowledge workflow

* feat: knowledge workflow

* feat: knowledge workflow

* feat: Data source web node

* fix: Back route

* feat: knowledge workflow

* feat: knowledge workflow

* feat: Knowledge write node

* feat: add Data Source tool functionality and localization

* feat: add Data Source tool functionality and localization

* feat: knowledge workflow

* feat: knowledge workflow

* fix: simplify export tool permission check in ToolListContainer.vue

* fix: simplify export condition in ToolResourceIndex.vue

* fix: simplify condition for copying tool in ToolListContainer

* feat: knowledge workflow

* fix: Upload local files and add output fields

* feat: Knowledge write

* feat: add Document Split Node functionality and localization

* feat: add Document Split Node functionality and localization

* feat: Knowledge write

* feat: enhance Document Split Node with result processing and problem list generation

* fix: Allow problem be blank

* feat: enhance Document Split Node with result processing and problem list generation

* feat: tool datasource

* fix: Optimization of knowledge base workflow execution logic

* refactor: streamline image handling by updating application and knowledge ID management

* refactor: streamline image handling by updating application and knowledge ID management

* feat: extend support modes in variable aggregation node to include knowledge workflows

* feat: Chunks stored

* refactor: simplify file handling in document extraction by removing unnecessary byte conversion and enhancing file saving logic

* refactor: update file ID assignment in document extraction to use provided metadata

* feat: Workflow menu that distinguishes between applications and knowledge bases

* refactor: update file ID assignment in document extraction to use provided metadata

* fix: Add workspace ID as workflow execution parameter

* feat: add code template for Data Source tool form functionality

* refactor: remove unused sys import and improve module handling

* feat: Execution details support loading status

* refactor: update tool type handling and improve category merging logic

* feat: Alter fork depth

* fix: ensure filterList is properly initialized and updated in getList function

* refactor: simplify ToolStoreDialog by removing unused toolType logic

* perf: Optimize the style

* style: adjust div width for improved layout in Tree component

* refactor: improve polling mechanism for knowledge workflow action

* fix: Get workspace_id from workflow params

* fix: filter out 'file_bytes' from result in get_details method

* feat: add recursive filtering for file_bytes in context data

* fix: append results to paragraph_list instead of replacing it

* perf: Optimize translation files

* fix: include document name in bytes_to_uploaded_file call for better file handling

* refactor: optimize buffer retrieval in document processing

* refactor: remove redundant parameter from bytes_to_uploaded_file call

* fix: Page style optimization

* feat: add slider for setting limit in document rules form

* feat: add workflow knowledge management endpoints and related functionality

* fix: swap file size and file count limits in form inputs

* refactor: update tool_config args to use list format for improved readability

* feat: Node supports knowledge base workflow

* feat: Node supports knowledge base workflow

* fix: Basic node data cannot be obtained in the workflow

* style: Knowledge base workflow debugging page style adjustment

* fix: Loop nodes cannot be used in the knowledge base workflow

* fix: Knowledge base workflow variable assignment node

* feat: add chunk size slider to form for custom split strategy

* fix: Workflow style optimization

---------

Co-authored-by: CaptainB <bin@fit2cloud.com>
Co-authored-by: zhangzhanwei <zhanwei.zhang@fit2cloud.com>
Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
2025-11-28 15:38:20 +08:00
liqiang-fit2cloud 8c0836627a refactor: remove print.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-19 17:16:22 +08:00
wxg0103 27dd90c7df feat: enhance token management and normalize content handling in chat model 2025-11-19 15:14:54 +08:00
wxg0103 9d4b2bf010 feat: enhance image and video handling by supporting URLs and file IDs
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-18 18:27:11 +08:00
zhangzhanwei e939c6e85a fix: Reason content 2025-11-18 15:29:46 +08:00
liqiang-fit2cloud 8bfce62ad8 refactor: avoid using temp files in sandbox. 2025-11-18 14:27:48 +08:00
zhangzhanwei 7ec4e7cefa fix: Mcp error raise
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-17 15:37:30 +08:00
shaohuzhang1 23147e5498
perf: Memory optimization (#4362) 2025-11-14 22:08:02 +08:00
zhangzhanwei f3350980c7 perf: Memory optimization
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-14 18:42:53 +08:00
CaptainB 2afc0b976d feat: enhance tool message generation with input and output formatting
--story=1020020 --user=刘瑞斌 【个人】mcp 调用可以展示出 request 和 response ,有时候 查询结果不对或不符合预期,可能是 request 入参不对 https://www.tapd.cn/62980211/s/1798256
2025-11-13 16:21:35 +08:00
wxg0103 a1d8117839 fix: update top questions statistics terminology from "top10" to "top" 2025-11-13 15:01:58 +08:00
wxg0103 0555632095 feat: add token usage and top questions statistics endpoints 2025-11-13 14:56:56 +08:00
shaohuzhang1 523164f319
fix: After adding form collection at the loop node, the variables from subsequent nodes in the loop become empty (#4351) 2025-11-12 10:43:52 +08:00