Commit Graph

63 Commits

Author SHA1 Message Date
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 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
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 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 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 7fc0bd2396 fix: simplify validation checks in document and paragraph retrieval methods 2025-07-31 15:37:38 +08:00
CaptainB 05409b8f90 fix: update error message for non-existent files in document handling 2025-07-15 12:20:32 +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
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 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 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 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 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
CaptainB a73e0b10f9 refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 17:00:18 +08:00
CaptainB f1e6b5adec fix: update FileSerializer operation to use data dictionary for file ID 2025-06-25 15:10:01 +08:00
CaptainB 73ee9bf602 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:55:48 +08:00
CaptainB 758f424000 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:54:36 +08:00
CaptainB 3e9c3c0602 feat: update UUID generation to use uuid7 for improved uniqueness across models 2025-06-23 11:19:20 +08:00
CaptainB fbc37edf3c fix: include workspace_id in batch save for document processing
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-17 20:20:35 +08:00
CaptainB 119f678224 fix: update paragraph ordering and adjust position during bulk creation 2025-06-17 13:23:34 +08:00
CaptainB 8e93e1ea2e fix: handle None source_file_id in link_file method 2025-06-16 16:57:10 +08:00
CaptainB 156b490f1a fix: add workspace_id to knowledge retrieval 2025-06-12 18:22:00 +08:00
CaptainB 42c6157404 fix: add workspace_id to knowledge retrieval 2025-06-12 18:09:08 +08:00
CaptainB 10cbfcf795 fix: change workspace_id field type from UUIDField to CharField in document serializer 2025-06-12 17:46:12 +08:00
CaptainB 31838f8099 fix: update embedding_mode_id to embedding_model_id across multiple files 2025-06-12 15:12:26 +08:00
wxg0103 93833849c1 refactor: file to oss
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 11:42:31 +08:00
CaptainB fb6314cd69 feat: implement file download functionality in document handler 2025-06-04 14:25:01 +08:00
CaptainB 56a9e69912 feat: add endpoint to download source files with updated parameter handling 2025-06-04 10:57:32 +08:00
CaptainB 852313217d feat: add migration endpoints for documents and paragraphs with parameter handling 2025-06-03 18:43:41 +08:00
CaptainB efd273b3bc feat: add export and export_zip endpoints for knowledge base and document with image handling 2025-06-03 17:44:13 +08:00
CaptainB 787da980b8 feat: rename embedding_mode_id to embedding_model_id across multiple files 2025-06-03 11:20:53 +08:00
CaptainB c3581be9bd fix: rename image_name to file_name in zip_split_handle and remove workspace_id assignment in document 2025-05-13 12:47:59 +08:00