From e6c5e89f09637b8d9ebca6895d781663f12646d6 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期二, 17 十二月 2024 16:43:55 +0800 Subject: [PATCH] dify 文档智能 --- env_conf/menu_conf.json | 74 +++++++++++++++++++++++++++++-------- 1 files changed, 58 insertions(+), 16 deletions(-) diff --git a/env_conf/menu_conf.json b/env_conf/menu_conf.json index 6139123..224189b 100644 --- a/env_conf/menu_conf.json +++ b/env_conf/menu_conf.json @@ -10,8 +10,8 @@ "rank": 100, "dialog": [ { - "id": "1", - "chat_id": "", + "id": "80ee430a-e396-48c4-a12c-7c7cdf5eda51", + "chat_id": "80ee430a-e396-48c4-a12c-7c7cdf5eda51", "chat_type": "report", "agentType": 2 } @@ -26,10 +26,10 @@ "describe": "鍩轰簬鎮ㄤ笂浼犵殑鎶ヨ〃杩涜鍚堝苟锛屽姪鎮ㄥ揩閫熷畬鎴愭姤琛ㄦ暣鍚堜笌鍒嗘瀽", "dialog": [ { - "id": "2", - "chat_id": "", + "id": "basic_excel_merge", + "chat_id": "basic_excel_merge", "chat_type": "excelMerge", - "agentType": 1 + "agentType": 3 } ], "rank": 99 @@ -42,7 +42,14 @@ "desc": "閬嶅巻宸插垱寤虹殑鏂囨。鐭ヨ瘑搴擄紝鐢熸垚瀹屾暣鍜屽噯纭殑绛旀锛屽悓鏃舵樉绀烘潵婧愭枃妗d緵鎮ㄥ弬鑰�", "describe": "鍨傚煙鐭ヨ瘑鐨勯棶绛斿姪鎵嬶紝閽堝浣犵殑鎻愰棶锛屾垜浠皢閬嶅巻宸插垱寤虹殑鏂囨。鐭ヨ瘑搴擄紝鐢熸垚瀹屾暣鍜屽噯纭殑绛旀锛屽悓鏃舵樉绀烘潵婧愭枃妗d緵鎮ㄥ弬鑰冦��", "rank": 98, - "dialog": [] + "dialog": [ + { + "id": "42e4fcdc-9bea-11ef-ac30-0242ac160006", + "chat_id": "42e4fcdc-9bea-11ef-ac30-0242ac160006", + "chat_type": "knowledgeQA", + "agentType": 1 + } + ] }, { "id": 3, @@ -54,10 +61,10 @@ "rank": 97, "dialog": [ { - "id": "3", - "chat_id": "", + "id": "c684bab4-f05b-423e-8727-f50497e73ebf", + "chat_id": "c684bab4-f05b-423e-8727-f50497e73ebf", "chat_type": "report", - "agentType": 1 + "agentType": 2 } ] }, @@ -69,7 +76,14 @@ "desc": "鑳藉鐞嗚В鍜屽涔犱汉绫荤殑璇█锛屽叿澶囧杞璇濈殑鑳藉姏", "describe": "鎴戝彲浠ョ悊瑙e拰瀛︿範浜虹被鐨勮瑷�锛屽叿澶囧杞璇濈殑鑳藉姏锛岀幇鍦ㄥ拰鎴戝紑濮嬩氦娴佸惂锝�", "rank": 96, - "dialog": [] + "dialog": [ + { + "id": "90d53372-9c02-11ef-bf6b-0242ac160006", + "chat_id": "90d53372-9c02-11ef-bf6b-0242ac160006", + "chat_type": "chat", + "agentType": 1 + } + ] }, { "id": 5, @@ -79,7 +93,14 @@ "desc": "鎮ㄥ彲浠ヤ笂浼犳枃妗f垨娣诲姞鏁版嵁搴撳湴鍧�锛屽皬鏁板彲閽堝浣犳枃妗g殑鏁版嵁杩涜鍒嗘瀽锛屽苟鐢熸垚鎸囧畾鐨勫浘琛�", "describe": "鎮ㄥ彲浠ヤ笂浼犳枃妗f垨娣诲姞鏁版嵁搴撳湴鍧�锛屽皬鏁板彲閽堝浣犳枃妗g殑鏁版嵁杩涜鍒嗘瀽锛屽苟鐢熸垚鎸囧畾鐨勫浘琛�", "rank": 95, - "dialog": [] + "dialog": [ + { + "id": "basic_excel_talk", + "chat_id": "basic_excel_talk", + "chat_type": "excelTalk", + "agentType": 1 + } + ] }, { "id": 6, @@ -89,7 +110,14 @@ "desc": "鍩轰簬鎮ㄤ笂浼犵殑鍥剧墖锛岀敓鎴愬搴旂殑鏂囧瓧鎻忚堪骞跺熀浜庡浘鐗囧唴瀹瑰疄鐜伴棶绛斻��", "describe": "鍩轰簬鎮ㄤ笂浼犵殑鍥剧墖锛岀敓鎴愬搴旂殑鏂囧瓧鎻忚堪骞跺熀浜庡浘鐗囧唴瀹瑰疄鐜伴棶绛斻��", "rank": 94, - "dialog": [] + "dialog": [ + { + "id": "9d75142a-66eb-4e23-b7d4-03efe4584915", + "chat_id": "9d75142a-66eb-4e23-b7d4-03efe4584915", + "chat_type": "imageTalk", + "agentType": 4 + } + ] }, { "id": 7, @@ -99,7 +127,14 @@ "desc": "鎮ㄥ彲浠ヤ笂浼犳枃妗o紝灏忔暟鑳介拡瀵瑰崟鏂囨。鎴栧涓枃妗e唴瀹硅嚜鍔ㄥ嚭棰橈紝楂樻晥渚挎嵎鐨勫府鍔╀綘寤虹珛绉佷汉棰樺簱銆�", "describe": "鎮ㄥ彲浠ヤ笂浼犳枃妗o紝灏忔暟鑳介拡瀵瑰崟鏂囨。鎴栧涓枃妗e唴瀹硅嚜鍔ㄥ嚭棰橈紝楂樻晥渚挎嵎鐨勫府鍔╀綘寤虹珛绉佷汉棰樺簱銆�", "rank": 93, - "dialog": [] + "dialog": [ + { + "id": "basic_paper_talk", + "chat_id": "basic_paper_talk", + "chat_type": "paperTalk", + "agentType": 3 + } + ] }, { "id": 8, @@ -109,7 +144,14 @@ "desc": "鎮ㄥ彲浠ヤ笂浼犳枃妗o紝灏忔暟鑳介拡瀵瑰崟鏂囨。鎴栧涓枃妗e唴瀹硅嚜鍔ㄥ嚭棰橈紝楂樻晥渚挎嵎鐨勫府鍔╀綘寤虹珛绉佷汉棰樺簱銆�", "describe": "鎮ㄥ彲浠ヤ笂浼犳枃妗o紝灏忔暟鑳介拡瀵瑰崟鏂囨。鎴栧涓枃妗e唴瀹硅嚜鍔ㄥ嚭棰橈紝楂樻晥渚挎嵎鐨勫府鍔╀綘寤虹珛绉佷汉棰樺簱銆�", "rank": 92, - "dialog": [] + "dialog": [ + { + "id": "basic_question_talk", + "chat_id": "basic_question_talk", + "chat_type": "questionTalk", + "agentType": 3 + } + ] }, { "id": 9, @@ -121,13 +163,13 @@ "rank": 91, "dialog": [ { - "id": "basic_excel_merge", + "id": "72a69e47-458d-47f9-b534-1859e5da244f", "chat_id": "basic_report_clean", "chat_type": "reportWorkflow", "agentType": 4 }, { - "id": "basic_paper_talk", + "id": "6eda0700-6273-488d-a97c-88d315bd9d8f", "chat_id": "basic_report_clean", "chat_type": "reportWorkflow", "agentType": 4 -- Gitblit v1.8.0