Commit Graph

1837 Commits

Author SHA1 Message Date
CaptainB
7aa0b10f93 fix: update Dockerfile to use 'build-only' command for UI build process 2025-06-16 11:33:20 +08:00
shaohuzhang1
719ad9c9c1
Update django.po 2025-06-13 23:57:51 +08:00
wxg0103
f4efdca5ed refactor: permission 2025-06-13 18:36:01 +08:00
CaptainB
43087e7ca3 feat: add compilation and installation scripts for MaxKB project 2025-06-13 17:58:52 +08:00
shaohuzhang1
b6fb059512
feat: web ui (#3257) 2025-06-13 17:35:25 +08:00
shaohuzhang1
9558e4053d
feat chat ui (#3253) 2025-06-13 16:17:02 +08:00
shaohuzhang1
f7349d2b3d
feat local model config (#3252) 2025-06-13 15:31:51 +08:00
shaohuzhang1
466175fb19
perf: workflow chat (#3247) 2025-06-13 12:01:08 +08:00
CaptainB
54578eff33 fix: update logging messages to reflect new MaxKB branding 2025-06-13 11:18:39 +08:00
shaohuzhang1
bf630b9d07
feat: workflow application debug chat (#3245) 2025-06-12 21:10:10 +08:00
shaohuzhang1
c7e30bb098
feat: simple application debug chat (#3244) 2025-06-12 20:07:31 +08:00
wxg0103
02e7cacb10 refactor: user reset password 2025-06-12 19:16:30 +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
shaohuzhang1
14ae7864aa
fix: resource permission auth (#3243) 2025-06-12 17:10:33 +08:00
CaptainB
bba9e62d43 fix: add migrations for altering workspace_id and creating ModelWorkspaceAuthorization 2025-06-12 16:32:40 +08:00
CaptainB
9a7281212d fix: update image URL paths to use OSS endpoints 2025-06-12 15:49:54 +08:00
shaohuzhang1
e5e993986c
feat: application chat debug (#3241) 2025-06-12 15:21:59 +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
64d5217dc9 fix: update folder_id retrieval to use workspace_id from localStorage 2025-06-12 14:29:00 +08:00
CaptainB
3f5180d54d fix: remove default value for folder_id and use workspace_id instead 2025-06-12 11:52:46 +08:00
wxg0103
6ad9682465 refactor: add switch language 2025-06-12 11:25:19 +08:00
wxg0103
e0d08ac590 refactor: add switch language 2025-06-12 11:25:07 +08:00
CaptainB
e81a7962b8 fix: add scope field to knowledge serializers and update related SQL queries 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
wxg0103
16482af519 refactor: chat user add login auth 2025-06-11 19:36:35 +08:00
wxg0103
6c342e02f0 refactor: add all user list 2025-06-11 18:29:26 +08:00
CaptainB
ba0dcf6b1b feat: enhance permission checks by incorporating role constants for workspace management 2025-06-11 17:00:14 +08:00
wxg0103
874dd34cba refactor: user add log 2025-06-11 16:40:09 +08:00
shaohuzhang1
59d78679b0
feat: application add workspace manage role (#3235) 2025-06-11 15:21:01 +08:00
CaptainB
c758059fe4 feat: add migration to insert default data for ToolFolder and KnowledgeFolder 2025-06-11 15:07:38 +08:00
CaptainB
9877c825bc fix: update check_depth function to include workspace_id for folder hierarchy validation 2025-06-11 14:58:08 +08:00
CaptainB
b63bd8bbea fix: update check_depth function to include workspace_id for folder hierarchy validation 2025-06-11 14:56:49 +08:00
wxg0103
fa818fc6e8 refactor: workspace add user member 2025-06-11 14:27:06 +08:00
wxg0103
7ca61274f2 refactor: workspace add user member 2025-06-11 14:15:49 +08:00
shaohuzhang1
f5baae4117
fix: application page (#3233) 2025-06-11 12:21:13 +08:00
wxg0103
c07fd323bf refactor: workspace add user member 2025-06-11 11:35:47 +08:00
wxg0103
bec1cbd000 refactor: workspace add user member 2025-06-11 11:25:26 +08:00
CaptainB
840fa68b98 fix: rename parameter in put method for clarity 2025-06-11 10:35:13 +08:00
shaohuzhang1
e0bfe0cd73
fix: Modify openAPI description (#3231) 2025-06-10 21:03:50 +08:00
shaohuzhang1
87ab2178bf
feat: application chat log (#3230) 2025-06-10 20:35:20 +08:00
wxg0103
cfafc3f0ba refactor: cache 2025-06-10 19:50:33 +08:00
wxg0103
e6e3acdfea refactor: log add workspace_id 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
wxg0103
bc91e94079 refactor: add shared model 2025-06-10 11:30:15 +08:00
wxg0103
3233058146 refactor: permission 2025-06-10 11:29:30 +08:00
shaohuzhang1
5f19924f9f
perf: model manage (#3226) 2025-06-09 21:09:51 +08:00
shaohuzhang1
6a0a57e785
feat: application stats (#3225) 2025-06-09 21:08:04 +08:00
shaohuzhang1
e8886d5c65
feat: application api key (#3224) 2025-06-09 20:25:58 +08:00
CaptainB
56dc0c89de feat: alter document and paragraph status fields and update foreign key constraints 2025-06-09 19:12:52 +08:00
wxg0103
68201d3f87 refactor: model 2025-06-09 19:08:50 +08:00
CaptainB
42509f46ab feat: update permission constants and views for system knowledge management 2025-06-09 18:59:13 +08:00
CaptainB
9ccb501a90 feat: update permission constants and views for system knowledge management 2025-06-09 18:42:21 +08:00
shaohuzhang1
5da47a140d
feat: Access restrictions (#3222) 2025-06-09 18:40:56 +08:00
CaptainB
fff46e5c28 feat: add workspace_id field to Create serializer in paragraph.py 2025-06-09 17:56:24 +08:00
CaptainB
f1e19a1ace feat: add resource management module with CRUD operations and permissions 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
shaohuzhang1
c83bce3cef
fix: anonymous authentication (#3216) 2025-06-09 16:57:04 +08:00
wxg0103
6e0e0d2366 refactor: model api 2025-06-09 16:32:29 +08:00
shaohuzhang1
66c868e71f
fix: anonymous authentication (#3214) 2025-06-09 16:25:18 +08:00
shaohuzhang1
3807cf1960
feat: application chat (#3213) 2025-06-09 16:18:43 +08:00
wxg0103
5f10b70e24 refactor: tools add default workspace_id 2025-06-09 15:26:21 +08:00
wxg0103
07caf1ffa5 refactor: add share model 2025-06-09 15:10:13 +08:00
wxg0103
c0eac6d97c refactor: model 2025-06-09 14:28:17 +08:00
wxg0103
515e8555aa refactor: cache 2025-06-09 11:16:50 +08:00
wxg0103
980a27bb74 refactor: add logout 2025-06-07 19:05:27 +08:00
wxg0103
8d40004c67 refactor: add logout 2025-06-07 19:03:18 +08:00
wxg0103
b8b14884bd refactor: add application settings 2025-06-07 17:57:11 +08:00
shaohuzhang1
7d898d870c
feat: add application migrations (#3208) 2025-06-06 22:59:00 +08:00
shaohuzhang1
b2b5c331fa
fix: setup error (#3207) 2025-06-06 22:32:17 +08:00
shaohuzhang1
165de1ad73
feat: chat authentication (#3206) 2025-06-06 22:28:21 +08:00
CaptainB
7abd9dfb71 refactor: improve code formatting and enhance folder_id handling in knowledge serializers 2025-06-06 18:54:59 +08:00
wxg0103
c3c6a551ae refactor: application add chat_background 2025-06-06 18:26:51 +08:00
CaptainB
2fccb9db67 feat: add shared document and paragraph views with related permissions 2025-06-06 17:55:06 +08:00
wxg0103
66d4b6c81a refactor: application add show_exec 2025-06-06 17:17:52 +08:00
wxg0103
8ab4456ec3 refactor: permission 2025-06-06 17:05:25 +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
wxg0103
927b12a5ca refactor: delete dbmodelManage 2025-06-06 15:18:28 +08:00
CaptainB
643200cc06 feat: add scope field to knowledge creation serializers and update related views 2025-06-06 15:13:17 +08:00
CaptainB
a2cc83ec31 style: format URL paths for consistency in spacing 2025-06-06 14:43:40 +08:00
CaptainB
fd441b6986 feat: add file_size_limit and file_count_limit to list_knowledge.sql 2025-06-06 13:14:33 +08:00
wxg0103
4d76f08b14 refactor: file to oss 2025-06-06 12:31:41 +08:00
CaptainB
448bbb3aae feat: rename CELERY_ACKS_LATE to CELERY_TASK_ACKS_LATE for consistency 2025-06-06 12:30:39 +08:00
CaptainB
fc11fcf0e1 feat: add file_count_limit to knowledge model and create KnowledgeWorkspaceAuthorization model 2025-06-06 12:04:02 +08:00
wxg0103
b17cf3fea8 refactor: file to oss 2025-06-06 12:03:25 +08:00
wxg0103
93833849c1 refactor: file to oss 2025-06-06 11:42:31 +08:00
zhangzhanwei
6f2f4d93bb feat: Locations 2025-06-06 10:46:16 +08:00
CaptainB
8f98b7188d feat: add INTERNAL scope to tools and update related SQL queries 2025-06-05 20:22:39 +08:00
wxg0103
0cb33dad5a feat: ui add system settings 2025-06-05 19:47:47 +08:00
wxg0103
40df595173 refactor: model 2025-06-05 18:39:35 +08:00
wxg0103
d05d82106e refactor: model 2025-06-05 18:37:51 +08:00
CaptainB
fee5993c22 feat: add SQL query for embedding text and update model API routes to remove workspace_id 2025-06-05 18:35:31 +08:00
CaptainB
269960649d feat: add gunicorn and python-daemon dependencies to pyproject.toml 2025-06-05 17:56:42 +08:00
CaptainB
a4b6570110 feat: rename tool_type to scope and update related query parameters for tool filtering 2025-06-05 16:27:54 +08:00
zhangzhanwei
e63572b89b feat: System operate log 2025-06-05 14:12:14 +08:00
CaptainB
5cb7fc8d9a feat: refactor shared tool API to utilize ToolSerializer for create, update, and import operations 2025-06-05 11:12:17 +08:00
CaptainB
f5bc003aaf feat: update knowledge permissions to include resource permission groups for various operations 2025-06-05 10:37:55 +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
wxg0103
74ce98c39b refactor: gemini 2025-06-05 09:12:38 +08:00
CaptainB
26f84338d6 feat: update folder serializer to remove allow_null and allow_blank from workspace_id and parent_id 2025-06-04 20:34:07 +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
40137f147b feat: enhance init_params handling with encryption and decryption for tools and shared tools 2025-06-04 19:15:33 +08:00
CaptainB
64e26dd2cc feat: change icon edit method from POST to PUT for tools and shared tools 2025-06-04 19:05:19 +08:00
CaptainB
fd2b1245b8 feat: add debug and edit icon functionalities for tools and shared tools 2025-06-04 18:52:24 +08:00
CaptainB
c775f2a57f feat: add edit icon functionality for tools and shared tools 2025-06-04 18:48:20 +08:00
CaptainB
578fb34361 feat: add import, export, and debug functionalities for shared tools 2025-06-04 18:36:36 +08:00
CaptainB
7a34ba6fe3 feat: add shared resource tool functionality 2025-06-04 17:19:23 +08:00
wxg0103
824e02521c refactor: permission 2025-06-04 17:18:04 +08:00
shaohuzhang1
445a87143b
feat: system profile (#3193) 2025-06-04 17:16:35 +08:00
CaptainB
fb6314cd69 feat: implement file download functionality in document handler 2025-06-04 14:25:01 +08:00
shaohuzhang1
faeee1b92c
feat: log management (#3189) 2025-06-04 14:23:10 +08:00
shaohuzhang1
d92fdb999c
feat: use redis cache (#3185) 2025-06-04 14:21:12 +08:00
shaohuzhang1
bc03deabfc
feat: Resources authorization (#3183) 2025-06-04 13:05:39 +08:00
zhangzhanwei
596dbedd39 fix: Fix Swagger document image upload 2025-06-04 12:01:12 +08:00
CaptainB
d686bc3625 feat: refactor pylint handling and update endpoint for workspace tool 2025-06-04 11:09:58 +08:00
CaptainB
e525f77fa0 feat: refactor pylint handling and update endpoint for workspace tool 2025-06-04 11:08:05 +08:00
CaptainB
56a9e69912 feat: add endpoint to download source files with updated parameter handling 2025-06-04 10:57:32 +08:00
wxg0103
642920e916 refactor: permission 2025-06-04 10:17:17 +08:00
CaptainB
852313217d feat: add migration endpoints for documents and paragraphs with parameter handling 2025-06-03 18:43:41 +08:00
wxg0103
070a5d4ed3 refactor: user add batch delete 2025-06-03 18:35:42 +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
wxg0103
4de998dee2 refactor: user nick_name 2025-06-03 16:48:14 +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
wxg0103
11ce2e26b5 refactor: permission 2025-06-03 15:54:48 +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
shaohuzhang1
43654bddaf
feat: application operate api (#3176) 2025-05-30 20:02:39 +08:00
wxg0103
b1a6c463d0 refactor: user page add role 2025-05-30 11:07:24 +08:00
zhangzhanwei
1dadc06220 feat: System api permission setting 2025-05-29 18:49:00 +08:00
shaohuzhang1
345e588ef6
feat: application list (#3160) 2025-05-28 18:57:09 +08:00
wxg0103
743b04aebf refactor: user role 2025-05-28 17:45:02 +08:00
shaohuzhang1
129d52dff2
fix: common (#3154) 2025-05-28 10:13:47 +08:00
shaohuzhang1
896fb5fa52
feat: application flow (#3152) 2025-05-27 18:24:28 +08:00
wxg0103
0c9d8ccf71 refactor: add login auth permission 2025-05-27 16:17:56 +08:00
shaohuzhang1
6bbb181927
feat: application save (#3151) 2025-05-27 15:21:57 +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
shaohuzhang1
60ff19be17
feat: Application Apikey (#3149)
Co-authored-by: zhangzhanwei <zhanwei.zhang@fit2cloud.com>
2025-05-27 10:41:05 +08:00
wxg0103
ba79dd8582 refactor: user add role setting 2025-05-27 09:47:33 +08:00
shaohuzhang1
41dd3c4f3d
feat: application view init (#3147) 2025-05-26 18:39:53 +08:00
wxg0103
356dbeb2b9 refactor: i18n 2025-05-26 16:46:05 +08:00
shaohuzhang1
9e7279e336
feat: application model (#3146) 2025-05-26 16:37:35 +08:00
wxg0103
b7843fd2bf refactor: user add role 2025-05-26 16:12:08 +08:00
shaohuzhang1
1aa8fe28ef
feat: delete workflow (#3145) 2025-05-26 16:01:43 +08:00
wxg0103
c0b676ed16 refactor: permission 2025-05-23 18:08:25 +08:00
wxg0103
2da3eac1b5 refactor: user model 2025-05-23 18:07:23 +08:00
wxg0103
9dc06909bd refactor: login captcha 2025-05-22 15:42:12 +08:00
wxg0103
abadff25e5 refactor: login captcha 2025-05-21 10:35:17 +08:00
wxg0103
3c5b38dc44 refactor: list 2025-05-20 17:14:12 +08:00
wxg0103
f2b0af25da refactor: permission constants 2025-05-19 16:30:31 +08:00
wxg0103
f618dd4f99 refactor: permission constants 2025-05-19 14:26:45 +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
wxg0103
8fb8c06e0b refactor: user 2025-05-15 12:07:07 +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
7780d89c55 feat: add pagination method for tools with folder data in tool.py 2025-05-15 10:40:29 +08:00
CaptainB
b13799d584 feat: add Pylint API for code checking and integrate with tool operations 2025-05-14 14:35:13 +08:00
CaptainB
d85d20694d fix: include desc field in editable fields for folder validation 2025-05-14 12:12:16 +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
wxg0103
4eed42b6a0 refactor: user add default password 2025-05-13 14:39:47 +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
a5fb2e15c6 feat: add initial SQL migration for tool data and integrate file content retrieval 2025-05-12 11:22:12 +08:00
CaptainB
cb2fb496b4 fix: update ForeignKey on_delete behavior for ApplicationKnowledgeMapping 2025-05-12 10:30:13 +08:00
shaohuzhang1
5ebfe9b5dd
feat: workflow init (#3072) 2025-05-09 18:55:53 +08:00
CaptainB
f6ccc95240 feat: implement source type retrieval and enhance folder deletion logic 2025-05-09 18:31:08 +08:00
CaptainB
1f8907e1cb feat: add GetModelAPI for retrieving model information in knowledge base 2025-05-09 17:50:15 +08:00
CaptainB
1e80a6136a chore: i18n 2025-05-09 17:20:31 +08:00
wxg0103
deb7268be1 refactor: i18n 2025-05-09 14:37:14 +08:00
CaptainB
40d9954c3b chore: i18n 2025-05-09 11:49:07 +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
wxg0103
0401c01c93 refactor: user add role setting 2025-05-08 10:51:01 +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
wxg0103
a90f6c89cb refactor: email setting 2025-05-07 18:09:45 +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
CaptainB
bcc7c1acf1 refactor: add noqa comments to suppress linting warnings for folder type retrieval 2025-05-07 12:03:00 +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
1448927f4e feat: add ToolFolderFlatSerializer for flat folder serialization in Tool API 2025-05-07 10:29:23 +08:00
CaptainB
4cb513dd3f feat: enhance Tool API to return folder and tool structure for a given folder ID 2025-05-07 10:05:53 +08:00
shaohuzhang1
115e11052c
feat: Resources authorization (#3039) 2025-05-06 18:35:11 +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
wxg0103
3e9069aac1 refactor: bailian 2025-05-06 15:03:31 +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
wxg0103
132fd1b84d refactor: i18n 2025-04-29 15:45:47 +08:00
CaptainB
3b5a02307c refactor: celery config 2025-04-29 11:48:15 +08:00
CaptainB
870fabe187 chore: add init file for every folder 2025-04-29 10:31:49 +08:00
CaptainB
770089e432 feat: add initial implementation of document and paragraph models with serializers 2025-04-29 10:04:34 +08:00
CaptainB
8c362b0f99 feat: update translation strings and add new error messages in django.po 2025-04-28 18:41:41 +08:00
wxg0103
06f834b7e3 feat: user manage 2025-04-28 17:36:56 +08:00
shaohuzhang1
5481b8a2aa feat: auth 2025-04-28 14:41:46 +08:00
shaohuzhang1
118db9dd14
fix: authentication errors (#3012) 2025-04-28 13:03:54 +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
shaohuzhang1
c79479d80b
feat: User profile returns permission role information (#3005) 2025-04-27 18:27:35 +08:00
shaohuzhang1
7bda26d92a
feat: Improve workspace resource authorization (#3004) 2025-04-27 18:14:50 +08:00
wxg0103
7aa294db38 feat: support create user 2025-04-27 17:59:47 +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
wxg0103
bca128ec39 feat: support create user 2025-04-27 16:26:40 +08:00
CaptainB
b1d13f501f feat: reduce module depth limit from 3 to 2 2025-04-27 10:46:34 +08:00
CaptainB
bb4b35bfe8 feat: enhance module depth validation with current depth tracking 2025-04-27 10:42:18 +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
wxg0103
83ace97ecc refactor: model 2025-04-25 18:12:55 +08:00
wxg0103
7f492b4d92 refactor: openai 2025-04-25 17:53:22 +08:00
CaptainB
57c6c9916e feat: implement module depth validation and refactor check_depth method 2025-04-25 15:37:44 +08:00
CaptainB
fdb7aeb47b feat: implement module depth validation and refactor check_depth method 2025-04-25 15:36:27 +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
CaptainB
f08b551a72 chore: fix typo. 2025-04-25 13:32:26 +08:00
wxg0103
ff41b1ff6e refactor: tokens 2025-04-25 10:17:50 +08:00
CaptainB
f05a4a67c5 feat: refactor response serializers for model parameters and lists 2025-04-24 13:42:58 +08:00
CaptainB
4c38e8a82b feat: add dynamic SQL execution and pagination functionality with custom query compiler 2025-04-24 11:37:11 +08:00
CaptainB
fbb4e7d449 feat: add __init__.py file to initialize the package 2025-04-24 11:10:58 +08:00
CaptainB
21097d7164 feat: add depth validation for module creation to limit hierarchy to 3 levels 2025-04-24 10:49:07 +08:00
CaptainB
91f16aa394 feat: add ToolEditRequest serializer for editing tool properties 2025-04-23 11:34:19 +08:00
CaptainB
a9d962c1f1 feat: implement RestrictedUnpickler for secure deserialization and enhance import functionality 2025-04-23 10:33:26 +08:00
wxg0103
cc0e431605 refactor: remove image params 2025-04-22 18:22:50 +08:00
CaptainB
11331a60e0 feat: enhance Tool API by adding module_id and tool_type parameters, and refactor query handling 2025-04-22 17:53:47 +08:00
CaptainB
bbd7079166 feat: add import and export endpoints to ToolView for workspace tools 2025-04-22 17:06:39 +08:00
wxg0103
55705593a9 feat: remove qwen 2025-04-22 14:35:09 +08:00
wxg0103
6d4f5dc1c3 feat: add model setting 2025-04-22 10:45:11 +08:00
CaptainB
220168c4bf chore: add some i18n code 2025-04-21 13:23:22 +08:00
CaptainB
a8cda7d4a4 feat: consolidate module and tool views by removing redundant classes and updating API endpoints 2025-04-21 10:59:42 +08:00
wxg0103
39841cb344 feat: add model setting 2025-04-21 10:24:13 +08:00
wxg0103
d3346deb62 feat: add model setting 2025-04-21 09:10:25 +08:00
CaptainB
16cafec6af fix: update module and tool URLs to avoid duplicate paths for ModuleTreeView and ToolTreeView 2025-04-18 21:16:31 +08:00
CaptainB
2c0cb5b6e6 feat: update module and tool delete APIs to use DefaultResultSerializer for responses 2025-04-18 19:11:26 +08:00
CaptainB
7c15082e53 feat: update API documentation to specify retrieval of tool by module 2025-04-18 19:05:53 +08:00
CaptainB
83b494f700 feat: add DefaultResultSerializer to module and tool delete operations responses 2025-04-18 18:58:49 +08:00
CaptainB
fe032822f4 feat: add ToolTreeView and ToolTreeReadAPI for retrieving tools by workspace and module 2025-04-18 17:54:06 +08:00
wxg0103
6f6b163416 feat: add model setting 2025-04-18 17:45:15 +08:00
CaptainB
9b0f9b04b7 refactor: remove tool_type field and update imports in tool model 2025-04-18 17:08:59 +08:00
CaptainB
0b8f5d7597 feat: implement CRUD operations for tools with API views 2025-04-18 16:42:46 +08:00
CaptainB
32111f6a8f fix: improve module tree query to use Q object for filtering by workspace_id 2025-04-18 15:17:04 +08:00
CaptainB
8f0dd16949 fix: improve module tree query to use Q object for filtering by workspace_id 2025-04-18 15:01:34 +08:00
liqiang-fit2cloud
ffe8900fb2 build: init directory. 2025-04-18 14:10:16 +08:00
CaptainB
d49fd74305 feat: add ToolModule model and API for managing tool modules with workspace support 2025-04-18 13:33:29 +08:00
shaohuzhang1
dcb77bbe16
feat: Captcha (#2913) 2025-04-17 19:16:54 +08:00
wxg0103
063393d659 feat: add model setting 2025-04-17 18:05:31 +08:00
wxg0103
946de675ff feat: add model setting 2025-04-17 18:01:33 +08:00
shaohuzhang1
934871f5c6 feat:Use distcache 2025-04-17 17:16:45 +08:00
shaohuzhang1
9108971fdc
fix: Swagger warning(#2909) 2025-04-17 14:27:58 +08:00
CaptainB
4c23b9aded feat: implement Tool model and related API for Tool management 2025-04-17 14:11:57 +08:00
shaohuzhang1
342ef6df30 feat: authentication demo 2025-04-17 10:40:07 +08:00
shaohuzhang1
3351968969 feat: authentication demo 2025-04-17 10:35:02 +08:00
shaohuzhang1
5f902ef5de
feat: authentication (#2906) 2025-04-16 20:09:00 +08:00
CaptainB
342f984a3b feat: update UUID generation to use uuid.uuid7 and add uuid-utils dependency 2025-04-16 15:02:37 +08:00
shaohuzhang1
04642eb497 feat: authentication 2025-04-15 20:37:38 +08:00
CaptainB
5ffd3423ff feat: load environment variables from .env file and update config loading logic 2025-04-15 15:09:26 +08:00
shaohuzhang1
e58a5507a9 init project 2025-04-14 20:11:23 +08:00
CaptainB
c78a6babb6 ci: v2 2025-04-11 15:47:59 +08:00
wxg0103
a4f27249ed fix: openai error 2025-04-10 14:41:05 +08:00
liqiang-fit2cloud
4ae02c8d3e security: fix reverse shell vulnerability in function library. 2025-04-09 10:01:11 +08:00
shaohuzhang1
3557ea50fa
fix: Missing parameters such as character length when creating a knowledge base (#2827) 2025-04-08 17:24:33 +08:00
shaohuzhang1
1a704f1c25
fix: Workflow debugging for authorized applications will result in an error message indicating unauthorized access to the model (#2819) 2025-04-08 10:51:35 +08:00
wxg0103
7ca0a7bd02 fix: Missing fields in exported logs
--bug=1054500 --user=王孝刚 【应用】对话日志导出,没有携带用户信息 https://www.tapd.cn/57709429/s/1681984
2025-04-08 10:12:20 +08:00
shaohuzhang1
5e43bb9d2a
fix: jieba 分词使用全模式 (#2813) 2025-04-07 18:51:32 +08:00
shaohuzhang1
76d050bea4
feat: New condition for determining whether the discriminator is true or not (#2809) 2025-04-07 14:07:30 +08:00
wxg0103
add9d1bab8 fix: In the permission settings, the knowledge base list does not distinguish between knowledge base types, and all are marked with the icon of the general knowledge base.
--bug=1054142 --user=王孝刚 【团队成员】权限设置中,知识库列表没有区分知识库类型,都用通用知识库的图标标识 https://www.tapd.cn/57709429/s/1681104
2025-04-07 13:53:39 +08:00
shaohuzhang1
867c53984b
fix: The local rearrangement model cannot be loaded (#2805) 2025-04-07 11:22:01 +08:00
CaptainB
560890f717 fix: limit chapter title length to 256 characters in pdf_split_handle.py
--bug=1054363 --user=刘瑞斌 【知识库】导入PDF文档,分段标题长度超长时,没有自动截断 https://www.tapd.cn/57709429/s/1681044
2025-04-07 10:54:59 +08:00
CaptainB
675adeeb63 fix: exclude macOS specific files from zip processing
--bug=1054264 --user=刘瑞斌 【知识库】QA问答对模式,导入在mac上压缩的zip文件,会出现2个乱码文档 https://www.tapd.cn/57709429/s/1681034
2025-04-07 10:37:06 +08:00
shaohuzhang1
1eccb54199
fix: Knowledge base retrieval segmentation sorted by relevance (#2791) 2025-04-03 10:57:12 +08:00
shaohuzhang1
9d6451b95b
fix: The interface for obtaining model metadata cannot access public models (#2787) 2025-04-02 20:10:20 +08:00
shaohuzhang1
add1cba8cb
feat: Swagger document response for adding OpenAI interface (#2786) 2025-04-02 19:59:57 +08:00
shaohuzhang1
ac5a9d01a8
fix: When other users download the public model, they cannot obtain the download data (#2785) 2025-04-02 18:29:25 +08:00
CaptainB
7b213f547d fix: update default voice type and options in VolcanicEngineTTSModelGeneralParams 2025-04-02 18:25:06 +08:00
shaohuzhang1
15feca802a
fix: OpenAI Vector Model Using Openai Supplier (#2781) 2025-04-02 17:45:18 +08:00
wxg0103
2686e76c8a fix: xinference rerank error
--bug=1054256 --user=王孝刚 【模型】添加硅基流动的重排序模型失败 https://www.tapd.cn/57709429/s/1679612
2025-04-02 16:54:58 +08:00
CaptainB
27bc01d442 fix: skip macOS specific metadata directories and files in zip parsing
--bug=1054264 --user=刘瑞斌 【知识库】QA问答对模式,导入在mac上压缩的zip文件,会出现2个乱码文档 https://www.tapd.cn/57709429/s/1679674
2025-04-02 16:06:36 +08:00
wxg0103
44c1d35b1f fix: siliconCloud rerank error
--bug=1054256 --user=王孝刚 【模型】添加硅基流动的重排序模型失败 https://www.tapd.cn/57709429/s/1679612
2025-04-02 15:17:39 +08:00
wxg0103
6d7b5eb219 fix: Increase log output 2025-04-02 14:17:48 +08:00
shaohuzhang1
27d4603b02
fix: Embedding dialogue asker parameter does not take effect (#2773) 2025-04-02 14:00:28 +08:00
wxg0103
5b2baaf04d fix: i18n error
--bug=1054232 --user=王孝刚 系统设置:操作菜单中的操作在中文模式下显示英文 https://www.tapd.cn/57709429/s/1679409
2025-04-02 10:46:39 +08:00
shaohuzhang1
2991f0b640
perf: Optimize word segmentation retrieval (#2767) 2025-04-01 19:11:16 +08:00
wxg0103
6fde8ec80f fix: openai need streaming 2025-04-01 16:58:08 +08:00
shaohuzhang1
4b9cecd4d1
feat: Knowledge base generation problem (#2760) 2025-04-01 12:46:30 +08:00
shaohuzhang1
e7c3169898
feat: doc auth (#2752) 2025-03-31 19:02:56 +08:00
CaptainB
7afc1da0af fix: handle non-string message types in function_lib_serializer 2025-03-31 18:29:01 +08:00
wxg0103
6aa0e9b5e4 refactor: i18n
--bug=1054121 --user=王孝刚 操作日志:修改应用的访问限制在操作日志中显示为修改应用的access token https://www.tapd.cn/57709429/s/1678535
2025-03-31 17:35:41 +08:00
shaohuzhang1
9750c6d605
fix: garbled zip import file names (#2747) 2025-03-31 16:22:39 +08:00
wxg0103
a2b6620b10 refactor: azure llm params 2025-03-31 15:31:52 +08:00
shaohuzhang1
1566ae7fbe
fix: Application deleted, workflow page error reported (#2743) 2025-03-31 14:31:53 +08:00
shaohuzhang1
b3feb243d3
fix: After setting the function library to private, the workflow used should report an error stating that the current function is not authorized to be used (#2742) 2025-03-31 13:58:38 +08:00
CaptainB
cb104cc211 chore: fix typo 2025-03-31 11:34:43 +08:00
shaohuzhang1
7a99c78840
fix: Processing for document export sheet with more than 32 characters (#2740) 2025-03-31 11:17:25 +08:00
shaohuzhang1
a07df46f9d
fix: Fix some knowledge base import errors (#2739) 2025-03-31 10:29:54 +08:00
CaptainB
54c4293482 fix: ensure init_field_list defaults to an empty list in function_lib_serializer
--bug=1054092 --user=刘瑞斌 【函数库】导入历史版本的函数失败 https://www.tapd.cn/57709429/s/1678044
2025-03-28 15:53:06 +08:00
CaptainB
a799026d52 fix: ensure init_field_list defaults to an empty list in function_lib_serializer
--bug=1054092 --user=刘瑞斌 【函数库】导入历史版本的函数失败 https://www.tapd.cn/57709429/s/1678044
2025-03-28 15:51:48 +08:00
wxg0103
f69346f2bc refactor: i18n 2025-03-28 14:25:21 +08:00
shaohuzhang1
dcc80a4dca
fix: Every time a vectorized document is generated, the entire vectorized data of the document is deleted (#2721) 2025-03-28 14:15:48 +08:00
wxg0103
2fe4248785 refactor: qwq model 2025-03-28 14:05:33 +08:00
CaptainB
2b079a4144 fix: update function names and descriptions for clarity in function_lib 2025-03-28 11:52:20 +08:00
wxg0103
4ffec85e9b refactor: Optimization of operation menu
--bug=1054069 --user=王孝刚 【操作日志】-操作菜单优化建议 https://www.tapd.cn/57709429/s/1677900
2025-03-28 11:45:51 +08:00
wxg0103
d282795644 refactor: i18n 2025-03-28 09:31:48 +08:00
wxg0103
5eee6bfb6c fix: Modify download template prompt
--bug=1054044 --user=王孝刚 【知识库】上传文档-QA问答对-下载Excel/CSV模版-显示问题答案最长不超过4096个字符,实际上可以导入超过4096个字符的数据 https://www.tapd.cn/57709429/s/1677605
2025-03-27 18:50:12 +08:00
CaptainB
97fb4a5cea fix: format MCP tool messages with detailed JSON representation 2025-03-27 16:51:56 +08:00
wxg0103
c66f79ad5a refactor: log menu 2025-03-27 16:14:24 +08:00
wxg0103
f82ba3c4b8 fix: qwq-plus only supported stream 2025-03-27 10:18:58 +08:00
CaptainB
0e29ce28cf chore: remove unused MCP response function from base_chat_node.py 2025-03-27 10:05:37 +08:00
CaptainB
601b03d84e fix: ensure tool parameters are properly handled by reloading JSON
--bug=1053980 --user=刘瑞斌 【应用】MCP节点的工具参数引用参数时,对话过程中参数值发生变化,MCP节点没有获取最新的参数值 https://www.tapd.cn/57709429/s/1676830
2025-03-26 19:15:30 +08:00
CaptainB
1e8e3a90aa fix: handle audio generation failure by raising an exception 2025-03-26 17:15:23 +08:00
shaohuzhang1
db772b1d1c
fix: Segmented filtering of paragraphs with empty parent title content (#2693) 2025-03-26 16:02:26 +08:00
shaohuzhang1
a0ee5c9441
fix: Audit log login did not record user (#2691) 2025-03-26 15:41:11 +08:00
wxg0103
b1aa1f7a53 refactor: i18n 2025-03-26 15:35:03 +08:00
wxg0103
a303f24974 refactor: i18n 2025-03-26 14:45:40 +08:00
CaptainB
bd7dbb13f3 fix: update icon paths in function library to use correct UI directory structure 2025-03-26 14:09:20 +08:00
CaptainB
d27e5a4c01 chore: fix warning 2025-03-26 13:35:29 +08:00
CaptainB
a6703c9889 fix: update icon paths in function library to use correct directory structure 2025-03-26 13:35:29 +08:00
CaptainB
436e43dd04 feat: enhance form handling with dynamic input fields and reference content retrieval 2025-03-26 12:43:51 +08:00
CaptainB
1b6b021226 fix: set is_active to False and update init_params handling in function_lib_serializer
--bug=1053923 --user=刘瑞斌 【函数库】创建函数后函数状态为启用,并非是禁用 https://www.tapd.cn/57709429/s/1676263

--bug=1053928 --user=刘瑞斌 【函数库】设置过启动参数的函数,删除启动参数,但实际依然有保留 https://www.tapd.cn/57709429/s/1676269
2025-03-26 10:55:35 +08:00
shaohuzhang1
55cdd0a708
fix: Zip with title cannot be parsed (#2683) 2025-03-26 10:31:31 +08:00
shaohuzhang1
f9d536f5a2
feat: Audit log add operation object (#2681) 2025-03-25 19:07:02 +08:00
CaptainB
83140b5f1d refactor: update label for API Key in input fields across function library
--bug=1053890 --user=刘瑞斌 【函数库】博查、Google、LangSearch查询函数的启动参数中,apikey建议改为 API Key https://www.tapd.cn/57709429/s/1675986
2025-03-25 17:34:15 +08:00
CaptainB
f19316639e chore: fix typo. 2025-03-25 15:26:23 +08:00
CaptainB
564e781ba2 chore: fix typo. 2025-03-25 15:25:31 +08:00
CaptainB
2f20868ca6 fix: handle empty message case in encryption function
--bug=1053881 --user=刘瑞斌 【函数库】-编辑函数,修改启动参数的必填选项后,保存函数报错 https://www.tapd.cn/57709429/s/1675682
2025-03-25 13:12:02 +08:00
CaptainB
64df9cf437 fix: improve required field validation for database connection parameters
--bug=1053849 --user=刘瑞斌 【函数库】- PgSQL 启动参数的先后顺序调整 https://www.tapd.cn/57709429/s/1675675
2025-03-25 12:53:46 +08:00
CaptainB
563516f835 feat: AI chat node mcp server config 2025-03-24 18:38:54 +08:00
CaptainB
2d6ac806ff feat: add MCP server tools integration and UI components 2025-03-24 18:38:54 +08:00
CaptainB
98ef6e5775 fix: improve error handling for MySQL connection
--bug=1053828 --user=刘瑞斌 【函数】内置的MySQL查询函数,在启动参数配错后,应用调用的返回结果为None,没有输出异常信息 https://www.tapd.cn/57709429/s/1675168
2025-03-24 17:50:02 +08:00
wxg0103
2faabbe392 refactor: bailian 2025-03-21 11:02:43 +08:00
wxg0103
e22fc95ee9 refactor: Optimization of Q&A page
--story=1018176 --user=王孝刚 【问答页面】优化对话页面显示 https://www.tapd.cn/57709429/s/1674146
2025-03-21 10:07:07 +08:00
CaptainB
72398408c5 ci: update langchain version 2025-03-20 18:55:43 +08:00
junjun
642a284b33 feat: export operate log 2025-03-20 16:41:59 +08:00
wxg0103
3951a15e9d refactor: i18n 2025-03-20 14:49:23 +08:00
CaptainB
27561410e5 fix: handle param value is blank 2025-03-20 14:21:31 +08:00
CaptainB
47849fc1a5 fix: Add FlibInstance to allowed classes and use restricted_loads for deserialization 2025-03-20 13:53:37 +08:00
shaohuzhang1
f19ad24907
fix: Application import deserialization vulnerability #2604 (#2633) 2025-03-20 12:10:06 +08:00
shaohuzhang1
4a681297e0
fix: Simple application user did not successfully set up (#2625) 2025-03-19 18:23:05 +08:00
shaohuzhang1
470105f895
feat: Support application、setting、user log recorder (#2617) 2025-03-19 15:45:10 +08:00
CaptainB
9e62e81158 feat: Add functionality to create and manage internal functions with MySQL and PostgreSQL queries 2025-03-19 14:34:54 +08:00
shaohuzhang1
b7accc54e7
fix: Logging error for logged in user (#2613) 2025-03-19 12:07:46 +08:00
CaptainB
4b4b84a220 feat: Add functionality to create and manage internal functions with MySQL and PostgreSQL queries 2025-03-19 12:06:33 +08:00
shaohuzhang1
5ec94860b2
perf: Enhance Word parsing (#2612) 2025-03-19 12:04:43 +08:00
shaohuzhang1
8b52927b4f
fix: The float values collected by the form will be treated as ints when the decimal part is 0, resulting in a type error (#2601) 2025-03-18 16:40:15 +08:00
shaohuzhang1
1a7f484a62
feat: User information in the application conversation log. (#2599) 2025-03-18 15:50:30 +08:00
CaptainB
aab6a2cdf3 refactor: Improve parameter handling in function execution 2025-03-18 14:03:48 +08:00
CaptainB
bf6cfface6 chore: add some encoder type 2025-03-18 13:16:28 +08:00
CaptainB
075646481d chore: fix some log recorder 2025-03-17 19:13:16 +08:00
CaptainB
f6586a481b refactor: Add mysql function log recorder 2025-03-17 17:53:44 +08:00
CaptainB
a3cd92c503 refactor: Add mysql function lib 2025-03-17 17:11:04 +08:00
CaptainB
11f63b4556 refactor: Add postgresql function lib 2025-03-17 17:11:04 +08:00
shaohuzhang1
000a3970e0
fix: Multi process startup document modification executed multiple times (#2581) 2025-03-17 17:00:51 +08:00
shaohuzhang1
be31989ab9
fix: Log annotation acquisition details file type data cannot be serialized (#2579) 2025-03-17 16:45:06 +08:00
CaptainB
9620817a8f feat: Support dataset log recorder 2025-03-17 15:34:41 +08:00
CaptainB
03a705fc93 feat: Support function lib log recorder 2025-03-17 15:34:41 +08:00
shaohuzhang1
d7ef3ba67b feat: Audit Log 2025-03-17 15:34:41 +08:00
wxg0103
6a8d2c1f9c refactor: add enum 2025-03-17 10:33:51 +08:00
CaptainB
510fae6bf1 feat: Support internal functionlib
--story=1017939 --user=刘瑞斌 【函数库】- 支持 系统内置函数 https://www.tapd.cn/57709429/s/1665943
2025-03-17 10:30:25 +08:00
CaptainB
ad0b032384 feat: Support functionlib icon and init_fields
--story=1017947 --user=刘瑞斌 【函数库】- 函数支持配置参数及操作优化 https://www.tapd.cn/57709429/s/1664936
2025-03-17 10:30:25 +08:00
wxg0103
b8960d57c8 fix: schema access failure to https 2025-03-14 16:26:15 +08:00
shaohuzhang1
e11c550fc2
fix: Simple application model dialogue model error not returned (#2514) 2025-03-07 14:15:26 +08:00
shaohuzhang1
82b566d580
fix: Having the same suffix for function node names can result in incorrect value retrieval (#2513) 2025-03-07 13:48:52 +08:00
shaohuzhang1
8b9998a53d
fix: When importing documents from a web knowledge base, if a failed document is encountered, the import will be interrupted (#2511) 2025-03-07 10:19:57 +08:00
shaohuzhang1
b10147ea36
fix: Workflow embedding sub application thinking process switch cannot control thinking process output (#2502) 2025-03-05 15:18:41 +08:00
shaohuzhang1
ea9c5e0ee8
fix: Model addition, error log printing (#2499) 2025-03-05 14:45:50 +08:00
wxg0103
83d51ea866 refactor: i18n 2025-03-05 13:58:27 +08:00
wxg0103
24f67a3c0f fix: csvTemplate error
--bug=1052711 --user=王孝刚 【知识库】英文模式-文档-QA问答对-下载的csv模版内容错误 https://www.tapd.cn/57709429/s/1661565
2025-03-05 12:19:30 +08:00
shaohuzhang1
e420a01e0d
fix: Enterprise WeChat docking sub application cannot output thinking process (#2489) 2025-03-04 19:31:49 +08:00
shaohuzhang1
2157f84c4f
fix: Reference segmentation limit (#2487) 2025-03-04 18:39:49 +08:00
CaptainB
801911d765 refactor: update QwenChatModel to use BaseChatOpenAI and remove unused methods
--bug=1052269 --user=刘瑞斌 【模型】对接千问模型,设置联网参数,maxkb对答不生效。通过python代码调用是可以的。 https://www.tapd.cn/57709429/s/1662132
2025-03-04 17:52:37 +08:00
shaohuzhang1
a75eb9fc86
fix: The newly created simple application dialogue process label is not effective (#2485) 2025-03-04 17:39:31 +08:00
CaptainB
7e3f631dfc refactor: add model_name parameter to AzureChatModel initialization
--bug=1052553 --user=刘瑞斌 【模型】添加 Azure OpenAI 添加DeepSeek -R1 模型报错 https://www.tapd.cn/57709429/s/1661953
2025-03-04 16:08:20 +08:00
wxg0103
9deb3f6c49 fix: csvTemplate error
--bug=1052711 --user=王孝刚 【知识库】英文模式-文档-QA问答对-下载的csv模版内容错误 https://www.tapd.cn/57709429/s/1661565
2025-03-04 15:49:01 +08:00
shaohuzhang1
9d5f9fde62
fix: Retrieve the dialogue record list document and confirm the parameters (#2479) 2025-03-04 14:13:36 +08:00
CaptainB
13ce64e51a fix: Compatible with dashscope tts
--bug=1052708 --user=刘瑞斌 【应用】-使用阿里云语音合成模型sambert-zhichu-v1,对话报错 https://www.tapd.cn/57709429/s/1661551
2025-03-04 10:49:36 +08:00
wxg0103
4fc429a8d1 fix: record log content error
--bug=1052670 --user=王孝刚 应用-企业微信对接应用后,在企业微信中与应用对话,对话日志中<think></think>思考过程输出了两次 https://www.tapd.cn/57709429/s/1661186
2025-03-03 16:12:43 +08:00
shaohuzhang1
dc79a22ba3
feat: Non streaming response answers_list (#2461) 2025-03-03 14:54:45 +08:00
CaptainB
7cdd188b06 refactor: rename function lib export subfix
--bug=1052638 --user=刘瑞斌 函数库导出后缀名优化 https://www.tapd.cn/57709429/s/1660837
2025-03-03 10:22:49 +08:00
itaa
ed8f8f8a3e
fix: ollama model provider can not set 'num_ctx' etc. parameter #2442 (#2444)
langchain-openai is not compatible with parameter Settings in ollama, such as num_ctx. Therefore, you need to create model instances using langchain-ollama

(cherry picked from commit 42ae7b443d7320ace464e9a12abcbb48d7fabc9c)
2025-02-28 17:45:48 +08:00
CaptainB
dd84da4add fix: swagger show more args 2025-02-28 15:07:51 +08:00
shaohuzhang1
72db45bcc0
fix: Changing the answer does not take effect (#2437) 2025-02-28 11:51:55 +08:00
shaohuzhang1
7d47f97354
fix: Sending error when extracting multiple forms and documents in the workflow (#2434) 2025-02-27 19:34:36 +08:00
wxg0103
badd722f9d refactor: i18n 2025-02-27 18:32:25 +08:00
shaohuzhang1
afaf3d6e26
fix: The workflow cannot function properly after the conversation flow is disconnected (#2428) 2025-02-27 14:21:47 +08:00
CaptainB
c433c03fc0 fix: Fix variable assign num not working
--bug=1052497 --user=刘瑞斌 【变量赋值】-将全局变量赋值为num类型,输出时报错 https://www.tapd.cn/57709429/s/1659733
2025-02-27 12:08:24 +08:00
CaptainB
c92ad06092 refactor: Support the generated images horizontal tiling display
--story=1017907 --user=刘瑞斌 【越秀农牧】图片生成节点,生成的图片,希望可以支持横向平铺展示 https://www.tapd.cn/57709429/s/1659636
2025-02-27 10:58:54 +08:00
shaohuzhang1
1811a80ecc
perf: enable gzip. (#2422) 2025-02-27 10:17:04 +08:00
shaohuzhang1
9b93cca790
fix: Import zip report error (#2420) 2025-02-26 17:17:01 +08:00
liqiang-fit2cloud
68b9225818 perf: enable gzip. 2025-02-26 15:54:19 +08:00
shaohuzhang1
eb6f4e8cb8
fix: VLLM Supplier Dialogue Verification (#2412) 2025-02-26 12:04:25 +08:00
shaohuzhang1
50dd8fae41
fix: Paragraph list unsorted (#2411) 2025-02-26 11:52:44 +08:00
shaohuzhang1
413fa6f0c2
fix: When generating a problem, the generated data is incorrect (#2408) 2025-02-26 11:00:07 +08:00
shaohuzhang1
c6c3799d08
fix: the error in obtaining the document list (#2406) 2025-02-26 10:26:42 +08:00
shaohuzhang1
fdb2cbd9ab
fix: File upload failed (#2398) 2025-02-25 17:02:37 +08:00
shaohuzhang1
e1f0f39987
fix: When adding members in bulk, existing members will be automatically passed in, do not affect the joining of other members #2351 (#2397) 2025-02-25 16:54:29 +08:00
shaohuzhang1
218a247684
fix: Dialogue log export, question time does not match on the page (#2396) 2025-02-25 16:17:41 +08:00
CaptainB
5da758e8a1 fix: Fix import function lib permission
--bug=1052409 --user=刘瑞斌 【函数库】导入一个原来是公有的函数,函数的权限依然是公有 https://www.tapd.cn/57709429/s/1658705
2025-02-25 16:03:55 +08:00
CaptainB
666d58659e fix: Fix user cannot export public function lib
--bug=1052408 --user=刘瑞斌 【函数库】导出非当前用户创建的函数,报错 https://www.tapd.cn/57709429/s/1658696
2025-02-25 15:59:52 +08:00
wxg0103
8dc5b94198 refactor: add i18n 2025-02-25 15:20:51 +08:00
wxg0103
09a80188ac refactor: add i18n 2025-02-25 15:20:01 +08:00
shaohuzhang1
8c45e92ee4
feat: The OpenAI interface supports the thought process (#2392) 2025-02-25 14:22:51 +08:00
CaptainB
dfcb724502 refactor: Support string,json,num types 2025-02-25 14:05:58 +08:00
wxg0103
a01f21e3ac refactor: ollama reranker 2025-02-25 11:07:49 +08:00
shaohuzhang1
3aa5dd3694
feat: The demonstration page supports modifying dialogue summaries (#2348) 2025-02-24 18:53:21 +08:00
wxg0103
9185515660 refactor: ollama support rerank 2025-02-24 18:35:37 +08:00
shaohuzhang1
6b72611b72
fix: VLLM supplier recalculates token function (#2375) 2025-02-24 17:15:46 +08:00
shaohuzhang1
2d4deda6b4
docs: Create an application and add workflow parameters (#2374) 2025-02-24 16:33:35 +08:00
CaptainB
3c6b65baa1 fix: Remove vllm image cache
--bug=1052365 --user=刘瑞斌 【github#2353】vllm视觉模型修改最大tokens不生效 https://www.tapd.cn/57709429/s/1657667
2025-02-24 16:30:13 +08:00
shaohuzhang1
fa1886a17e
fix: Workflow execution decimal cannot be serialized (#2372) 2025-02-24 16:29:59 +08:00
shaohuzhang1
8477e957bd
fix: Function library execution role group (#2358) 2025-02-24 10:07:14 +08:00
刘瑞斌
df940686e9
Variable assign (#2346)
* feat: Support variable assign

* feat: Workfloat support variable assign(#2114)

* feat: Support variable assign save input output value

* feat: Execution detail support variable assign(#2114)

* feat: Support variable assign dict array value config

* chore: rename package

---------

Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
2025-02-21 11:00:56 +08:00
shaohuzhang1
bb557fd187
fix: Child application node, input parameters too long, error reported during Q&A (#2347) 2025-02-21 10:28:02 +08:00
Harry
f5155e7f7e
fix: bad code copy (#2341)
Co-authored-by: 杨树海 <yangshuhai@pdnews.cn>
2025-02-21 10:12:41 +08:00
Noven Zhen
66539a75dc
fix bug:when docker build image has bugs due to the multiple definition in django.po (#2337) 2025-02-21 10:10:06 +08:00
wxg0103
cbc6fc4710 refactor: i18n 2025-02-20 17:59:45 +08:00
shaohuzhang1
a06c5c097e fix: Tokens cannot be obtained from the model dialogue 2025-02-19 12:06:55 +08:00
shaohuzhang1
168f822416 refactor: Multi channel recall, adding display of knowledge base titles and other information 2025-02-18 16:56:44 +08:00
shaohuzhang1
7f6c528291
feat: The discriminator supports variables (#2311) 2025-02-18 14:45:11 +08:00
shaohuzhang1
08c734b242
feat: Generate problem support for title variable (#2310) 2025-02-18 14:30:18 +08:00
wxg0103
f00c9ca611 fix: Complete document parameters
--bug=1052250 --user=王孝刚 【API】在swagger上调用对话API ,希望把参数给补充完整。(比如,上传文档的一些参数) https://www.tapd.cn/57709429/s/1655242
2025-02-18 11:19:59 +08:00
wxg0103
7f597b6409 feat: support ollama rerank
--story=1017862 --user=王孝刚 希望支持在 Ollama 中添加 rerank 模型 issue#2243 https://www.tapd.cn/57709429/s/1655139
2025-02-17 18:38:49 +08:00
wxg0103
a071d7c89b fix: Alibaba Cloud full modal docking error
--bug=1052232 --user=王孝刚 【模型设置】-大语言模型/语音识别模型 对接不上阿里云的全模态模型 https://www.tapd.cn/57709429/s/1655034
2025-02-17 18:17:54 +08:00
CaptainB
9249c1756f refactor: Support image_list, document_list while using swagger api
--story=1017867 --user=刘瑞斌 对话API支持上传文件、语音、图像和视频,用于实现maxkb的文件解析及多模态对话#2228 https://www.tapd.cn/57709429/s/1654842
2025-02-17 16:21:28 +08:00
shaohuzhang1
83cd69e5b7
feat: Generate problem support for generating unfinished paragraphs #2174 (#2299) 2025-02-17 15:49:41 +08:00
CaptainB
f45855c34b feat: Import and Export function lib 2025-02-17 10:31:34 +08:00
CaptainB
e2728ce8f7 feat: Support sorting feat for knowledge base documents
--story=1017634 --user=刘瑞斌 知识库文档列表排序功能,可以根据各列属性排序 https://www.tapd.cn/57709429/s/1654419
2025-02-14 17:49:48 +08:00
wxg0103
9c67f6bfe1 refactor: Search ignores capitalization
--story=1017866 --user=王孝刚 【Bug转需求】【搜索】-函数库、模型、团队成员界面搜索不支持忽略大小写 #2126 https://www.tapd.cn/57709429/s/1654282
2025-02-14 10:56:02 +08:00
wxg0103
a8d79c5e60 fix: Defect of embedding application parameters as empty and reporting errors
--bug=1052184 --user=王孝刚 【github#2273】【应用】-有非必填接口传参的编排应用,作为节点加入新的编排应用后,接口传参为空时对话报错 https://www.tapd.cn/57709429/s/1654259
2025-02-14 10:39:28 +08:00
CaptainB
c524fbc0e4 fix: Fix excel merge cells header 2025-02-14 10:26:18 +08:00
shaohuzhang1
051dc13322
perf: Add custom token_ids method (#2264) 2025-02-13 15:40:09 +08:00
wxg0103
20260df9a1 fix: application set language error 2025-02-13 11:45:25 +08:00
shaohuzhang1
4874c0e4b0
fix: AI dialogue context removes form data (#2257) 2025-02-12 16:07:44 +08:00
shaohuzhang1
6a5ec866c0
fix: Lost content during the answering process (#2256) 2025-02-12 15:33:24 +08:00
wxg0103
3de5daccbc refactor: tencent cloud icon 2025-02-12 15:07:36 +08:00
wxg0103
7ab5314665 fix: chat record message export error 2025-02-12 10:28:51 +08:00
wxg0103
1ace2c8d54 feat: support Tencent Cloud
--story=1017838 --user=王孝刚 【模型设置】支持腾讯云的大语言模型  issue#2230 https://www.tapd.cn/57709429/s/1653533
2025-02-11 18:53:22 +08:00
wxg0103
b6a1781a9c feat: support Tencent Cloud
--story=1017838 --user=王孝刚 【模型设置】支持腾讯云的大语言模型  issue#2230 https://www.tapd.cn/57709429/s/1653533
2025-02-11 18:31:50 +08:00
wxg0103
5fde98d317 feat: support Tencent Cloud
--story=1017838 --user=王孝刚 【模型设置】支持腾讯云的大语言模型  issue#2230 https://www.tapd.cn/57709429/s/1653533
2025-02-11 18:01:41 +08:00
CaptainB
89c08b4bb0 fix: Filter blank sheet
--bug=1052097 --user=刘瑞斌 【github#2196】【应用编排】应用对话的时候上传带空白sheet的表格会报错 https://www.tapd.cn/57709429/s/1653414
2025-02-11 15:17:24 +08:00
shaohuzhang1
0e68f4a852
fix: Set application default language (#2206) 2025-02-10 16:16:56 +08:00
shaohuzhang1
a9b2a1cd26
fix: Set default language (#2205) 2025-02-10 16:14:08 +08:00
wxg0103
6482e030ee fix: anthropic image error 2025-02-10 14:17:07 +08:00
shaohuzhang1
3e90a9f102
fix: User default language based on browser language (#2201) 2025-02-10 14:16:34 +08:00
shaohuzhang1
be27e15885
fix: After the workflow form collection node is recalled, the subsequent nodes will not execute (#2195) 2025-02-10 11:36:49 +08:00
shaohuzhang1
041cf09011
fix: The Chinese characters in the form data have been transcoded (#2192) 2025-02-10 11:08:36 +08:00
CaptainB
a325b26704 fix: Fix xinference cannot add deepseek-vl-chat model
--bug=1052077 --user=刘瑞斌 【github#2051】【模型管理】xinference添加issue中提供的视觉模型失败 https://www.tapd.cn/57709429/s/1652171
2025-02-10 11:05:42 +08:00
wxg0103
8530237e3c fix: i18n
--bug=1052079 --user=王孝刚 【应用】-简体中文语境下,导出对话日志,文件中[优化后的问题]字段显示的是繁体中文 https://www.tapd.cn/57709429/s/1652202
2025-02-10 11:05:10 +08:00
shaohuzhang1
cdb804bb88
fix: Workflow non streaming dialogue cannot respond (#2188) 2025-02-10 10:58:41 +08:00
shaohuzhang1
f16f417bd5
fix: The knowledge base table file upload is missing a header (#2185) 2025-02-10 10:22:23 +08:00
shaohuzhang1
ce79e3947d
fix: Simple application dialogue, non streaming, unable to respond to data (#2184) 2025-02-09 22:32:07 +08:00
shaohuzhang1
80a700b890
fix: Excerpt from the thinking process (#2181) 2025-02-09 19:51:50 +08:00
shaohuzhang1
e1f65022a4
fix: When the thinking process label is empty, do not process the thinking process (#2179) 2025-02-09 17:35:31 +08:00
刘瑞斌
061a41c4a1
feat: Support reasoning content #2135 (#2158) 2025-02-08 20:26:53 +08:00
wxg0103
0cc1d00140 chore: model provider drop down options 2025-02-08 19:02:12 +08:00
wxg0103
b90995d3aa fix: defect of incorrect document names after importing CSV and docx files into the knowledge base
--bug=1052039 --user=王孝刚 【知识库】-压缩文件中包含csv、docx文件时,导入到知识库后,文档名称包含文件夹名称 https://www.tapd.cn/57709429/s/1651752
2025-02-08 16:00:57 +08:00
wxg0103
2c03b2859d fix: Fix the defect that the knowledge base vectorization time is inconsistent with the system
--bug=1052060 --user=王孝刚 【知识库】-同步Web站点知识库,同步状态的时间与当前时区不一致,晚8小时 https://www.tapd.cn/57709429/s/1651754
2025-02-08 16:00:47 +08:00
wxg0103
88718c7108 refactor: i18n 2025-02-08 11:28:53 +08:00
wxg0103
b45cd86edb refactor: siliconflow icon 2025-02-07 16:59:02 +08:00
wxg0103
dd80d8614a refactor: siliconflow icon 2025-02-07 16:32:17 +08:00
shaohuzhang1
a3d6083188
fix: XLS, XLSX, CSV file upload lost data (#2150) 2025-02-07 15:13:14 +08:00
shaohuzhang1
b52b01c7e5
fix: Internationalization global variables cannot be retrieved (#2148) 2025-02-07 14:35:28 +08:00