From 3b1bf7da6771bd1d6852d3dcc1f906d5ae5c95d1 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期三, 12 三月 2025 13:49:12 +0800
Subject: [PATCH] 增加内容优化
---
app/config/env_conf/default_agent_conf.json | 209 +++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 204 insertions(+), 5 deletions(-)
diff --git a/app/config/env_conf/default_agent_conf.json b/app/config/env_conf/default_agent_conf.json
index 70c35f7..a37e185 100644
--- a/app/config/env_conf/default_agent_conf.json
+++ b/app/config/env_conf/default_agent_conf.json
@@ -5,29 +5,228 @@
"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
+ }
+ },
+ "dialogType": "3",
+ "mode": "agent-basic"
},
{
"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
+ }
+ },
+ "dialogType": "3",
+ "mode": "agent-basic"
},
{
"id": "basic_question_talk",
"name": "鍑洪缁勫嵎",
"description": "鍑洪缁勫嵎",
"icon": "intellFrame4",
- "agentType": "questionTalk"
+ "agentType": "questionTalk",
+ "parameters": {
+ "retriever_resource": {
+ "enabled": true
+ },
+ "user_input_form": [],
+ "file_upload":{
+ "enabled": false
+ }
+ },
+ "dialogType": "3",
+ "mode": "agent-basic"
},
{
"id": "basic_paper_talk",
"name": "鏂囨。鍑哄嵎",
"description": "鏂囨。鍑哄嵎",
"icon": "intellFrame4",
- "agentType": "paperTalk"
+ "agentType": "paperTalk",
+ "parameters": {
+ "retriever_resource": {
+ "enabled": true
+ },
+ "user_input_form": [],
+ "file_upload":{
+ "enabled": false
+ }
+ },
+ "dialogType": "3",
+ "mode": "agent-basic"
+ },
+ {
+ "id": "basic_report_talk",
+ "name": "鎶ュ憡鐢熸垚",
+ "description": "鎶ュ憡鐢熸垚",
+ "icon": "intellFrame4",
+ "agentType": "reportTalk",
+ "parameters": {
+ "retriever_resource": {
+ "enabled": true
+ },
+ "user_input_form": [],
+ "file_upload":{
+ "enabled": false
+ }
+ },
+ "dialogType": "3",
+ "mode": "agent-basic"
}
],
- "bs": []
+ "complex": [
+ {
+ "id": "c703ad73-faed-4fab-b00c-717766ad71dd",
+ "name": "鐭ヨ瘑搴撲笓瀹�",
+ "description": "鐭ヨ瘑搴撲笓瀹�",
+ "icon": "intellFrame4",
+ "chat_mode": 3,
+ "parameters": {
+ },
+ "dialogType": "4",
+ "mode": "complex-chat"
+ },
+ {
+ "id": "ad127cb5-a1ef-49a3-82ed-6467a670fd10",
+ "name": "鏂囨。鍒嗘瀽涓撳",
+ "description": "鏂囨。鍒嗘瀽涓撳",
+ "icon": "intellFrame4",
+ "chat_mode": 1,
+ "parameters": {
+ },
+ "dialogType": "4",
+ "mode": "complex-chat"
+ },
+ {
+ "id": "c6a9fda3-bfb8-40ef-9510-545766c7d6a0",
+ "name": "鑱旂綉鎼滅储涓撳",
+ "description": "鑱旂綉鎼滅储涓撳",
+ "icon": "intellFrame4",
+ "chat_mode": 2,
+ "parameters": {
+ },
+ "dialogType": "4",
+ "mode": "complex-chat"
+ },
+ {
+ "id": "1974a79d-35bf-446d-95ed-0724380ea65a",
+ "name": "璇浼樺寲涓撳",
+ "description": "璇浼樺寲涓撳",
+ "icon": "intellFrame4",
+ "chat_mode": 4,
+ "parameters": {
+ },
+ "dialogType": "4",
+ "mode": "complex-chat"
+ },
+ {
+ "id": "8c6b05e7-da35-4aa4-8874-32b5bba93e7a",
+ "name": "鎬濈淮瀵煎浘涓撳",
+ "description": "鎬濈淮瀵煎浘涓撳",
+ "icon": "intellFrame4",
+ "chat_mode": 5,
+ "parameters": {
+ },
+ "dialogType": "4",
+ "mode": "complex-chat"
+ },
+ {
+ "id": "8c6b05e7-da35-4aa4-8874-32b5bba93111",
+ "name": "娓呮礂宸ヤ綔娴�",
+ "description": "娓呮礂宸ヤ綔娴�",
+ "icon": "intellFrame4",
+ "chat_mode": 7,
+ "parameters": {
+ },
+ "dialogType": "4",
+ "mode": "complex-chat"
+ },
+ {
+ "id": "8c6b05e7-da35-4aa4-8874-32b5bba93222",
+ "name": "灏忔爣棰樺伐浣滄祦",
+ "description": "灏忔爣棰樺伐浣滄祦",
+ "icon": "intellFrame4",
+ "chat_mode": 8,
+ "parameters": {
+ },
+ "dialogType": "4",
+ "mode": "complex-chat"
+ },
+ {
+ "id": "8c6b05e7-da35-4aa4-8874-32b5bba9333",
+ "name": "鎶ュ憡鐢熸垚宸ヤ綔娴�",
+ "description": "鎶ュ憡鐢熸垚宸ヤ綔娴�",
+ "icon": "intellFrame4",
+ "chat_mode": 9,
+ "parameters": {
+ },
+ "dialogType": "4",
+ "mode": "complex-chat"
+ }
+ ]
}
\ No newline at end of file
--
Gitblit v1.8.0