Skip to content

Commit 0a1417d

Browse files
authored
Merge branch 'SciSharp:master' into master
2 parents a187bfb + 23d7218 commit 0a1417d

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/Plugins/BotSharp.Plugin.MicrosoftExtensionsAI/BotSharp.Plugin.MicrosoftExtensionsAI.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</PropertyGroup>
1313

1414
<ItemGroup>
15-
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.0.0-preview.9.24556.5" />
15+
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.0.1-preview.1.24570.5" />
1616
<PackageReference Include="System.Text.Encodings.Web" Version="8.0.0" />
1717
</ItemGroup>
1818

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)