- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 582
add report_summary to PlotChart #1146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| PR Reviewer Guide 🔍Here are some key observations to aid the review process: 
 | 
| PR Code Suggestions ✨Explore these optional code suggestions: 
 | |||||||||||
| I will refine this tomorrow. | 
|  | ||
| <ItemGroup> | ||
| <ProjectReference Include="..\..\Infrastructure\BotSharp.Core\BotSharp.Core.csproj" /> | ||
| <ProjectReference Include="..\BotSharp.Plugin.ChatHub\BotSharp.Plugin.ChatHub.csproj" /> | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't reference ChatHub in Core project.
PR Type
Enhancement
Description
Add report summary feature to chart plotting functionality
Implement delayed message sending for chart insights
Expose EventEmitter class for external usage
Update LLM response format to include summary reports
Diagram Walkthrough
File Walkthrough
PlotChartFn.cs
Enhanced chart function with delayed summary messagingsrc/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs
BotSharpOptionsdependency injectionSendDelayedMessageandSendEventhelper methodsLlmContextOut.cs
Add report summary property to LLM contextsrc/Plugins/BotSharp.Plugin.ChartHandler/LlmContext/LlmContextOut.cs
ReportSummaryproperty to LLM output modelEventEmitter.cs
Expose EventEmitter class for external usagesrc/Plugins/BotSharp.Plugin.ChatHub/Helpers/EventEmitter.cs
internaltopublicSendChatEventmethod visibility topublicutil-chart-plot_instruction.liquid
Update LLM template for report summary generationsrc/Plugins/BotSharp.Plugin.ChartHandler/data/agents/6745151e-6d46-4a02-8de4-1c4f21c7da95/templates/util-chart-plot_instruction.liquid
report_summaryfieldBotSharp.Plugin.ChartHandler.csproj
Add ChatHub plugin dependencysrc/Plugins/BotSharp.Plugin.ChartHandler/BotSharp.Plugin.ChartHandler.csproj
BotSharp.Plugin.ChatHub