From 6bac1630e5af5890a6922bdc624e591eb19a12eb Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期四, 13 三月 2025 18:36:07 +0800 Subject: [PATCH] 知识库对接rg --- app/config/env_conf/default_agent_conf.json | 193 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 192 insertions(+), 1 deletions(-) diff --git a/app/config/env_conf/default_agent_conf.json b/app/config/env_conf/default_agent_conf.json index 27eb243..1829e05 100644 --- a/app/config/env_conf/default_agent_conf.json +++ b/app/config/env_conf/default_agent_conf.json @@ -6,6 +6,35 @@ "description": "鎶ヨ〃鍚堝苟", "icon": "intellFrame4", "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" }, @@ -15,6 +44,43 @@ "description": "鏅鸿兘鏁版嵁", "icon": "intellFrame4", "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" }, @@ -24,6 +90,15 @@ "description": "鍑洪缁勫嵎", "icon": "intellFrame4", "agentType": "questionTalk", + "parameters": { + "retriever_resource": { + "enabled": true + }, + "user_input_form": [], + "file_upload":{ + "enabled": false + } + }, "dialogType": "3", "mode": "agent-basic" }, @@ -33,9 +108,125 @@ "description": "鏂囨。鍑哄嵎", "icon": "intellFrame4", "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" + } + ] } \ No newline at end of file -- Gitblit v1.8.0