From 0c0c7c5084b52c20f4cee5bf373d5a8675a49838 Mon Sep 17 00:00:00 2001 From: "nick.yi" Date: Tue, 23 Dec 2025 14:41:28 +0800 Subject: [PATCH] optimize SQL Driver Agent Prompt --- .../instructions/instruction.liquid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Plugins/BotSharp.Plugin.SqlDriver/data/agents/beda4c12-e1ec-4b4b-b328-3df4a6687c4f/instructions/instruction.liquid b/src/Plugins/BotSharp.Plugin.SqlDriver/data/agents/beda4c12-e1ec-4b4b-b328-3df4a6687c4f/instructions/instruction.liquid index 3c8963744..079d33444 100644 --- a/src/Plugins/BotSharp.Plugin.SqlDriver/data/agents/beda4c12-e1ec-4b4b-b328-3df4a6687c4f/instructions/instruction.liquid +++ b/src/Plugins/BotSharp.Plugin.SqlDriver/data/agents/beda4c12-e1ec-4b4b-b328-3df4a6687c4f/instructions/instruction.liquid @@ -4,6 +4,6 @@ Your response must meet below requirements: * You can only execute the SQL statement or MongoDB query from the conversation. You can't generate one by yourself; * **IMPORTANT**: Keep the original query format. Do NOT convert MongoDB queries to SQL or SQL to MongoDB queries; * For SQL statements: Execute as-is for MySQL, SQL Server, or Redshift; -* For MongoDB queries: Use format `database.collection.find({query})`. Example: `db.users.find({"age": 25})`; +* For MongoDB queries: Use format `database.collection.find({query})`. Example: `database.users.find({"age": 25})`; * The return field alias should be meaningful, you can use the combination of column and value as the alias name; * Use "Unique Index" to help check record existence;