Commit Graph

1654 Commits

Author SHA1 Message Date
CaptainB
91f68781fe feat: add Redis Sentinel support to cache settings 2025-06-30 13:27:21 +08:00
CaptainB
0f1d57f0cb feat: enhance error logging for file processing in CSV, XLS, and DOC handlers 2025-06-30 12:49:50 +08:00
CaptainB
82a2203be6 fix: handle string type for limit and improve error logging in pdf_split_handle
--bug=1057493 --user=刘瑞斌 【知识库】上传文档,使用高级分段报错 https://www.tapd.cn/62980211/s/1720110
2025-06-30 12:47:47 +08:00
CaptainB
049c0e0bb0 refactor: improve readability of model data retrieval in model_serializer 2025-06-30 12:29:51 +08:00
shaohuzhang1
91e2dd7ea6
feat: add extends role (#3428) 2025-06-30 11:50:59 +08:00
wxg0103
1107b70a4a refactor: model 2025-06-30 11:16:55 +08:00
shaohuzhang1
8e29562e30
feat: Knowledge chat user permission (#3426) 2025-06-30 11:08:30 +08:00
CaptainB
cc692ffbe1 feat: update permission constants to include ResourcePermission
--bug=1057659 --user=刘瑞斌 【共享资源】企业版-创建共享工具失败 https://www.tapd.cn/62980211/s/1720006
2025-06-30 10:53:58 +08:00
shaohuzhang1
f5ee7b5c25
feat: user resource permission (#3424) 2025-06-30 10:47:28 +08:00
wxg0103
e85aee434c refactor: resource model add create_time update_time 2025-06-30 09:47:58 +08:00
CaptainB
7862c17b21 refactor: remove debug print statement for session timeout in UserToken class 2025-06-28 19:44:19 +08:00
CaptainB
1dc6d6e8ba feat: add session timeout configuration to Config class 2025-06-28 19:43:40 +08:00
shaohuzhang1
d4d7bdde41
feat: user resource permission ui (#3423) 2025-06-27 22:38:00 +08:00
shaohuzhang1
c5bdada6dc
feat: user resource permission (#3422) 2025-06-27 22:22:52 +08:00
CaptainB
327b6cc563 refactor: adjust paragraph position indexing to start from 1 2025-06-27 19:01:05 +08:00
shaohuzhang1
4b4691d689
feat: Chat record details (#3418) 2025-06-27 18:54:05 +08:00
CaptainB
22d86f046a refactor: adjust paragraph positions during migration for consistency 2025-06-27 18:40:52 +08:00
CaptainB
cd25bcf074 refactor: adjust paragraph position handling to insert new paragraphs at the top
--bug=1057642 --user=刘瑞斌 【知识库】文档中添加分段,最后添加的没显示在最上面 https://www.tapd.cn/62980211/s/1719802
2025-06-27 17:59:09 +08:00
shaohuzhang1
276378a9ae
feat: application workflow (#3415) 2025-06-27 17:35:01 +08:00
wxg0103
a7cbba161c refactor: xfembedding model 2025-06-27 16:34:22 +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
zhangzhanwei
62cb3704cf feat: System setting permission 2025-06-27 15:11:57 +08:00
wxg0103
644247b1cb refactor: permission 2025-06-27 15:03:43 +08:00
wxg0103
8f70bacc02 refactor: sql 2025-06-27 14:40:22 +08:00
wxg0103
c1e01e005b feat: role setting 2025-06-27 14:38:32 +08:00
wxg0103
e25544e032 feat: role setting 2025-06-27 14:37:16 +08:00
wxg0103
c5c06254b7 feat: role setting 2025-06-27 14:29:44 +08:00
wxg0103
d0e447774f refactor: model 2025-06-27 11:54:27 +08:00
wxg0103
594ca6cd89 refactor: model 2025-06-27 11:18:02 +08:00
CaptainB
173f7e8321 fix: ensure limit parameter is an integer in split_model initialization
--bug=1057597 --user=刘瑞斌 【知识库】通用知识库高级分段生成预览为空 https://www.tapd.cn/62980211/s/1719490
2025-06-27 11:06:55 +08:00
shaohuzhang1
c95a49c972
fix: application related knowledge (#3407) 2025-06-26 22:38:32 +08:00
shaohuzhang1
3447da58bd
fix: application related knowledge (#3406) 2025-06-26 22:31:12 +08:00
zhangzhanwei
530928af38 fix: System router permission 2025-06-26 21:03:10 +08:00
CaptainB
c2c1d4eeb9 feat: make folder_id optional in KnowledgeSerializer query
--bug=1057489 --user=刘瑞斌 【知识库】-文档迁移功能报错,无法选择文件夹和目标知识库 https://www.tapd.cn/62980211/s/1719276
2025-06-26 20:13:56 +08:00
wxg0103
20010ee227 refactor: model 2025-06-26 20:06:26 +08:00
wxg0103
e1c37636d6 refactor: resource model list 2025-06-26 19:54:28 +08:00
wxg0103
3bab501f08 refactor: i18n 2025-06-26 19:53:56 +08:00
CaptainB
0c2a17ed56 feat: update get_query_set method to accept workspace_manage and is_x_pack_ee parameters 2025-06-26 19:43:45 +08:00
wxg0103
75df321783 refactor: model list 2025-06-26 19:08:23 +08:00
CaptainB
8fc074fecb feat: enhance tool query logic and add user-specific SQL files for improved access control 2025-06-26 19:06:58 +08:00
CaptainB
8b960b96a1 feat: implement automatic authorization and cache refresh for new tool creation 2025-06-26 19:06:58 +08:00
shaohuzhang1
f13a29a611
fix: model share (#3402) 2025-06-26 18:18:19 +08:00
CaptainB
974f61d2d9 feat: update document and paragraph status default to use get_default_status function 2025-06-26 17:48:18 +08:00
shaohuzhang1
8ce3a44ef8
fix: list shard model (#3399) 2025-06-26 17:40:37 +08:00
wxg0103
e8f80094ce refactor: model 2025-06-26 17:26:50 +08:00
CaptainB
d49f448a5f fix: correct image path replacement logic in zip_split_handle 2025-06-26 17:02:34 +08:00
wxg0103
0886459bad refactor: Add log records for image understanding
--bug=1057568 --user=王孝刚 【模型管理】阿里云百炼视觉模型输入错误的基础模型可正常创建 https://www.tapd.cn/62980211/s/1719185
2025-06-26 16:58:18 +08:00
CaptainB
37ac79dc5a feat: import File model in zip_split_handle for enhanced functionality
--bug=1057478 --user=刘瑞斌 【知识库】通用知识库上传ZIP文件,分段失败 https://www.tapd.cn/62980211/s/1719181
2025-06-26 16:56:28 +08:00
CaptainB
e24a2001c5 feat: refine regex patterns in text_split_handle for improved comment detection
--bug=1057526 --user=刘瑞斌 【知识库】markdown文件导入知识库,分段详情中代码块展示异常 https://www.tapd.cn/62980211/s/1719131
2025-06-26 16:23:32 +08:00
CaptainB
56fe631ed6 feat: update knowledge export methods to use knowledge_id for filtering documents and paragraphs
--bug=1057505 --user=刘瑞斌 【知识库】导出知识库是空白的 https://www.tapd.cn/62980211/s/1719080
2025-06-26 15:55:37 +08:00
CaptainB
dfa66c1d23 feat: adjust position handling in paragraph serializer to ensure integer type
--bug=1057467 --user=刘瑞斌 【知识库】企业版-知识库文档中添加分段失败 https://www.tapd.cn/62980211/s/1719011
2025-06-26 15:15:50 +08:00
shaohuzhang1
ce5850b6d4
feat: tool model resource permission (#3395) 2025-06-26 14:20:57 +08:00
wxg0103
ac7e39fb18 refactor: model 2025-06-26 14:15:08 +08:00
CaptainB
ad72517ebe feat: add validation for folder name uniqueness and parent folder assignment
--bug=1057431 --user=刘瑞斌 【工具】文件夹编辑,可以修改名称与同级文件夹重名 https://www.tapd.cn/62980211/s/1718940
2025-06-26 14:06:30 +08:00
wxg0103
183d6c74d5 refactor: knowledge model 2025-06-26 11:40:57 +08:00
wxg0103
f463786710 fix: PASSWORD_REGEX 2025-06-26 10:44:19 +08:00
shaohuzhang1
ea7b8547be
fix: user permission (#3390) 2025-06-25 20:37:27 +08:00
CaptainB
67bb79079f feat: update logging configuration for improved log level management and format 2025-06-25 18:48:10 +08:00
wxg0103
a26c4320dd refactor: user filter 2025-06-25 18:38:50 +08:00
shaohuzhang1
6cdd8ffe39
feat: add download operate permission (#3388) 2025-06-25 17:57:55 +08:00
CaptainB
40fcc5bcb9 refactor: replace logging calls with maxkb_logger for consistency 2025-06-25 17:37:09 +08:00
wxg0103
3a2294e53b fix: chat user change error 2025-06-25 17:30:12 +08:00
CaptainB
a73e0b10f9 refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 17:00:18 +08:00
shaohuzhang1
4a90127a92
fix: Application workspace restrictions (#3385) 2025-06-25 16:56:10 +08:00
CaptainB
fe8f87834d refactor: replace logging with maxkb_logger for consistent logging across modules 2025-06-25 16:46:50 +08:00
wxg0103
fe066aea68 fix: Modify password verification regular expression
--bug=1057464 --user=王孝刚 【对话用户】用户-修改密码-修改密码为「Abc123」,修改成功了-与密码规则不符 https://www.tapd.cn/62980211/s/1718453
2025-06-25 16:29:06 +08:00
CaptainB
3aa0847506 refactor: replace print statements with logging for improved error tracking 2025-06-25 16:18:19 +08:00
wxg0103
13dc156a58 fix: model save failed message error
--bug=1057469 --user=王孝刚 【模型】 删除模型提示信息和需求不符 https://www.tapd.cn/62980211/s/1718440
2025-06-25 16:11:04 +08:00
liqiang-fit2cloud
0e3ae6a8f8 feat: add MAXKB_LOG_LEVEL env. 2025-06-25 16:05:02 +08:00
wxg0103
b06d5685f2 refactor: i18n 2025-06-25 15:15:21 +08:00
CaptainB
f1e6b5adec fix: update FileSerializer operation to use data dictionary for file ID 2025-06-25 15:10:01 +08:00
CaptainB
8f62257fee chore: improve URL formatting and readability in urls.py 2025-06-25 14:51:47 +08:00
wxg0103
2f9052279a fix: VolcanicEngine tts error 2025-06-25 14:47:08 +08:00
wxg0103
9f684dadd2 refactor: add aliyun llm example
--bug=1057451 --user=王孝刚 【模型】-阿里百炼的基础模型中增加千问3的模型,保持和v1相同 https://www.tapd.cn/62980211/s/1718320
2025-06-25 14:34:29 +08:00
wxg0103
44c318e8c8 fix: VolcanicEngine stt error
--bug=1057449 --user=王孝刚 【模型】添加火山语音识别模型失败 https://www.tapd.cn/62980211/s/1718297
2025-06-25 14:28:31 +08:00
CaptainB
2570114edf feat: add icon attribute to internal tool data structure 2025-06-25 12:41:18 +08:00
CaptainB
83e9a8ce98 feat: add folder_id support in knowledge and tool modules 2025-06-25 12:17:06 +08:00
wxg0103
66ab7fdf34 refactor: default embedding model edit workspace_id 2025-06-25 11:42:56 +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
wxg0103
93530e0a9b fix: shared model edit error 2025-06-25 10:52:43 +08:00
wxg0103
f248697794 refactor: ui warning message 2025-06-24 19:14:22 +08:00
shaohuzhang1
fc6b087d75
fix: User delete resource delete policy (#3376) 2025-06-24 18:46:20 +08:00
shaohuzhang1
31c92fb492
fix: Application user delete policy (#3375) 2025-06-24 17:56:20 +08:00
CaptainB
d0f70ab466 feat: add workspace_id field to Create serializer
--bug=1057315 --user=刘瑞斌 【文件夹】-非默认工作空间,在根目录下创建文件夹失败 https://www.tapd.cn/62980211/s/1717846
2025-06-24 17:52:57 +08:00
shaohuzhang1
275ec80701
feat: chat record (#3374) 2025-06-24 17:44:59 +08:00
CaptainB
8d5c3e6068 feat: refresh cache for permission list on knowledge save 2025-06-24 16:11:39 +08:00
wxg0103
c253e8b696 refactor: remove print 2025-06-24 15:30:42 +08:00
liqiang-fit2cloud
66bb8f605d refactor: change logfile name. 2025-06-24 15:13:15 +08:00
shaohuzhang1
e98ecf4c2f
fix: application knowledge list (#3368) 2025-06-24 15:11:08 +08:00
shaohuzhang1
6dfcc5e54d
fix: application knowledge list (#3367) 2025-06-24 15:01:43 +08:00
CaptainB
2ab57802f4 feat: update sys.path to exclude multiple directories in tool_code.py 2025-06-24 14:45:05 +08:00
shaohuzhang1
28efdb49f7
fix: resource permission (#3366) 2025-06-24 14:09:57 +08:00
CaptainB
d459beb1a0 feat: update Python package paths in tool_code.py and Dockerfile 2025-06-24 14:08:18 +08:00
shaohuzhang1
af6f88a616
fix: application knowledge list (#3365) 2025-06-24 13:45:36 +08:00
CaptainB
3a91562289 feat: refactor tool_code.py to use sys.executable and update Dockerfile for diskcache2 installation 2025-06-24 13:35:02 +08:00
shaohuzhang1
1a5db6b5ea
fix: user role (#3362) 2025-06-24 11:14:51 +08:00
wxg0103
a8127efd86 refactor: add valid 2025-06-24 11:09:19 +08:00
shaohuzhang1
869812d87b
fix: application list (#3359) 2025-06-24 10:29:37 +08:00
shaohuzhang1
7f9caca5c7
feat: historical conversation (#3358) 2025-06-23 21:28:10 +08:00