Commit Graph

224 Commits

Author SHA1 Message Date
zhangzhanwei 1ec918632f fix: Problem create permission 2025-09-02 17:33:50 +08:00
CaptainB f9f96fd2cd chore: add allow_download flag to document metadata 2025-08-28 10:12:15 +08:00
CaptainB a19bd1eef1 chore: add allow_download field to existing Document records
--bug=1060848 --user=刘瑞斌 【知识库】文档设置[允许知识库来源中下载 ]应该默认开启 https://www.tapd.cn/62980211/s/1762365
2025-08-27 15:36:54 +08:00
CaptainB 4063fef48a chore: add allow_download field to existing Document records
--bug=1060848 --user=刘瑞斌 【知识库】文档设置[允许知识库来源中下载 ]应该默认开启 https://www.tapd.cn/62980211/s/1762365
2025-08-27 15:27:19 +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 f1356e9b61 feat: add MCP tool support with new form and dropdown options 2025-08-12 10:41:42 +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
zhangzhanwei 6660552618 fix: Problem related 2025-08-01 17:31:45 +08:00
CaptainB 4e6d19235b fix: remove unnecessary validation checks for query sets in paragraph handling 2025-07-31 15:41:28 +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 2ec98d9c3b fix: update request data handling to use request.data instead of request.query_params 2025-07-21 12:25:17 +08:00
CaptainB 7eeb42c9fd refactor: replace Status with State for consistent status handling 2025-07-17 16:59:12 +08:00
CaptainB b85ba190db feat: add compression for file storage and retrieval in knowledge.py 2025-07-16 20:54:55 +08:00
zhangzhanwei 1ea86202b8 fix: Application debug 2025-07-16 19:10:20 +08:00
wxg0103 e5397af848 feat: enhance file handling in serializers and models for improved upload functionality
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-16 11:37:12 +08:00
zhangzhanwei b044554559 fix: Knowledge document paragraph permission 2025-07-16 10:27:38 +08:00
zhangzhanwei 922ecb983c fix: Knowledge document problem related permission 2025-07-15 17:28:01 +08:00
CaptainB 949c6d5ce1 fix: remove unnecessary db_index from content field in models 2025-07-15 16:59:00 +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 ea56fd6212 feat: add db_index to various fields for improved query performance 2025-07-14 11:54:19 +08:00
CaptainB 1ac7fc4669 refactor: Update user foreign key constraints and add new fields across multiple models
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-07-14 10:52:08 +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 79537cade9 refactor: update user field in application and knowledge models to allow null values and set null on delete 2025-07-10 14:49:44 +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
zhangzhanwei 3b4702e533 fix: knowledge document paragraph read permission 2025-07-09 10:25:12 +08:00
CaptainB 8f00184122 refactor: improve embedding handling and ensure float conversion for embeddings
--bug=1058254 --user=刘瑞斌 【知识库】企业版-ldap用户创建通用知识库-创建的空白文档中无法添加分段 https://www.tapd.cn/62980211/s/1725378
2025-07-08 14:19:20 +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
zhangzhanwei 1c18b99429 fix: Split permission in document import dialogue 2025-07-07 20:57:51 +08:00
CaptainB c8650030fb refactor: replace WorkspaceUserResourcePermission with UserResourcePermissionSerializer for user authorization 2025-07-07 18:37:47 +08:00
shaohuzhang1 6effb8f0fb
feat: Application chat (#3494) 2025-07-07 16:08:37 +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
CaptainB bed9c500f1 feat: update source_type and source_id defaults in initial migration 2025-07-07 12:54:17 +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
wxg0103 519e0dc60b refactor: add source attribute to name field in DocumentEditInstanceSerializer for improved clarity 2025-07-04 16:31:22 +08:00
CaptainB 8f851aab61 refactor: add meta field to knowledge user SQL queries
--bug=1058066 --user=刘瑞斌 [知识库]企业&专业版-普通用户查看飞书知识库的设置信息,账号信息显示空白 https://www.tapd.cn/62980211/s/1723533
2025-07-04 14:50:55 +08:00