Commit Graph

329 Commits

Author SHA1 Message Date
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 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
CaptainB a4b7b8dbbb fix: improve error logging in tools.py to include exception info 2025-10-29 15:08:57 +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
wxg0103 267bdae924 feat: enhance video processing by adding video model parameter and implement file upload to OSS 2025-10-27 16:43:27 +08:00
zhangzhanwei 2fc4a393ad feat: Group field dialog 2025-10-27 13:47:31 +08:00
shaohuzhang1 2dee3532ff
feat: Variable assignment nodes support ending nodes (#4247) 2025-10-24 11:59:08 +08:00
zhangzhanwei a66e636aa4 feat: Variable aggregation node 2025-10-24 11:49:31 +08:00
shaohuzhang1 586c3536ca
feat: AI dialogue nodes support historical chat history parameters (#4245) 2025-10-24 11:35:27 +08:00
CaptainB 609667d9d3 chore: optimize knowledge ID retrieval in base_search_knowledge_node
--bug=1062936 --user=刘瑞斌 【应用】应用访问限制开启登录认证,登录后对话,知识库引用文档标签检索节点的输出参数报错 https://www.tapd.cn/62980211/s/1789493
2025-10-24 10:38:00 +08:00
CaptainB 4cda73ba57 refactor: optimize document matching logic for tag conditions 2025-10-23 17:43:28 +08:00
shaohuzhang1 7b3c1c7823
fix: The parameter extraction node does not display input parameters in the execution details (#4239) 2025-10-22 18:24:55 +08:00
shaohuzhang1 c5dfbde07c
fix: Error parameter not popped up prompt during variable splitting and parameter extraction node verification (#4238) 2025-10-22 17:57:16 +08:00
shaohuzhang1 9c6bf019c8
fix: Variable splitting and parameter extraction result in data loss when there is a form collection node (#4236) 2025-10-22 17:10:27 +08:00
CaptainB 219fe97c87 feat: Add document_id_list parameter to query methods in vector classes 2025-10-22 10:04:37 +08:00
CaptainB f6c72b44c2 refactor: simplify return statement in get_reference_content method
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-10-21 11:59:07 +08:00
shaohuzhang1 6f1c83d287
feat: The judge supports `startsWith` and `endsWith` (#4217) 2025-10-20 10:48:03 +08:00
shaohuzhang1 c0c15d8983
fix: When there is a form node in the loop node, the loop data is lost (#4214)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-10-17 18:13:13 +08:00
shaohuzhang1 505947ded2
fix: Cannot use form collection in loop (#4210) 2025-10-17 15:44:36 +08:00
shaohuzhang1 c25a950650
feat: Support parameter extraction nodes (#4208) 2025-10-17 15:18:33 +08:00
CaptainB 947152ed33 feat: enhance search functionality with dynamic scope selection and improved UI 2025-10-17 11:43:56 +08:00
CaptainB 79fbc52741 feat: add search document node functionality and related configurations 2025-10-17 10:27:31 +08:00
wxg0103 5fdb6dc34b feat: add video message handling and improve video context processing 2025-10-16 15:14:41 +08:00
shaohuzhang1 56d32c1b71
feat: Add additional fields to form nodes (#4195) 2025-10-15 11:34:30 +08:00
wxg0103 622780e77d feat: add video understanding node and related components 2025-10-14 17:38:05 +08:00
shaohuzhang1 112ca7976a
feat: Support variable splitting nodes (#4181) 2025-10-14 11:05:42 +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
shaohuzhang1 37e506fc98
fix: The discriminator is empty and the judgment is incorrect (#4166) 2025-10-10 11:07:08 +08:00
shaohuzhang1 88023f34ba
fix: Infinite cycle, maximum number of cycles failed and page scaling (#4121) 2025-09-26 14:11:10 +08:00