-
-
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 messaging
src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs
BotSharpOptions
dependency injectionSendDelayedMessage
andSendEvent
helper methodsLlmContextOut.cs
Add report summary property to LLM context
src/Plugins/BotSharp.Plugin.ChartHandler/LlmContext/LlmContextOut.cs
ReportSummary
property to LLM output modelEventEmitter.cs
Expose EventEmitter class for external usage
src/Plugins/BotSharp.Plugin.ChatHub/Helpers/EventEmitter.cs
internal
topublic
SendChatEvent
method visibility topublic
util-chart-plot_instruction.liquid
Update LLM template for report summary generation
src/Plugins/BotSharp.Plugin.ChartHandler/data/agents/6745151e-6d46-4a02-8de4-1c4f21c7da95/templates/util-chart-plot_instruction.liquid
report_summary
fieldBotSharp.Plugin.ChartHandler.csproj
Add ChatHub plugin dependency
src/Plugins/BotSharp.Plugin.ChartHandler/BotSharp.Plugin.ChartHandler.csproj
BotSharp.Plugin.ChatHub