Commit Graph

16 Commits

Author SHA1 Message Date
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
liqiang-fit2cloud f8ada9a110 refactor: remove init parameter from class ToolExecutor. 2025-12-04 15:40:50 +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 c0715c5b17 chore: integrate prompt generation in value conversion
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
--bug=1056308 --user=刘瑞斌 【应用】函数的自定义类型参数不支持通过变量名引用变量 https://www.tapd.cn/62980211/s/1783859
2025-10-11 18:27:49 +08:00
CaptainB 82701e7513 fix: include default values in parameter initialization
--bug=1060961 --user=刘瑞斌 【工具优化】在“启动参数”设置中保存默认值后,应用内调用时可直接使用预设的默认参数,无需在工具中每次单独设置,简化操作流程。 https://www.tapd.cn/62980211/s/1764217
2025-08-29 14:51:36 +08:00
shaohuzhang1 9a626efe35
fix: When the reference variable in the workflow is empty, take the value of None (#3814) 2025-08-05 15:07:09 +08:00
CaptainB bf1062ff04 fix: improve error handling in valid_reference_value function 2025-07-11 18:00:47 +08:00
CaptainB 7ec7984b9f fix: handle JSON parsing for string values in reference fields 2025-07-11 17:44:20 +08:00
CaptainB 12feaac958 feat: add check for inactive tool libraries
--bug=1058425 --user=刘瑞斌 【工具】应用中引用的工具被禁用后,对话时依然可以调用工具 https://www.tapd.cn/62980211/s/1728140
2025-07-10 17:01:17 +08:00
CaptainB 4da75ac3e0 refactor: replace FunctionExecutor with ToolExecutor in base_tool_lib_node and base_tool_node 2025-07-09 12:48:19 +08:00
shaohuzhang1 6866ff03b3
fix: Tools cannot be called in the workflow (#3516) 2025-07-08 20:14:33 +08:00
shaohuzhang1 276378a9ae
feat: application workflow (#3415) 2025-06-27 17:35:01 +08:00