From b663fe4535cdb13a28936ea21d908e9191a64c16 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期一, 31 三月 2025 11:00:57 +0800
Subject: [PATCH] 问题优化
---
app/config/env_conf/default_agent_conf.json | 220 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 215 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..84d7c40 100644
--- a/app/config/env_conf/default_agent_conf.json
+++ b/app/config/env_conf/default_agent_conf.json
@@ -5,29 +5,239 @@
"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": "9992ba72fff111ef8d890242ac120004",
+ "name": "鐭ヨ瘑搴撲笓瀹�",
+ "description": "鐭ヨ瘑搴撲笓瀹�",
+ "icon": "intellFrame4",
+ "chat_mode": 3,
+ "parameters": {
+ },
+ "dialogType": "1",
+ "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"
+ },
+ {
+ "id": "8f3e8d9c0bab11f0896e0242ac120006",
+ "name": "鐭ヨ瘑搴撲笓瀹�-娣卞害",
+ "description": "鐭ヨ瘑搴撲笓瀹�",
+ "icon": "intellFrame4",
+ "chat_mode": 10,
+ "parameters": {
+ },
+ "dialogType": "1",
+ "mode": "complex-chat"
+ }
+ ]
}
\ No newline at end of file
--
Gitblit v1.8.0