-
-
Notifications
You must be signed in to change notification settings - Fork 579
add chat context #1162
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
add chat context #1162
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
PR Type
Enhancement
Description
Add chat context support to chart generation
Include conversation history in chart plotting requests
Add configurable message limit for context window
Improve instruction template for better report formatting
Diagram Walkthrough
File Walkthrough
PlotChartFn.cs
Integrate chat context into chart plotting
src/Plugins/BotSharp.Plugin.ChartHandler/Functions/PlotChartFn.cs
IRoutingContext
dependency injection for accessing dialog historyservice
ChartHandlerSettings.cs
Add message limit configuration setting
src/Plugins/BotSharp.Plugin.ChartHandler/Settings/ChartHandlerSettings.cs
MessageLimit
property toChartPlotSetting
classutil-chart-plot_instruction.liquid
Enhance report formatting instructions
src/Plugins/BotSharp.Plugin.ChartHandler/data/agents/6745151e-6d46-4a02-8de4-1c4f21c7da95/templates/util-chart-plot_instruction.liquid