remove report summary
This commit is contained in:
parent
5ed4f906dd
commit
1021c81d72
|
|
@ -88,28 +88,6 @@ public class PlotChartFn : IFunctionCallback
|
|||
}
|
||||
};
|
||||
|
||||
if (!string.IsNullOrEmpty(ret?.ReportSummary))
|
||||
{
|
||||
message.AdditionalMessageWrapper = new()
|
||||
{
|
||||
SendingInterval = 1500,
|
||||
SaveToDb = true,
|
||||
Messages = new List<RoleDialogModel>
|
||||
{
|
||||
new(AgentRole.Assistant, ret.ReportSummary)
|
||||
{
|
||||
MessageId = message.MessageId,
|
||||
MessageLabel = "chart_report_summary",
|
||||
Indication = "Summarizing",
|
||||
CurrentAgentId = message.CurrentAgentId,
|
||||
FunctionName = message.FunctionName,
|
||||
FunctionArgs = message.FunctionArgs,
|
||||
CreatedAt = DateTime.UtcNow
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
message.StopCompletion = true;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,5 @@ You must strictly follow the "Hard Requirements", "Render Requirements", "Code R
|
|||
You must output the response in the following JSON format:
|
||||
{
|
||||
"greeting_message": "A short polite message that informs user that the charts have been generated.",
|
||||
"js_code": "The javascript code that can generate the charts as requested.",
|
||||
"report_summary": "Generate an insightful summary report in markdown format based on the data. You can summarize using one or multiple titles and list the key findings under each title. Bold all key findings and use level-4 headings or smaller (####, #####, etc.). DO NOT make everything in one line."
|
||||
"js_code": "The javascript code that can generate the charts as requested."
|
||||
}
|
||||
Loading…
Reference in a new issue