Commit Graph

1273 Commits

Author SHA1 Message Date
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