From c24b6683f465b198491e69f7e911c42ee76d4d81 Mon Sep 17 00:00:00 2001 From: Haiping Chen <101423@smsassist.com> Date: Thu, 5 Dec 2024 17:32:45 -0600 Subject: [PATCH] Test --- .../data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/agent.json | 2 +- .../instructions/instruction.liquid | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/agent.json b/src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/agent.json index 91ee618c..1f91baca 100644 --- a/src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/agent.json +++ b/src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/agent.json @@ -1,7 +1,7 @@ { "id": "282a7128-69a1-44b0-878c-a9159b88f3b9", "name": "Planner", - "description": "Plan feasible implementation steps for complex user task request", + "description": "Plan feasible implementation steps for complex user task request, including generating sql query", "type": "task", "createdDateTime": "2023-08-27T10:39:00Z", "updatedDateTime": "2023-08-27T14:39:00Z", diff --git a/src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/instructions/instruction.liquid b/src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/instructions/instruction.liquid index 89bcd49b..00da3cd6 100644 --- a/src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/instructions/instruction.liquid +++ b/src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/instructions/instruction.liquid @@ -15,6 +15,7 @@ Don't run the planning process repeatedly if you have already got the result of Function verify_dictionary_term CAN'T generate INSERT SQL Statement. The table name must come from the relevant knowledge. has_found_relevant_knowledge must be true. Do not introduce your actions or intentions in any way. +Only extract the Data related request, ignore the other request, such as schedule job, make phone call etc. {% if global_knowledges != empty -%} =====