Commit Graph

137 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 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
CaptainB aa901c7fc7 fix: update file URL paths to use relative references 2025-07-02 22:45:11 +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 868b4b6eab refactor: include workspace_id in document query return values
--bug=1057837 --user=刘瑞斌 【知识库】、压缩包文件中存在视频和图片,只能分段上传后提示信息存在问题 https://www.tapd.cn/62980211/s/1721454
2025-07-02 11:01:32 +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 9b89e8f75c refactor: enhance file parsing by saving source files and linking document IDs 2025-07-01 15:24:07 +08:00
wxg0103 38c3dcae7e fix: field error message 2025-07-01 15:15:38 +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 327b6cc563 refactor: adjust paragraph position indexing to start from 1 2025-06-27 19:01:05 +08:00
CaptainB 22d86f046a refactor: adjust paragraph positions during migration for consistency 2025-06-27 18:40:52 +08:00
CaptainB cd25bcf074 refactor: adjust paragraph position handling to insert new paragraphs at the top
--bug=1057642 --user=刘瑞斌 【知识库】文档中添加分段,最后添加的没显示在最上面 https://www.tapd.cn/62980211/s/1719802
2025-06-27 17:59:09 +08:00
CaptainB db58ed8aba fix: allow null and blank values for status and order_by fields in document queries
--bug=1057473 --user=刘瑞斌 【知识库】文档列表通过列表字段筛选文档不生效 https://www.tapd.cn/62980211/s/1719702
2025-06-27 16:28:11 +08:00