Commit Graph

177 Commits

Author SHA1 Message Date
zhangzhanwei
e63572b89b feat: System operate log 2025-06-05 14:12:14 +08:00
CaptainB
7998133e35 feat: update permission constants for knowledge documents and problems to include resource permission groups 2025-06-05 10:31:29 +08:00
CaptainB
0ca2c72e52 feat: update permission check to use workspace permission for knowledge read operations 2025-06-05 10:17:04 +08:00
CaptainB
6cb3ae74d9 feat: update permission checks to use workspace knowledge permissions for document and knowledge operations 2025-06-05 10:12:59 +08:00
shaohuzhang1
1641039fd2
feat: application version (#3194) 2025-06-04 20:14:52 +08:00
CaptainB
8b9e03d7cf feat: update knowledge retrieval logic and optimize SQL queries for application listing 2025-06-04 19:39:21 +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
aa593f3790 feat: refactor user_id handling and enhance tool query logic 2025-06-03 16:31:07 +08:00
CaptainB
a8a19f357a feat: add endpoint to retrieve embedding model for knowledge base 2025-06-03 16:31:07 +08:00
CaptainB
15eea403ec feat: remove user_id permission check for embedding model in knowledge processing 2025-06-03 11:24:08 +08:00
CaptainB
787da980b8 feat: rename embedding_mode_id to embedding_model_id across multiple files 2025-06-03 11:20:53 +08:00
wxg0103
30a60c9ab8 refactor: sql 2025-05-27 14:44:57 +08:00
shaohuzhang1
080a6031bd
feat: application save (#3150) 2025-05-27 11:08:55 +08:00
wxg0103
0a1d5c4fbf refactor: permission constants 2025-05-16 18:23:27 +08:00
CaptainB
aa7bc349ab feat: add request handling to UnAssociation and Association API endpoints 2025-05-15 13:48:26 +08:00
CaptainB
e24f211674 feat: add optional user_id parameter to tool queries and serializers 2025-05-15 11:04:54 +08:00
CaptainB
74fac81c7b feat: enhance knowledge pagination to include child folders in response 2025-05-15 10:49:47 +08:00
CaptainB
25da46d13f fix: make desc field optional in KnowledgeFolder and ToolFolder models 2025-05-14 11:31:54 +08:00
CaptainB
6b41d8cff1 chore: remove unused CompareConstants import from document.py 2025-05-14 10:12:52 +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
554b81b59a fix: update has_permissions decorator formatting for knowledge document endpoints 2025-05-13 11:22:06 +08:00
CaptainB
680475cb97 feat: add new permission constants for knowledge documents, paragraphs, and problems 2025-05-13 10:58:56 +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
f21d301140 fix: change HTTP methods from PUT to GET for association and unassociation endpoints 2025-05-12 17:13:57 +08:00
CaptainB
6f81d80389 fix: change HTTP methods from GET to PUT for disassociation and related questions endpoints 2025-05-12 16:24:01 +08:00
CaptainB
cb2fb496b4 fix: update ForeignKey on_delete behavior for ApplicationKnowledgeMapping 2025-05-12 10:30:13 +08:00
CaptainB
1f8907e1cb feat: add GetModelAPI for retrieving model information in knowledge base 2025-05-09 17:50:15 +08:00
CaptainB
94c5c4197c fix: add type ignore comments for operation_id and tags in various API schemas 2025-05-09 11:29:05 +08:00
CaptainB
6f209d740d feat: add request and response handling for SyncWeb, Embedding, and GenerateRelated APIs 2025-05-09 10:56:11 +08:00
CaptainB
a75501737f feat: add BatchGenerateRelated API for batch processing of related paragraphs 2025-05-08 19:28:58 +08:00
CaptainB
ac698e0c4c feat: add BatchRefresh and BatchGenerateRelated APIs for document processing 2025-05-08 19:16:45 +08:00
CaptainB
54836d549c feat: add Embedding API for re-vectorization of knowledge objects 2025-05-08 17:17:09 +08:00
CaptainB
b6f5a8378a feat: add HitTest API for knowledge base query testing and update SyncWeb API to use knowledge_id 2025-05-08 16:49:12 +08:00
CaptainB
7dcd1a71e8 feat: add SyncWeb and GenerateRelated APIs for knowledge base synchronization and related generation 2025-05-08 16:49:12 +08:00
CaptainB
9f004defd9 feat: add SHA256 hash attribute to knowledge object on save 2025-05-08 12:34:51 +08:00
CaptainB
ab479c422c feat: add delete method to File API for file removal 2025-05-08 12:15:00 +08:00
CaptainB
4d44637ae5 feat: add file size attribute to knowledge object on save 2025-05-08 11:31:16 +08:00
CaptainB
4b30b5b1b5 fix: correct tag casing in File API documentation 2025-05-08 10:55:26 +08:00
CaptainB
3010fa835f feat: implement File API for file upload and retrieval with new endpoints 2025-05-08 10:42:00 +08:00
CaptainB
06d5c10ac6 chore: reformat code 2025-05-08 10:00:58 +08:00
CaptainB
906407a15b feat: update Problem API to batch process request data in post method 2025-05-07 18:51:26 +08:00
CaptainB
a09d0d5171 feat: add ProblemParagraphAPI for retrieving associated paragraphs and update routing 2025-05-07 17:37:34 +08:00
CaptainB
6cdd5b4508 feat: implement Problem API for delete and modify operations with new Operate endpoint 2025-05-07 17:17:41 +08:00
CaptainB
a6c74024b0 feat: implement pagination support for Problem API with new Page endpoint 2025-05-07 17:06:27 +08:00
CaptainB
4995721399 feat: implement Problem API for CRUD operations and batch processing 2025-05-07 16:28:56 +08:00
CaptainB
ecc25796a6 feat: update document and paragraph batch operations to use PUT method and rename classes for clarity 2025-05-07 14:49:32 +08:00
CaptainB
a04c2efa41 feat: add pagination support for paragraph retrieval in Paragraph API 2025-05-07 14:06:27 +08:00
CaptainB
36da813eea feat: implement Paragraph API for CRUD operations and batch deletion 2025-05-07 13:53:04 +08:00
CaptainB
10105ce5ab feat: implement Paragraph API for CRUD operations and batch deletion 2025-05-07 13:51:20 +08:00
shaohuzhang1
bcf6ccee20
refactor: File model (#3050) 2025-05-07 11:45:00 +08:00
CaptainB
442dd209a5 feat: add KnowledgeFolderFlatSerializer for flat folder representation in Knowledge API 2025-05-07 10:30:56 +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
6f5645e16c feat: add DocumentTreeReadAPI for document pagination and file size limit to knowledge model 2025-05-06 17:39:26 +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
0e66b8a186 feat: add summary fields to extend_schema for folder and document APIs 2025-05-06 13:55:14 +08:00
CaptainB
24e734fb36 feat: enhance Document API with create and query functionalities 2025-05-06 13:55:14 +08:00
CaptainB
ba5028858c feat: add DocumentBatchCreateAPI for batch document creation 2025-05-05 17:50:13 +08:00
CaptainB
0d3eb431f6 feat: implement batch processing for document creation, synchronization, and deletion 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
3b5a02307c refactor: celery config 2025-04-29 11:48:15 +08:00
CaptainB
770089e432 feat: add initial implementation of document and paragraph models with serializers 2025-04-29 10:04:34 +08:00
CaptainB
0df7c7247d feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:53:38 +08:00
CaptainB
ee37d7c320 feat: implement web knowledge synchronization with ForkManage and related handlers 2025-04-28 11:27:59 +08:00
CaptainB
1e86919882 feat: remove KnowledgeLarkCreateAPI and KnowledgeLarkView classes 2025-04-27 17:43:20 +08:00
CaptainB
3e7bc1dae0 feat: remove KnowledgeYuque and KnowledgeLark classes 2025-04-27 17:39:22 +08:00
CaptainB
f7a4aca0e8 feat: implement knowledge creation APIs for base, web, lark, and yuque 2025-04-25 20:31:59 +08:00
CaptainB
724686762e feat: add knowledge management API and permissions 2025-04-25 18:18:47 +08:00
CaptainB
3205ff2a65 feat: add knowledge management 2025-04-25 14:58:22 +08:00
CaptainB
ec643fca7f feat: add initial model structure for knowledge management 2025-04-25 14:06:23 +08:00