Merge branch 'SciSharp:master' into master
This commit is contained in:
commit
0a1417d673
|
|
@ -12,7 +12,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.0.0-preview.9.24556.5" />
|
||||
<PackageReference Include="Microsoft.Extensions.AI.Abstractions" Version="9.0.1-preview.1.24570.5" />
|
||||
<PackageReference Include="System.Text.Encodings.Web" Version="8.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
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.
|
||||
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.
|
||||
Generate a simple business explaination of the quried data for the non tech audience.
|
||||
|
||||
Requirements:
|
||||
{{ summary_requirements }}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ public class SqlValidateFn : IFunctionCallback
|
|||
{
|
||||
Provider = agent?.LlmConfig?.Provider ?? "openai",
|
||||
Model = agent?.LlmConfig?.Model ?? "gpt-4o",
|
||||
Message = "Correct SQL Statement",
|
||||
Message = "Correct SQL Statement and keep the comments/explanations",
|
||||
Data = new Dictionary<string, object>
|
||||
{
|
||||
{ "original_sql", message.Content },
|
||||
|
|
|
|||
Loading…
Reference in a new issue