Merge branch 'SciSharp:master' into master

This commit is contained in:
hchen2020 2024-11-25 19:23:18 -06:00 committed by GitHub
commit 72821b2b73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -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 }}

View file

@ -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 },