Commit Graph

296 Commits

Author SHA1 Message Date
zhangzhanwei 9347696676 fix: Filter special character 2025-12-11 16:34:39 +08:00
CaptainB 638f90e69f chore: limit paragraph list to first 5 segments in get_details method 2025-12-11 16:26:48 +08:00
CaptainB ac7bad5262 chore: enhance field value check for query conditions 2025-12-11 15:42:38 +08:00
shaohuzhang1 2b05ca65cf fix: When the execution fails, the execution details still show as successful in the [Knowledge Base Workflow] (#4494) 2025-12-11 13:01:02 +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
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 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
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 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
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
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
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
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