Commit Graph

44 Commits

Author SHA1 Message Date
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
CaptainB bd71ca9eb4 fix: update is_valid method to use dynamic file size limit from Knowledge model 2025-05-13 11:50:08 +08:00
CaptainB d24532d679 fix: update is_valid method to accept instance parameter for file validation 2025-05-13 11:28:15 +08:00
CaptainB 5ca3151e90 fix: update permission constants for document operations and adjust serializer field options 2025-05-12 18:34:15 +08:00
CaptainB ac698e0c4c feat: add BatchRefresh and BatchGenerateRelated APIs for document processing 2025-05-08 19:16:45 +08:00
CaptainB bd865ceafc feat: add DocumentSplitPatternAPI for segment ID retrieval with workspace and knowledge ID parameters 2025-05-06 17:56:49 +08:00
CaptainB c3b979decc feat: add CancelTaskAPI and batch cancellation endpoints for document tasks 2025-05-06 16:47:59 +08:00
CaptainB e702af8c2b feat: enhance Document API with workspace ID support for get, put, and delete operations 2025-05-06 15:24:36 +08:00
CaptainB 24e734fb36 feat: enhance Document API with create and query functionalities 2025-05-06 13:55:14 +08:00
CaptainB 0d3eb431f6 feat: implement batch processing for document creation, synchronization, and deletion
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
2025-04-30 18:04:40 +08:00
CaptainB 43bef216d5 refactor: reorganize file handling imports into a structured directory 2025-04-30 16:08:17 +08:00
CaptainB 48297d81e5 feat: add initial implementations of various file handling classes for CSV, XLS, and XLSX formats 2025-04-30 15:52:58 +08:00
CaptainB 4dcd150c8d refactor: improve code readability and formatting in common, knowledge, and paragraph modules 2025-04-30 09:57:11 +08:00
CaptainB 770089e432 feat: add initial implementation of document and paragraph models with serializers 2025-04-29 10:04:34 +08:00