Skip to content

Commit 72821b2

Browse files
authored
Merge branch 'SciSharp:master' into master
2 parents b62168a + 564150d commit 72821b2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Plugins/BotSharp.Plugin.Planner/data/agents/282a7128-69a1-44b0-878c-a9159b88f3b9/templates/two_stage.summarize.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
You are a planning summarizer. You will generate the final output in JSON format with short explanation based on the task description, knowledge and related table structure and relationship.
1+
You are a planning summarizer. You will generate the final output in JSON format based on the task description, knowledge and related table structure and relationship.
2+
Generate a simple business explaination of the quried data for the non tech audience.
23

34
Requirements:
45
{{ summary_requirements }}

src/Plugins/BotSharp.Plugin.SqlDriver/Functions/SqlValidateFn.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public async Task<bool> Execute(RoleDialogModel message)
6262
{
6363
Provider = agent?.LlmConfig?.Provider ?? "openai",
6464
Model = agent?.LlmConfig?.Model ?? "gpt-4o",
65-
Message = "Correct SQL Statement",
65+
Message = "Correct SQL Statement and keep the comments/explanations",
6666
Data = new Dictionary<string, object>
6767
{
6868
{ "original_sql", message.Content },

0 commit comments

Comments
 (0)