Commit Graph

30 Commits

Author SHA1 Message Date
shaohuzhang1 fd400f2be1 fix: The image uploaded from the workflow knowledge base zip file cannot be parsed (#4503) 2025-12-12 11:59:10 +08:00
CaptainB 32c18ab5ae feat: add file upload functionality and enhance data source handling 2025-12-05 21:38:54 +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
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
CaptainB 9534247713 fix: extract content from image meta before uploading file 2025-07-10 13:57:28 +08:00
CaptainB ed5cc3a0fa fix: update file handling in base_document_extract_node.py to use image metadata
--bug=1058385 --user=刘瑞斌 【应用】文档内容提取节点提取文档失败 https://www.tapd.cn/62980211/s/1727581
2025-07-10 13:04:48 +08:00
shaohuzhang1 e7a30903ba
feat: application upload file (#3487)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-04 19:52:45 +08:00
CaptainB 1639d4b31c feat: enhance file upload with source_id and source_type metadata 2025-07-03 11:58:43 +08:00
CaptainB 758f424000 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:54:36 +08:00
wxg0103 93833849c1 refactor: file to oss
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 11:42:31 +08:00
shaohuzhang1 bc03deabfc
feat: Resources authorization (#3183) 2025-06-04 13:05:39 +08:00
shaohuzhang1 43654bddaf
feat: application operate api (#3176)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-05-30 20:02:39 +08:00
shaohuzhang1 896fb5fa52
feat: application flow (#3152) 2025-05-27 18:24:28 +08:00
CaptainB c78a6babb6 ci: v2 2025-04-11 15:47:59 +08:00
shaohuzhang1 7d47f97354
fix: Sending error when extracting multiple forms and documents in the workflow (#2434) 2025-02-27 19:34:36 +08:00
CaptainB 6dca9b41a0 refactor: override document extract node save_content
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-01-23 19:18:41 +08:00
wxg0103 cc078ec353 refactor: optimize the display of SST nodes 2024-12-19 17:35:42 +08:00
CaptainB 80aeecfe01 refactor: 执行详情里展示文档提取日志时多个文件单独显示,最多500字符 2024-11-28 16:30:44 +08:00
CaptainB f638abdea2 fix: 修复文档提取doc图片没有保存和展示的问题 2024-11-28 15:07:21 +08:00
CaptainB c3d92e8dc8 fix: 修复文档提取参数选择了开始问题报会话不存在的问题
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
--bug=1049648 --user=刘瑞斌 【应用编排】文档内容提取节点,节点设置选择 “开始-用户问题” 对话报错 https://www.tapd.cn/57709429/s/1619714
2024-11-28 11:13:14 +08:00
CaptainB 59f5c8ac76 fix: 修复文档提取报错没有显示的问题 2024-11-27 12:20:16 +08:00
CaptainB f1083d973e refactor: 文档提取details保存content长度限制为500 2024-11-26 16:24:14 +08:00
CaptainB ce4e23020a refactor: 执行详情里不保存文档content 2024-11-25 14:51:33 +08:00
CaptainB ce7b1d941b refactor: 多文档分割线展示为多个‘-’ 2024-11-25 11:43:34 +08:00
CaptainB 832d2a2e7f refactor: 处理历史会话中图片的问题
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-11-14 21:44:31 +08:00
CaptainB 359dc9f3ee fix: 处理多文档时文件内容提取不正确的问题 2024-11-14 14:51:20 +08:00
CaptainB b57a619bdb feat: 高级编排支持文件上传(WIP) 2024-11-14 13:36:16 +08:00
CaptainB 02e9774c46 feat: 高级编排支持文件上传(WIP) 2024-11-13 18:56:43 +08:00
CaptainB 88b6eebf35 feat: 高级编排支持文件上传(WIP) 2024-11-13 18:01:59 +08:00
CaptainB 8a8305e75b feat: 高级编排支持文件上传(WIP) 2024-11-12 13:29:40 +08:00