Commit Graph

5702 Commits

Author SHA1 Message Date
wangdan-fit2cloud 4b417edbbf perf: Knowledge base workflow document import
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-12-01 18:28:54 +08:00
shaohuzhang1 f29a8c3701
fix: The knowledge base workflow data source can only be the starting node (#4409) 2025-12-01 18:19:32 +08:00
wxg0103 7e9c440869 feat: add upload method label translations to workflow settings 2025-12-01 17:47:58 +08:00
shaohuzhang1 7e1c2c2166
fix: Unable to parse expression (#4408) 2025-12-01 17:25:46 +08:00
wxg0103 0f6cd8afc3 fix: update file upload limit handling to use dictionary access 2025-12-01 16:26:36 +08:00
wxg0103 a9692ee681 feat: add langchain-aws dependency for enhanced functionality 2025-12-01 16:01:43 +08:00
wxg0103 4c70a5cc93 feat: add langchain-aws dependency for enhanced functionality 2025-12-01 15:54:28 +08:00
CaptainB ad869bc9c6 feat: remove unique constraint on knowledge workflow version 2025-12-01 15:52:29 +08:00
CaptainB 117212a580 chore: update typos_check.yml to exclude loopEdge.ts from checks 2025-12-01 15:50:12 +08:00
wangdan-fit2cloud c9656e8804 fix: Fix table rendering errors 2025-12-01 15:28:19 +08:00
shaohuzhang1 cbbdef0462
feat: Knowledge base workflow release, version management function (#4405)
* feat: Knowledge base workflow release, version management function

* feat: Knowledge base workflow release, version management function
2025-12-01 15:04:25 +08:00
liqiang-fit2cloud e3c36b3476 refactor: catch more exception details. 2025-12-01 14:52:05 +08:00
CaptainB c2658fa735 feat: update file name for existing records based on sha256_hash and knowledge/document IDs 2025-12-01 14:36:36 +08:00
CaptainB 056f79a8b8 feat: update shared knowledge workflow API and adjust data source handling 2025-12-01 13:30:05 +08:00
CaptainB f08a9c53d4 feat: add knowledge workflow management endpoints and related functionality 2025-12-01 13:19:35 +08:00
wangdan-fit2cloud 769790a768 fix: Fix table rendering errors 2025-12-01 12:43:42 +08:00
CaptainB 9e3b16c3ce feat: add success message for document replacement in multiple languages 2025-12-01 12:19:36 +08:00
wxg0103 8a147dddb6 fix: set default table height to 300 for improved layout 2025-12-01 11:39:31 +08:00
liqiang-fit2cloud 5b393e92d6 fix: remove useless code caused by merge. 2025-12-01 11:25:25 +08:00
CaptainB e9d4ac38ac feat: enhance knowledge serialization to include workflow details
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2025-11-28 19:17:36 +08:00
wangdan-fit2cloud e0bbf06357 fix: Fix document routing issues 2025-11-28 18:26:03 +08:00
wxg0103 caafea2cc0 feat: add Docker AI provider to the model provider list 2025-11-28 17:44:46 +08:00
wxg0103 becfd1f4a9 feat: add Docker AI icon SVG asset 2025-11-28 17:41:00 +08:00
zhangzhanwei 35fe162032 feat: Knowledge write node chunk embeding 2025-11-28 17:36:00 +08:00
shaohuzhang1 8a1284d075
fix: build type-check error (#4400) 2025-11-28 16:58:43 +08:00
wxg0103 590a7a38f3 feat: implement Docker AI model provider with various model credentials and parameters 2025-11-28 16:49:08 +08:00
CaptainB 62cbb7a8dc feat: add workflow knowledge card to KnowledgeSetting component 2025-11-28 16:42:47 +08:00
CaptainB 6ca265dae8 feat: add chunk_size parameter to document splitting and chunk handling 2025-11-28 16:05:12 +08:00
CaptainB 1a1722c4a6 refactor: enhance chunk size input with tooltip for better user guidance 2025-11-28 15:48:23 +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 cf59cca8bd fix: change dir permission. 2025-11-28 14:14:31 +08:00
liqiang-fit2cloud 594b7b27fa Merge remote-tracking branch 'origin/v2' into v2 2025-11-28 11:22:48 +08:00
liqiang-fit2cloud 64561a7b67 fix: forbid sandbox to replace process, only creating is permitted 2025-11-28 11:22:38 +08:00
wxg0103 47939ac6c0 fix: correct typo in application_id parameter for get_url endpoint 2025-11-28 10:17:54 +08:00
wxg0103 15a44158be feat: update get_url endpoint to include application ID in the URL 2025-11-28 10:16:13 +08:00
liqiang-fit2cloud 94b2659019 refactor: use /tmp instead of /opt/maxkb-app/sandbox/tmp if SANDBOX_TMP_DIR_ENABLED is enabled. 2025-11-28 10:13:48 +08:00
liqiang-fit2cloud ca9fa9d10d refactor: change TMPDIR env. 2025-11-28 09:58:35 +08:00
liqiang-fit2cloud 9f18d3ce07 refactor: change heartbeat file dir. 2025-11-28 09:35:52 +08:00
liqiang-fit2cloud f67aef11fd fix: os.execvp() can create subprocess.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-27 20:11:38 +08:00
zhangzhanwei d9ecf8cc9c fix: Generate prompt 2025-11-27 18:22:46 +08:00
wxg0103 a05335a0b3 feat: update getFile function to include application ID for URL retrieval 2025-11-27 17:44:36 +08:00
wxg0103 8c3caa27dd feat: refactor URL content retrieval to use a dedicated function with application checks 2025-11-27 17:37:00 +08:00
liqiang-fit2cloud 94e60b073f refactor: optimize timeout exception msg. 2025-11-27 16:56:20 +08:00
liqiang-fit2cloud 3bfe400d70 build: fix gcc error in arm64. 2025-11-27 16:08:58 +08:00
liqiang-fit2cloud 916a8fe67c deps: upgrade redis-server. 2025-11-27 15:53:49 +08:00
liqiang-fit2cloud 2d0e0b45c4 deps: upgrade redis-server. 2025-11-27 15:46:20 +08:00
liqiang-fit2cloud 715adc13c5 deps: upgrade redis-server. 2025-11-27 15:41:51 +08:00
liqiang-fit2cloud 10b466ba91 refactor: change lib dir.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-27 11:21:55 +08:00
liqiang-fit2cloud af9bf0d99c refactor: change lib dir. 2025-11-27 10:52:42 +08:00
liqiang-fit2cloud c74cfebebf Revert "deps: upgrade redis-server."
This reverts commit d3e7d81c33.
2025-11-27 10:51:35 +08:00