Commit Graph

131 Commits

Author SHA1 Message Date
shaohuzhang1 dca48d1388
feat: Chat vote (#3355) 2025-06-23 20:19:32 +08:00
shaohuzhang1 4a722575df
fix: knowledge list (#3349) 2025-06-23 17:08:13 +08:00
shaohuzhang1 b971a2c15f
fix: knowledge list (#3348) 2025-06-23 16:54:48 +08:00
CaptainB bb109d65cf feat: update permission checks to include workspace-specific roles for knowledge document operations 2025-06-23 11:47:46 +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 b496a2b2c5 feat: update migration files and add new models for application settings and chat functionality 2025-06-23 10:25:45 +08:00
CaptainB 9777c92e34 feat: add automatic permission assignment for knowledge creators 2025-06-20 17:50:49 +08:00
CaptainB c8a5048c7c feat: add user role permissions to workspace operations 2025-06-20 15:17:36 +08:00
CaptainB 83e9b45e79 feat: handle None case for knowledge_dict in knowledge.py 2025-06-20 14:01:13 +08:00
CaptainB 2c3eb20592 fix: make folder_id parameter optional in document.py 2025-06-19 19:42:29 +08:00
CaptainB 52ba4d6342 refactor: update model instance retrieval to use workspace_id and enhance document syncing with image linking 2025-06-19 16:20:15 +08:00
CaptainB 6d9068c378 fix: validate folder_id in list method and use request.user.id for user_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-19 13:23:58 +08:00
CaptainB ef9e80f900 feat: add batch_cancel_task endpoint to document routes in urls.py 2025-06-18 20:50:46 +08:00
CaptainB 4a58954567 feat: add new SQL queries for embedding and keyword searches 2025-06-18 19:48:20 +08:00
CaptainB 89023d14fe refactor: update embedding model ID references in knowledge.py and dataset_lark_serializer.py 2025-06-18 18:46:41 +08:00
CaptainB 63d8906639 refactor: update user reference to use nick_name in index.vue and shared_tool.py 2025-06-18 18:44:48 +08:00
CaptainB c1ca6eafe6 refactor: enhance workspace authorization handling in shared knowledge, model, and tool 2025-06-18 17:54:00 +08:00
CaptainB e6c2e4fb13 feat: enhance knowledge retrieval with JSON metadata support 2025-06-18 16:10:24 +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 62d0089c9e fix: change HTTP methods from GET to PUT for document synchronization endpoints 2025-06-17 19:00:30 +08:00
CaptainB 0d36704f63 fix: correct position parameter usage in adjust_position method 2025-06-17 18:31:11 +08:00
CaptainB 9221c7c93a fix: remove default model reference from embedding_model and add export paths for templates 2025-06-17 17:20:00 +08:00
CaptainB 119f678224 fix: update paragraph ordering and adjust position during bulk creation 2025-06-17 13:23:34 +08:00
wxg0103 63eefa3ffa refactor: model 2025-06-16 20:46:04 +08:00
CaptainB 77a824235f fix: correct embedding_model_id references in SQL and Vue files 2025-06-16 20:16:23 +08:00
CaptainB 8e93e1ea2e fix: handle None source_file_id in link_file method 2025-06-16 16:57:10 +08:00
wxg0103 f773792424 refactor: log add workspace_id 2025-06-16 16:31:28 +08:00
CaptainB cbcad3cc83 fix: update default folder reference from 'root' to 'default' in multiple models
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-16 11:42:28 +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 dad309193a fix: add workspace_id to knowledge retrieval 2025-06-12 18:06:28 +08:00
CaptainB a3e2e8b548 fix: change workspace_id field type from UUIDField to CharField in serializers 2025-06-12 17:47:41 +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 9a7281212d fix: update image URL paths to use OSS endpoints 2025-06-12 15:49:54 +08:00
CaptainB 31838f8099 fix: update embedding_mode_id to embedding_model_id across multiple files 2025-06-12 15:12:26 +08:00
CaptainB e81a7962b8 fix: add scope field to knowledge serializers and update related SQL queries
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-11 20:35:25 +08:00
CaptainB ace03e5b5a fix: enhance knowledge retrieval logic with dynamic SQL selection based on workspace management 2025-06-11 20:07:33 +08:00
CaptainB 0695b281d8 fix: enhance knowledge retrieval logic with dynamic SQL selection based on workspace management 2025-06-11 20:06:13 +08:00
CaptainB ba0dcf6b1b feat: enhance permission checks by incorporating role constants for workspace management 2025-06-11 17:00:14 +08:00
CaptainB c758059fe4 feat: add migration to insert default data for ToolFolder and KnowledgeFolder 2025-06-11 15:07:38 +08:00
wxg0103 e6e3acdfea refactor: log add workspace_id
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-10 14:50:25 +08:00
CaptainB 982604d39a fix: change order of query results to ascending by creation time 2025-06-10 13:03:50 +08:00
CaptainB 56dc0c89de feat: alter document and paragraph status fields and update foreign key constraints 2025-06-09 19:12:52 +08:00
CaptainB fff46e5c28 feat: add workspace_id field to Create serializer in paragraph.py 2025-06-09 17:56:24 +08:00
CaptainB 2b097e5c97 feat: update problem serializers to use ListField for batch requests 2025-06-09 17:38:08 +08:00
CaptainB 7abd9dfb71 refactor: improve code formatting and enhance folder_id handling in knowledge serializers
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
2025-06-06 18:54:59 +08:00
CaptainB 2fccb9db67 feat: add shared document and paragraph views with related permissions 2025-06-06 17:55:06 +08:00
CaptainB 16dc78d5a4 feat: implement pagination and deletion for shared knowledge API 2025-06-06 15:45:21 +08:00
CaptainB c0ea174275 feat: implement pagination and deletion for shared knowledge API 2025-06-06 15:42:02 +08:00
CaptainB 643200cc06 feat: add scope field to knowledge creation serializers and update related views 2025-06-06 15:13:17 +08:00