update prompt

This commit is contained in:
Joanna Ren 2024-11-25 13:41:15 -06:00
parent b6f83e3722
commit 7d66ea3edf
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 },