Commit Graph

99 Commits

Author SHA1 Message Date
shaohuzhang1 b39ecf691b
feat: Separate dialogue authentication processor and system authentication processor (#4552) 2025-12-23 18:50:48 +08:00
liqiang-fit2cloud d72c6607a0 refactor: add hmac_signed_serializer for celery. 2025-12-18 10:34:57 +08:00
liqiang-fit2cloud 695d59d1d5 refactor: trim memory. 2025-12-05 18:12:47 +08:00
shaohuzhang1 7e1c2c2166
fix: Unable to parse expression (#4408) 2025-12-01 17:25:46 +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 42d91e232b refactor: remove scheduler service and related code 2025-11-07 21:02:27 +08:00
shaohuzhang1 ccc8c06c51
refactor: add cl100k_base.tiktoken tokenizer. (#4331)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-07 16:09:26 +08:00
shaohuzhang1 6df1e19eaa
fix: dependency package (#4328) 2025-11-06 20:17:21 +08:00
shaohuzhang1 a8d0729e65
perf: Memory optimization (#4318) 2025-11-05 19:05:26 +08:00
CaptainB a30d0d07d1 revert: add Gunicorn preload option and initialize shared resources
This reverts commit 1af14bdb27.
2025-11-05 16:39:54 +08:00
CaptainB 1af14bdb27 feat: add Gunicorn preload option and initialize shared resources 2025-11-05 12:38:00 +08:00
CaptainB ddc60dd1c3 revert: add subprocess handling for local model and conditional post handler execution
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
This reverts commit 8e3550eb83.
2025-11-04 19:25:56 +08:00
CaptainB 8e3550eb83 feat: add subprocess handling for local model and conditional post handler execution 2025-11-04 14:19:06 +08:00
liqiang-fit2cloud 1fd6d13242 perf: revert preload. 2025-11-04 14:00:32 +08:00
liqiang-fit2cloud c3ab9f458d perf: revert preload. 2025-11-04 13:56:20 +08:00
liqiang-fit2cloud 701c962c2e perf: revert preload. 2025-11-04 13:35:53 +08:00
liqiang-fit2cloud 65bcb28aa8 perf: revert preload. 2025-11-04 13:33:22 +08:00
liqiang-fit2cloud 28c2f517fc perf: revert preload. 2025-11-04 13:02:12 +08:00
liqiang-fit2cloud ab170c843e perf: revert preload. 2025-11-04 11:20:29 +08:00
liqiang-fit2cloud 792d32d7e1 perf: revert preload. 2025-11-04 11:03:56 +08:00
liqiang-fit2cloud dc9c4c9e01 perf: revert preload. 2025-11-04 10:40:55 +08:00
liqiang-fit2cloud 8c788bf785 perf: revert preload. 2025-11-04 09:31:27 +08:00
shaohuzhang1 173994e65a
feat: Add SECRET_KEY environment variable settings (#4235) 2025-10-22 16:51:02 +08:00
shaohuzhang1 4269eeb2c9
docs: OpenAPI request URL (#4070)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-09-22 11:51:59 +08:00
CaptainB 81c827061b feat: add configuration for maximum number of uploaded files
--bug=1061639 --user=刘瑞斌 【知识库】知识库的最多上传文件数设置不生效 https://www.tapd.cn/62980211/s/1771564
2025-09-11 14:23:36 +08:00
liqiang-fit2cloud 8183858adf refactor: change dir permission. 2025-08-12 10:44:51 +08:00
liqiang-fit2cloud 154fd5e52b refactor: change dir permission. 2025-08-08 18:39:43 +08:00
liqiang-fit2cloud ce52ee3ca7 refactor: change dir permission. 2025-08-08 18:02:10 +08:00
shaohuzhang1 2281202921
fix: The dialogue interface cannot be opened (#3774) 2025-07-30 11:15:40 +08:00
liqiang-fit2cloud 0eb1cf701e refactor: enable pre_ping explicitly. 2025-07-25 17:19:39 +08:00
shaohuzhang1 9a706c7ac5
fix: Dialogue prefix (#3746) 2025-07-25 16:38:15 +08:00
liqiang-fit2cloud fc4a7df669 refactor: recycle db connection to avoid "the connection is closed" exception.
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-23 16:40:58 +08:00
liqiang-fit2cloud 063920ce59 refactor: recycle db connection to avoid "the connection is closed" exception. 2025-07-23 16:28:38 +08:00
CaptainB 3d08263f79 fix: change logging level for django.server to ERROR for improved error handling 2025-07-23 14:22:57 +08:00
CaptainB 47dd177b7e fix: update CELERY_timezone to use CONFIG.get_time_zone() for improved timezone handling
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-21 18:43:43 +08:00
CaptainB 1df333bffc refactor: reorganize post handler and introduce post scheduler handler 2025-07-21 15:52:54 +08:00
CaptainB a25d7b9aa0 chore: update Redis configuration to use unified REDIS_DB setting 2025-07-21 10:41:23 +08:00
CaptainB 6f2db6f488 feat: Implement daily log rotation with DailyTimedRotatingFileHandler
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-20 14:16:13 +08:00
CaptainB 9e80a652c4 refactor: replace try_lock and un_lock with RedisLock for improved locking mechanism 2025-07-17 15:34:11 +08:00
shaohuzhang1 902a97c0f8
fix: Unable to display when refreshing the page (#3615) 2025-07-15 19:24:09 +08:00
shaohuzhang1 c2f52d0759
fix: Access can only be granted after OpenAPI authentication (#3599) 2025-07-15 13:49:33 +08:00
shaohuzhang1 07b19fe90e
fix: Chat ui prefix (#3579) 2025-07-14 11:07:53 +08:00
shaohuzhang1 34842e4ae4
feat: application chat api (#3574) 2025-07-12 17:54:37 +08:00
wxg0103 3d36c3fa2d feat: add DocHeadersMiddleware to middleware list for document access handling 2025-07-12 11:44:05 +08:00
shaohuzhang1 210e09681f
feat: Apikey call supports cross domain and application whitelist (#3556) 2025-07-11 11:15:21 +08:00
shaohuzhang1 c370e99304
feat: Support openai dialogue (#3551) 2025-07-10 19:16:47 +08:00
CaptainB 25d395d74a feat: switch Celery broker to Redis with Sentinel support 2025-07-07 11:24:37 +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
shaohuzhang1 0b27836ccb
fix: Chat prefix (#3463) 2025-07-03 14:34:41 +08:00
shaohuzhang1 66699ef497
fix: Application embed (#3462) 2025-07-03 12:26:20 +08:00