From 9f116ea7e8f7d53a22b4dce10de942d564818a01 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期三, 15 一月 2025 14:01:22 +0800 Subject: [PATCH] tmp --- app/config/env_conf/default_agent_conf.json | 88 +++++++++++++++++++++++++++++++++++++++----- 1 files changed, 78 insertions(+), 10 deletions(-) diff --git a/app/config/env_conf/default_agent_conf.json b/app/config/env_conf/default_agent_conf.json index 70c35f7..396fbb9 100644 --- a/app/config/env_conf/default_agent_conf.json +++ b/app/config/env_conf/default_agent_conf.json @@ -5,28 +5,96 @@ "name": "鎶ヨ〃鍚堝苟", "description": "鎶ヨ〃鍚堝苟", "icon": "intellFrame4", - "agentType": "excelMerge" + "agentType": "excelMerge", + "parameters": { + "retriever_resource": { + "enabled": false + }, + "user_input_form": [ + { + "file-list": { + "allowed_file_extensions": [ + "xlsx" + ], + "allowed_file_types": [ + "document" + ], + "allowed_file_upload_methods": [ + "local_file" + ], + "label": "鏂囨。瑙f瀽绔�", + "max_length": 30, + "options": [], + "required": true, + "type": "file-list", + "variable": "file_list" + } + } + ], + "file_upload":{ + "enabled": false + } + } }, { "id": "basic_excel_talk", "name": "鏅鸿兘鏁版嵁", "description": "鏅鸿兘鏁版嵁", "icon": "intellFrame4", - "agentType": "excelTalk" + "agentType": "excelTalk", + "parameters": { + "retriever_resource": { + "enabled": true + }, + "user_input_form": [ + { + "file-list": { + "allowed_file_extensions": [ + "xlsx", "xls","csv","db" + ], + "allowed_file_types": [ + "document" + ], + "allowed_file_upload_methods": [ + "local_file" + ], + "label": "涓婁紶鏂囨。", + "max_length": 30, + "options": [], + "required": true, + "type": "file-list", + "variable": "file_list", + "fileUploadConfig": { + "file_size_limit": 30, + "batch_count_limit": 5, + "image_file_size_limit": 10, + "video_file_size_limit": 100, + "audio_file_size_limit": 50, + "workflow_file_upload_limit": 100 + } + } + } + ], + "file_upload":{ + "enabled": false + } + } }, { "id": "basic_question_talk", "name": "鍑洪缁勫嵎", "description": "鍑洪缁勫嵎", "icon": "intellFrame4", - "agentType": "questionTalk" - }, - { - "id": "basic_paper_talk", - "name": "鏂囨。鍑哄嵎", - "description": "鏂囨。鍑哄嵎", - "icon": "intellFrame4", - "agentType": "paperTalk" + "agentType": "questionTalk", + "parameters": { + "retriever_resource": { + "enabled": true + }, + "user_input_form": [], + "file_upload":{ + "enabled": false + } + } } ], "bs": [] -- Gitblit v1.8.0