Commit Graph

65 Commits

Author SHA1 Message Date
CaptainB 121614fb81 chore: add model_params_setting to document, knowledge, and paragraph processing
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
--story=1018694 --user=刘瑞斌 【菲尼克斯】知识库生成问题选择模型,希望可以设置模型参数 https://www.tapd.cn/62980211/s/1768601
2025-09-05 17:48:40 +08:00
CaptainB 689391384e chore: update export_zip to include knowledge name in filename
--bug=1061385 --user=刘瑞斌 【知识库】导出的知识库名字都为archive https://www.tapd.cn/62980211/s/1768251
2025-09-05 11:37:09 +08:00
CaptainB d635cc24b4 fix: add validation checks in page and list methods of KnowledgeFolder
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-08-04 11:10:30 +08:00
CaptainB 39ac62745e feat: enhance SystemKnowledgeSerializer and related components to support workspace and folder IDs
--bug=1059926 --user=刘瑞斌 【资源管理】知识库文档迁移时,可选择的目标知识库展示了系统所有的知识库 https://www.tapd.cn/62980211/s/1747947
2025-08-04 11:08:44 +08:00
CaptainB 6ce1eb7116 feat: add create and drop knowledge index functions for improved database management
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-23 21:42:33 +08:00
CaptainB b352e495a1 fix: update knowledge_id reference in problem mapping queries
--bug=1058790 --user=刘瑞斌 【知识库】导出知识库没导出关联问题 https://www.tapd.cn/62980211/s/1731826
2025-07-15 15:20:39 +08:00
CaptainB dc960d1628 fix: correct select_one parameter default value in edit method of KnowledgeSerializer
--bug=1058784 --user=刘瑞斌 【知识库】编辑知识库,保存失败 https://www.tapd.cn/62980211/s/1731590
2025-07-15 14:01:39 +08:00
CaptainB 7ee7a51200 feat: enhance edit method to support select_one parameter in KnowledgeSerializer
--bug=1058726 --user=刘瑞斌 【共享知识库】编辑非本人创建的共享知识库报错 https://www.tapd.cn/62980211/s/1731246
2025-07-15 10:56:59 +08:00
wxg0103 580adc5a88 refactor: enhance document and knowledge deletion logic to remove associated files 2025-07-09 19:09:34 +08:00
CaptainB 8aa2c1437c feat: add workspace validation for knowledge id across serializers 2025-07-08 12:47:53 +08:00
CaptainB c8650030fb refactor: replace WorkspaceUserResourcePermission with UserResourcePermissionSerializer for user authorization 2025-07-07 18:37:47 +08:00
CaptainB a67820bc48 refactor: add deletion of ApplicationKnowledgeMapping entries when knowledge is deleted
--bug=1058030 --user=刘瑞斌 【知识库】知识库已关联应用-删除报错 https://www.tapd.cn/62980211/s/1722902
2025-07-03 18:10:22 +08:00
shaohuzhang1 df49c5ba5c
fix: Automatic authorization for resource creation (#3464) 2025-07-03 14:46:55 +08:00
CaptainB 621cd37385 refactor: add create_user field to knowledge query and update filtering logic 2025-07-02 16:22:51 +08:00
CaptainB ac4bf303f4 refactor: update SQL queries to include embedding_model_id and adjust filters for knowledge_id 2025-07-02 14:28:03 +08:00
CaptainB a34c089b73 refactor: enhance knowledge retrieval logic for workspace management and x-pack EE 2025-07-02 14:28:03 +08:00
CaptainB bdba4bc34c refactor: improve knowledge editing logic to prevent name duplication
--bug=1057801 --user=刘瑞斌 【知识库】不同文件夹下创建相同名称的知识库成功,当切换知识库向量模型时会提示知识库名称重复 https://www.tapd.cn/62980211/s/1721429
2025-07-02 10:38:23 +08:00
CaptainB 9541b27d76 refactor: enhance deletion process by removing associated permissions for knowledge, model, and tool 2025-07-02 10:06:05 +08:00
CaptainB cecd3f90c6 refactor: remove unused logging import and enhance knowledge base query 2025-07-01 16:07:43 +08:00
CaptainB b0b269f3d4 refactor: extend KnowledgeModelSerializer fields to include file size and count limits
--bug=1057593 --user=刘瑞斌 【共享资源】共享知识库设置界面,向量模型为空,不回显 https://www.tapd.cn/62980211/s/1720862
2025-07-01 14:21:10 +08:00
CaptainB ad5c8122d3 refactor: remove unnecessary condition for workspace management in knowledge.py and update SQL query in list_knowledge_user.sql 2025-07-01 11:58:44 +08:00
CaptainB ea5fae09c4 refactor: remove license validation message for community version knowledge bases 2025-07-01 10:44:26 +08:00
CaptainB cc692ffbe1 feat: update permission constants to include ResourcePermission
--bug=1057659 --user=刘瑞斌 【共享资源】企业版-创建共享工具失败 https://www.tapd.cn/62980211/s/1720006
2025-06-30 10:53:58 +08:00
CaptainB c2c1d4eeb9 feat: make folder_id optional in KnowledgeSerializer query
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
--bug=1057489 --user=刘瑞斌 【知识库】-文档迁移功能报错,无法选择文件夹和目标知识库 https://www.tapd.cn/62980211/s/1719276
2025-06-26 20:13:56 +08:00
CaptainB 56fe631ed6 feat: update knowledge export methods to use knowledge_id for filtering documents and paragraphs
--bug=1057505 --user=刘瑞斌 【知识库】导出知识库是空白的 https://www.tapd.cn/62980211/s/1719080
2025-06-26 15:55:37 +08:00
CaptainB a73e0b10f9 refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 17:00:18 +08:00
CaptainB fe8f87834d refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 16:46:50 +08:00
CaptainB 83e9a8ce98 feat: add folder_id support in knowledge and tool modules 2025-06-25 12:17:06 +08:00
CaptainB 8d5c3e6068 feat: refresh cache for permission list on knowledge save 2025-06-24 16:11:39 +08:00
wxg0103 c253e8b696 refactor: remove print 2025-06-24 15:30:42 +08:00
shaohuzhang1 e98ecf4c2f
fix: application knowledge list (#3368) 2025-06-24 15:11:08 +08:00
shaohuzhang1 6dfcc5e54d
fix: application knowledge list (#3367) 2025-06-24 15:01:43 +08:00
shaohuzhang1 af6f88a616
fix: application knowledge list (#3365) 2025-06-24 13:45:36 +08:00
shaohuzhang1 dca48d1388
feat: Chat vote (#3355) 2025-06-23 20:19:32 +08:00
shaohuzhang1 4a722575df
fix: knowledge list (#3349) 2025-06-23 17:08:13 +08:00
shaohuzhang1 b971a2c15f
fix: knowledge list (#3348) 2025-06-23 16:54:48 +08:00
CaptainB 9777c92e34 feat: add automatic permission assignment for knowledge creators 2025-06-20 17:50:49 +08:00
CaptainB 83e9b45e79 feat: handle None case for knowledge_dict in knowledge.py 2025-06-20 14:01:13 +08:00
CaptainB 52ba4d6342 refactor: update model instance retrieval to use workspace_id and enhance document syncing with image linking 2025-06-19 16:20:15 +08:00
CaptainB 6d9068c378 fix: validate folder_id in list method and use request.user.id for user_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-19 13:23:58 +08:00
CaptainB 89023d14fe refactor: update embedding model ID references in knowledge.py and dataset_lark_serializer.py 2025-06-18 18:46:41 +08:00
CaptainB 63d8906639 refactor: update user reference to use nick_name in index.vue and shared_tool.py 2025-06-18 18:44:48 +08:00
CaptainB e6c2e4fb13 feat: enhance knowledge retrieval with JSON metadata support 2025-06-18 16:10:24 +08:00
CaptainB dad309193a fix: add workspace_id to knowledge retrieval 2025-06-12 18:06:28 +08:00
CaptainB e81a7962b8 fix: add scope field to knowledge serializers and update related SQL queries
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-11 20:35:25 +08:00
CaptainB 0695b281d8 fix: enhance knowledge retrieval logic with dynamic SQL selection based on workspace management 2025-06-11 20:06:13 +08:00
CaptainB 7abd9dfb71 refactor: improve code formatting and enhance folder_id handling in knowledge serializers
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 18:54:59 +08:00
CaptainB 16dc78d5a4 feat: implement pagination and deletion for shared knowledge API 2025-06-06 15:45:21 +08:00
CaptainB c0ea174275 feat: implement pagination and deletion for shared knowledge API 2025-06-06 15:42:02 +08:00
CaptainB 643200cc06 feat: add scope field to knowledge creation serializers and update related views 2025-06-06 15:13:17 +08:00