From 29444b794a80fc681e4c676bd7ce5ff5a4345c27 Mon Sep 17 00:00:00 2001 From: lidp <43509927+guoyuhao2330@users.noreply.github.com> Date: Wed, 11 Sep 2024 09:57:10 +0800 Subject: [PATCH 1/2] Update text2sql.json --- agent/templates/text2sql.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/agent/templates/text2sql.json b/agent/templates/text2sql.json index 4dc3232ef13..f5d79b30e9a 100644 --- a/agent/templates/text2sql.json +++ b/agent/templates/text2sql.json @@ -69,6 +69,7 @@ "obj": { "component_name": "Retrieval", "params": { + "empty_response": "Nothing found in DB-Description!", "kb_ids": [ "0ab5de985ba911efad9942010a8a0006" ], @@ -88,6 +89,7 @@ "obj": { "component_name": "Retrieval", "params": { + "empty_response": "Nothing found in DDL!", "kb_ids": [ "b1a6a45e5ba811ef80dc42010a8a0006" ], @@ -107,6 +109,7 @@ "obj": { "component_name": "Retrieval", "params": { + "empty_response": "Nothing found in Q-SQL!" "kb_ids": [ "31257b925b9f11ef9f0142010a8a0004" ], @@ -286,6 +289,7 @@ { "data": { "form": { + "empty_response": "Nothing found in Q-SQL!", "kb_ids": [ "31257b925b9f11ef9f0142010a8a0004" ], @@ -371,6 +375,7 @@ { "data": { "form": { + "empty_response": "Nothing found in DB-Description!", "kb_ids": [ "0ab5de985ba911efad9942010a8a0006" ], @@ -401,6 +406,7 @@ { "data": { "form": { + "empty_response": "Nothing found in DDL!", "kb_ids": [ "b1a6a45e5ba811ef80dc42010a8a0006" ], From 1a9888eced2cd7239b0397a566fb01c76616af20 Mon Sep 17 00:00:00 2001 From: lidp <43509927+guoyuhao2330@users.noreply.github.com> Date: Wed, 11 Sep 2024 10:02:43 +0800 Subject: [PATCH 2/2] Update DB Assistant.json --- agent/templates/DB Assistant.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/agent/templates/DB Assistant.json b/agent/templates/DB Assistant.json index 85d598cb67a..1088388e11b 100644 --- a/agent/templates/DB Assistant.json +++ b/agent/templates/DB Assistant.json @@ -120,6 +120,7 @@ "obj": { "component_name": "Retrieval", "params": { + "empty_response": "Nothing found in DB-Description!", "kb_ids": [ "b510f8f45f6011ef904f0242ac160006" ], @@ -139,6 +140,7 @@ "obj": { "component_name": "Retrieval", "params": { + "empty_response": "Nothing found in DDL!", "kb_ids": [ "9870268e5f6011efb8570242ac160006" ], @@ -158,6 +160,7 @@ "obj": { "component_name": "Retrieval", "params": { + "empty_response": "Nothing found in Q->SQL!", "kb_ids": [ "dd401bcc5b9e11efae770242ac160006" ], @@ -408,6 +411,7 @@ { "data": { "form": { + "empty_response": "Nothing found in Q->SQL!", "kb_ids": [ "dd401bcc5b9e11efae770242ac160006" ], @@ -493,6 +497,7 @@ { "data": { "form": { + "empty_response": "Nothing found in DB-Description!", "kb_ids": [ "b510f8f45f6011ef904f0242ac160006" ], @@ -523,6 +528,7 @@ { "data": { "form": { + "empty_response": "Nothing found in DDL!", "kb_ids": [ "9870268e5f6011efb8570242ac160006" ],