Commit Graph

155 Commits

Author SHA1 Message Date
CaptainB 30fdae34c6 fix: change default value of with_valid parameter in save method to True 2025-11-12 15:10:26 +08:00
shaohuzhang1 8cabf823e8
fix: dependency package (#4325)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2025-11-06 16:46:20 +08:00
CaptainB 5b46e7d730 chore: update document deletion logic to handle paragraph IDs and related mappings
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
--bug=1063248 --user=刘瑞斌 【知识库】删除文档时,分段与问题的关联关系没有清除 https://www.tapd.cn/62980211/s/1793500
2025-11-03 16:38:32 +08:00
CaptainB d0cd6d657a refactor: replace get_embedding_model_default_params with get_model_default_params 2025-10-30 17:12:30 +08:00
CaptainB ed19db07d1 feat: add function to retrieve default parameters for embedding models
--bug=1063177 --user=刘瑞斌 【知识库】-知识库使用的模型更换维度参数值并重新向量化后,命中测试、检索报错 https://www.tapd.cn/62980211/s/1792117
2025-10-30 17:00:38 +08:00
CaptainB 27b74580a4 chore: update document.py to create and associate new source file ID in metadata 2025-10-23 16:41:15 +08:00
CaptainB 096c72513f feat: add handling for missing source files in document processing
--bug=1062915 --user=刘瑞斌 【知识库】快速创建的文档,替换原文档报错,找不到源文件 https://www.tapd.cn/62980211/s/1789099
2025-10-23 11:48:44 +08:00
CaptainB a584378002 chore: update file query to include document_id in filter
--bug=1062912 --user=刘瑞斌 【知识库】文档-替换原文档成功,但是下载原文档依然是替换前的文档 https://www.tapd.cn/62980211/s/1789094
2025-10-23 11:43:13 +08:00
CaptainB 75d79918b8 fix: ensure unique tag IDs when creating new document tags
--bug=1062908 --user=刘瑞斌 【知识库】文档标签设置,添加标签时,重复选择相同的标签,添加报错 https://www.tapd.cn/62980211/s/1789052
2025-10-23 10:55:03 +08:00
CaptainB 147eea4160 feat: implement bulk update for files with matching SHA256 hash 2025-10-22 10:43:32 +08:00
CaptainB c31142eeab feat: add tag filtering and input support in document search functionality 2025-10-21 10:38:16 +08:00
CaptainB 620d4ff996 feat: add document replacement functionality with file upload 2025-10-20 15:32:30 +08:00
CaptainB 3e1e434dbf feat: delete associated DocumentTag entries when deleting documents 2025-10-17 17:27:02 +08:00
CaptainB 79fbc52741 feat: add search document node functionality and related configurations 2025-10-17 10:27:31 +08:00
CaptainB 47546ecef4 fix: correct tag ID retrieval in document filtering 2025-10-15 15:03:37 +08:00
CaptainB c47c70afb0 feat: implement knowledge tag management functionality 2025-10-15 11:35:34 +08:00
zhangzhanwei 9a8c8cc7d5 feat: The folder creator manages permissions and the root directory displays all resources 2025-10-15 10:45:54 +08:00
zhangzhanwei 89749a3006 feat: Folder authorization backend 2025-10-14 16:33:13 +08:00
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 383957abb3 chore: update regex pattern and file path in common.py
--bug=1061351 --user=刘瑞斌 【知识库】知识库导出zip没有图片 https://www.tapd.cn/62980211/s/1768275
2025-09-05 11:48:14 +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 f9f96fd2cd chore: add allow_download flag to document metadata 2025-08-28 10:12:15 +08:00
wxg0103 b5cd3f9b31 feat: add reset_meta function and update meta handling in Document model 2025-08-27 15:26:22 +08:00
CaptainB 4847eba4bf fix: add check for existing problem-paragraph mapping before processing
--bug=1060558 --user=刘瑞斌 【github#3868】知识库分段,重复添加同一个问题,问题会重复多次关联分段 https://www.tapd.cn/62980211/s/1756889
2025-08-18 17:08:22 +08:00
CaptainB f668daa902 fix: refactor delete method in DocumentSerializers for improved clarity
--bug=1060005 --user=刘瑞斌 【资源管理】知识库-删除文档报错 https://www.tapd.cn/62980211/s/1749123
2025-08-05 15:08:12 +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 7fc0bd2396 fix: simplify validation checks in document and paragraph retrieval methods 2025-07-31 15:37:38 +08:00
CaptainB a3a124d581 feat: update permission checks to remove row.id dependency and add workspace_id to knowledge retrieval 2025-07-30 09:56:33 +08:00
CaptainB 4d18b78d29 fix: update SQL queries to improve similarity calculations and indexing
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-24 16:18:53 +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 05409b8f90 fix: update error message for non-existent files in document handling 2025-07-15 12:20:32 +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
CaptainB 31f87119b6 fix: improve document deletion process and ensure related files are removed
--bug=1058582 --user=刘瑞斌 【知识库】知识库的文档删除报错了 https://www.tapd.cn/62980211/s/1729344
2025-07-11 17:30:26 +08:00
CaptainB 17e1cbcf48 refactor: optimize batch_sync method to include knowledge_id and workspace_id
--bug=1057859 --user=刘瑞斌 【知识库】正在向量化/生成问题中的文档,点击同步文档后没有取消当前文档的向量化/生成问题任务,重新进行同步+向量化/生成问题 https://www.tapd.cn/62980211/s/1728222
2025-07-10 17:34:55 +08:00
CaptainB 0bcf7e311c feat: update paragraph processing to include status updates for embedding tasks
--bug=1058487 --user=刘瑞斌 【知识库】在文档中添加分段,没有执行向量化操作 https://www.tapd.cn/62980211/s/1728041
2025-07-10 16:53:14 +08:00
CaptainB 4d87e01682 chore: adjust paragraph positions for document consistency 2025-07-10 16:34:41 +08:00
wxg0103 580adc5a88 refactor: enhance document and knowledge deletion logic to remove associated files 2025-07-09 19:09:34 +08:00
CaptainB 6a87ccd908 feat: add convert_uuid_to_str function for UUID serialization in document metadata
--bug=1058357 --user=刘瑞斌 【知识库】通用知识库-上传QA问答对csv和excel文档失败 https://www.tapd.cn/62980211/s/1726470
2025-07-09 10:47:56 +08:00
CaptainB 8aa2c1437c feat: add workspace validation for knowledge id across serializers 2025-07-08 12:47:53 +08:00
shaohuzhang1 7f7704042e
feat: PDF Preview (#3502)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-07 22:58:23 +08:00
CaptainB c8650030fb refactor: replace WorkspaceUserResourcePermission with UserResourcePermissionSerializer for user authorization 2025-07-07 18:37:47 +08:00
CaptainB 50e93e490a fix: ensure valid class is checked before validation in document processing 2025-07-07 16:04:16 +08:00
CaptainB 67f719747c fix: enhance meta validation to check for empty dictionary
--bug=1058076 --user=刘瑞斌 【知识库】飞书知识库-文档列表操作列-设置命中处理方式为“直接回答” 报异常 https://www.tapd.cn/62980211/s/1724448
2025-07-07 14:43:35 +08:00
wxg0103 519e0dc60b refactor: add source attribute to name field in DocumentEditInstanceSerializer for improved clarity 2025-07-04 16:31:22 +08:00
CaptainB 9c7eb22c61 refactor: improve error message for non-existent files in document handling
--bug=1057925 --user=刘瑞斌 【知识库】知识库快速创建空白文档-添加段落和内容-随后下载源文档-下载文件提示异常 https://www.tapd.cn/62980211/s/1723202
2025-07-04 11:08:20 +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