Commit Graph

767 Commits

Author SHA1 Message Date
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
zhangzhanwei f1766f921b fix: Application read permission
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-10 11:38:22 +08:00
shaohuzhang1 ebf54aa12f
fix: Application workflow, after the loop ends, there is a recall node that cannot have a conversation (#4319) 2025-11-05 19:53:01 +08:00
shaohuzhang1 a8d0729e65
perf: Memory optimization (#4318) 2025-11-05 19:05:26 +08:00
shaohuzhang1 fcd258d05c
fix: The maximum limit for application dialogue has been modified to 10000000 times (#4302) 2025-11-03 10:20:20 +08:00
shaohuzhang1 a0d3031b4f
fix: Unable to export dialogue log data due to error (#4298) 2025-10-31 14:00:06 +08:00
CaptainB d0cd6d657a refactor: replace get_embedding_model_default_params with get_model_default_params 2025-10-30 17:12:30 +08:00
CaptainB 1b08643b98 fix: enhance embedding model retrieval with default parameters 2025-10-30 17:05:23 +08:00
wxg0103 2de6bd2018 chore: update file hashes for community 2025-10-30 16:24:21 +08:00
wxg0103 ab434b0a9e fix: add retry mechanism for file uploads and response handling in image.py 2025-10-30 15:34:41 +08:00
zhangzhanwei c86306a67e fix: Common user folder permission
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-10-29 18:32:09 +08:00
shaohuzhang1 2298bf6992
fix: After enabling identity authentication in the application, the knowledge base retrieves the reference document list variable, but there is no content retrieved when asking questions on the application dialogue page (#4286) 2025-10-29 15:53:37 +08:00
zhangzhanwei 2cf1ad7ea4 fix: In the variable aggregation strategy that returns the first non-null value of each group, empty strings, empty lists, and empty objects are not treated as null values 2025-10-29 15:34:34 +08:00
CaptainB a4b7b8dbbb fix: improve error logging in tools.py to include exception info 2025-10-29 15:08:57 +08:00
shaohuzhang1 28001613f8
fix: When the workflow does not respond, there is an error in the historical chat record data (#4282) 2025-10-29 13:43:02 +08:00
shaohuzhang1 2151c51f78
fix: Variable assignment data type converted (#4279)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-10-28 18:32:11 +08:00
wxg0103 82224271e8 fix: update video handling to return URLs instead of base64 encoding 2025-10-28 18:21:08 +08:00
zhangzhanwei 79b47bb1b3 feat: Node execute 2025-10-28 18:09:52 +08:00
wxg0103 02311687c8 fix: update video format handling in base_video_understand_node.py 2025-10-28 17:55:54 +08:00
shaohuzhang1 b679b17f56
fix: When extracting parameters, input parameters that are not strings result in the node being unable to execute (#4276) 2025-10-28 15:18:27 +08:00