Commit Graph

623 Commits

Author SHA1 Message Date
shaohuzhang1
3447da58bd
fix: application related knowledge (#3406) 2025-06-26 22:31: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
CaptainB
3aa0847506 refactor: replace print statements with logging for improved error tracking 2025-06-25 16:18:19 +08:00
CaptainB
8f62257fee chore: improve URL formatting and readability in urls.py 2025-06-25 14:51:47 +08:00
CaptainB
83e9a8ce98 feat: add folder_id support in knowledge and tool modules 2025-06-25 12:17:06 +08:00
CaptainB
758f424000 fix: replace get_byte() with get_bytes() for consistency in file handling 2025-06-25 10:54:36 +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
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
shaohuzhang1
af6f88a616
fix: application knowledge list (#3365) 2025-06-24 13:45:36 +08:00
shaohuzhang1
869812d87b
fix: application list (#3359) 2025-06-24 10:29:37 +08:00
shaohuzhang1
dca48d1388
feat: Chat vote (#3355) 2025-06-23 20:19:32 +08:00
shaohuzhang1
b971a2c15f
fix: knowledge list (#3348) 2025-06-23 16:54:48 +08:00
shaohuzhang1
a00860528a
fix: application query (#3344) 2025-06-23 12:09:44 +08:00
CaptainB
3e9c3c0602 feat: update UUID generation to use uuid7 for improved uniqueness across models 2025-06-23 11:19:20 +08:00
shaohuzhang1
06e910b630
feat: application publish (#3342) 2025-06-23 10:35:21 +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
c598a1586e fix: specify application.id in permission query 2025-06-21 12:48:30 +08:00
shaohuzhang1
145e96594f
fix: Complete application permissions (#3338) 2025-06-20 22:31:41 +08:00
shaohuzhang1
e02d417af9
feat: application assess (#3312) 2025-06-19 17:25:46 +08:00
shaohuzhang1
598b72fd12
fix: chat bugs (#3308) 2025-06-19 14:53:24 +08:00
CaptainB
b9304f0fda refactor: improve SQL queries to include user nicknames and enhance readability 2025-06-18 18:15:16 +08:00
zhangzhanwei
4eb594598c feat: Permission update 2025-06-18 15:10:01 +08:00
CaptainB
3c39c508cf fix: set paragraph positions based on maximum existing position 2025-06-17 14:21:11 +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 2025-06-16 11:42:28 +08:00
shaohuzhang1
9558e4053d
feat chat ui (#3253) 2025-06-13 16:17:02 +08:00
shaohuzhang1
466175fb19
perf: workflow chat (#3247) 2025-06-13 12:01:08 +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
CaptainB
a3e2e8b548 fix: change workspace_id field type from UUIDField to CharField in serializers 2025-06-12 17:47:41 +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
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
shaohuzhang1
f5baae4117
fix: application page (#3233) 2025-06-11 12:21: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
e6e3acdfea refactor: log add workspace_id 2025-06-10 14:50:25 +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
shaohuzhang1
5da47a140d
feat: Access restrictions (#3222) 2025-06-09 18:40:56 +08:00
shaohuzhang1
3807cf1960
feat: application chat (#3213) 2025-06-09 16:18:43 +08:00
shaohuzhang1
7d898d870c
feat: add application migrations (#3208) 2025-06-06 22:59:00 +08:00
shaohuzhang1
165de1ad73
feat: chat authentication (#3206) 2025-06-06 22:28:21 +08:00
wxg0103
c3c6a551ae refactor: application add chat_background 2025-06-06 18:26:51 +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
wxg0103
93833849c1 refactor: file to oss 2025-06-06 11:42:31 +08:00
zhangzhanwei
e63572b89b feat: System operate log 2025-06-05 14:12:14 +08:00
shaohuzhang1
1641039fd2
feat: application version (#3194) 2025-06-04 20:14:52 +08:00
shaohuzhang1
bc03deabfc
feat: Resources authorization (#3183) 2025-06-04 13:05:39 +08:00
shaohuzhang1
43654bddaf
feat: application operate api (#3176) 2025-05-30 20:02:39 +08:00
shaohuzhang1
345e588ef6
feat: application list (#3160) 2025-05-28 18:57:09 +08:00
shaohuzhang1
896fb5fa52
feat: application flow (#3152) 2025-05-27 18:24:28 +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
shaohuzhang1
41dd3c4f3d
feat: application view init (#3147) 2025-05-26 18:39:53 +08:00
shaohuzhang1
9e7279e336
feat: application model (#3146) 2025-05-26 16:37:35 +08:00
CaptainB
25da46d13f fix: make desc field optional in KnowledgeFolder and ToolFolder models 2025-05-14 11:31:54 +08:00
shaohuzhang1
5ebfe9b5dd
feat: workflow init (#3072) 2025-05-09 18:55:53 +08:00
CaptainB
c78a6babb6 ci: v2 2025-04-11 15:47:59 +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
76d050bea4
feat: New condition for determining whether the discriminator is true or not (#2809) 2025-04-07 14:07:30 +08:00
shaohuzhang1
1eccb54199
fix: Knowledge base retrieval segmentation sorted by relevance (#2791) 2025-04-03 10:57:12 +08:00
shaohuzhang1
add1cba8cb
feat: Swagger document response for adding OpenAI interface (#2786) 2025-04-02 19:59:57 +08:00
shaohuzhang1
27d4603b02
fix: Embedding dialogue asker parameter does not take effect (#2773) 2025-04-02 14:00:28 +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
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
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
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
436e43dd04 feat: enhance form handling with dynamic input fields and reference content retrieval 2025-03-26 12:43:51 +08:00
shaohuzhang1
f9d536f5a2
feat: Audit log add operation object (#2681) 2025-03-25 19:07:02 +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
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
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
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
shaohuzhang1
be31989ab9
fix: Log annotation acquisition details file type data cannot be serialized (#2579) 2025-03-17 16:45:06 +08:00
shaohuzhang1
d7ef3ba67b feat: Audit Log 2025-03-17 15:34:41 +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
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
b10147ea36
fix: Workflow embedding sub application thinking process switch cannot control thinking process output (#2502) 2025-03-05 15:18:41 +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
shaohuzhang1
a75eb9fc86
fix: The newly created simple application dialogue process label is not effective (#2485) 2025-03-04 17:39:31 +08:00
shaohuzhang1
9d5f9fde62
fix: Retrieve the dialogue record list document and confirm the parameters (#2479) 2025-03-04 14:13: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
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
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
218a247684
fix: Dialogue log export, question time does not match on the page (#2396) 2025-02-25 16:17:41 +08:00
CaptainB
dfcb724502 refactor: Support string,json,num types 2025-02-25 14:05:58 +08:00
shaohuzhang1
3aa5dd3694
feat: The demonstration page supports modifying dialogue summaries (#2348) 2025-02-24 18:53:21 +08:00
shaohuzhang1
2d4deda6b4
docs: Create an application and add workflow parameters (#2374) 2025-02-24 16:33:35 +08:00
shaohuzhang1
fa1886a17e
fix: Workflow execution decimal cannot be serialized (#2372) 2025-02-24 16:29:59 +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
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
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
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
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
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
shaohuzhang1
0e68f4a852
fix: Set application default language (#2206) 2025-02-10 16:16:56 +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
shaohuzhang1
cdb804bb88
fix: Workflow non streaming dialogue cannot respond (#2188) 2025-02-10 10:58:41 +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
shaohuzhang1
b52b01c7e5
fix: Internationalization global variables cannot be retrieved (#2148) 2025-02-07 14:35:28 +08:00
wxg0103
b4d3939d95 fix: Resolve the error message
--bug=1052045 --user=王孝刚 【应用】-应用中使用的函数被删除后,演示中提示函数库被删除,提示错误 https://www.tapd.cn/57709429/s/1651371
2025-02-07 14:28:04 +08:00
shaohuzhang1
5e75b2510d
fix: Fix sub application form unable to recall (#2146) 2025-02-07 11:50:24 +08:00
CaptainB
6dca9b41a0 refactor: override document extract node save_content 2025-01-23 19:18:41 +08:00
shaohuzhang1
2ca4502303
fix: Workflow execution logic error (#2091) 2025-01-23 17:06:58 +08:00
shaohuzhang1
62dd0eb628
fix: The output of the workflow sub node is not wrapped (#2088) 2025-01-23 15:15:32 +08:00
shaohuzhang1
37ebe3e68f
fix: application i18n (#2086) 2025-01-23 11:54:34 +08:00
shaohuzhang1
5772b02280
fix: Application opening statement character limit (#2075) 2025-01-22 17:56:59 +08:00
shaohuzhang1
34b626d425
fix: The simple application of stream=false Q&A will also directly return segmented content when the similarity is not enough (#2073) 2025-01-22 17:36:03 +08:00
shaohuzhang1
cd3d645ece
fix: Workflow global variables (#2069) 2025-01-22 16:46:11 +08:00
shaohuzhang1
13571ef615
fix: Internationalization of Models (#2068) 2025-01-22 16:12:14 +08:00
shaohuzhang1
3c859a6b7b
fix: New workflow application, node name not internationalized (#2066) 2025-01-22 14:54:57 +08:00
CaptainB
495ac39498 fix: Fix autosend and autoplay not working
--bug=1051779 --user=刘瑞斌 【应用】应用演示页面,不能自动播放回答内容 https://www.tapd.cn/57709429/s/1649281
2025-01-22 11:00:27 +08:00
shaohuzhang1
9bd5a221c8
fix: After selecting the answer content in the AI conversation and clicking copy, it cannot be copied (#2062) 2025-01-22 09:57:16 +08:00
wxg0103
29ddee8d06 feat: i18n 2025-01-20 19:00:58 +08:00