ToolUp.AICookbooks.AgChart
0.43.0
Prefix Reserved
dotnet add package ToolUp.AICookbooks.AgChart --version 0.43.0
NuGet\Install-Package ToolUp.AICookbooks.AgChart -Version 0.43.0
<PackageReference Include="ToolUp.AICookbooks.AgChart" Version="0.43.0" />
<PackageVersion Include="ToolUp.AICookbooks.AgChart" Version="0.43.0" />
<PackageReference Include="ToolUp.AICookbooks.AgChart" />
paket add ToolUp.AICookbooks.AgChart --version 0.43.0
#r "nuget: ToolUp.AICookbooks.AgChart, 0.43.0"
#:package ToolUp.AICookbooks.AgChart@0.43.0
#addin nuget:?package=ToolUp.AICookbooks.AgChart&version=0.43.0
#tool nuget:?package=ToolUp.AICookbooks.AgChart&version=0.43.0
ToolUp.AICookbooks.AgChart
Community AG Chart + AG Grid prompt-builder companion for ToolUp.AI (Phase 12e).
What it does
Exposes a SystemPromptBuilder a deployment composes into the assistant's SystemPrompt, so the in-app AI assistant authors charts and grids in F# against the typed AgChart / AgGrid bindings rather than guessing at the JS API.
At construction it reads the Community COOKBOOK.md, extracts its ## Critical constraints and ## The shortest possible chart sections via a header-keyed parse, and prepends them under an authoring heading. The extraction is bounded to ~600 tokens (truncated on a line boundary) so the per-conversation cost is predictable.
The read and extraction happen once at construction; the returned builder serves the cached guidance on every turn.
What it does NOT do
Nothing auto-injects this. ToolUp.AI carries no dependency on the UI bindings — the deployment's composition root is the only place that sees both, so wiring it is an explicit opt-in (GP 13: deployments that don't compose it pay nothing).
Enabling
open ToolUp.AI
let chartGuidance = AgChartAICookbook.systemPromptBuilder (Some logger)
serverApp
|> AICompose.withAI (
AIOptions.create aiProviderFactory providerProfile
|> AIOptions.withAIConfig {
Branding = branding
SystemPrompt = Some chartGuidance
Limits = AgentLoopLimits.defaults
AISurfaceDerivation = TrustClient
}
)
|> ServerApp.run
Cookbook resolution
systemPromptBuilder probes for COOKBOOK.Community.md on these paths, most-specific first:
TOOLUP_COOKBOOK_PATH— a file path, or a directory holdingCOOKBOOK.Community.md.- Assembly-relative — the copy this package ships beside the assembly (
content\COOKBOOK.Community.md, copied to the build output). - A dev repo-relative path from the build output back to the source cookbook in
ToolUp.Platform.Client.
buildFromFile takes an explicit path when a deployment wants to supply its own cookbook.
The copied name is deliberately not plain COOKBOOK.md: the Enterprise companion copies its own cookbook into the same output directory, and a shared name lets one silently overwrite the other. The repo's source file keeps the plain name — only the copied and packed artefact is companion-specific. It is exposed as AgChartAICookbook.CookbookFileName.
Degradation
A read failure, an unrecognised cookbook, or an empty extraction produces a single startup Warn on the supplied ILogger and a no-op builder returning an empty string. A deployment that cannot ship its COOKBOOK.md loses the chart-authoring guidance; it does not fail to start.
See also
src/ToolUp.Platform.Client/Client/UI/COOKBOOK.md— the Community authoring reference this reads.ToolUp.AICookbooks.AgGridEnterprise— the Enterprise twin (Sankey / Sunburst / Treemap / OHLC / Sparkline, Set Filter / Master-Detail / Excel export).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- ToolUp.AI.Server (>= 0.43.0)
- ToolUp.Platform.Core (>= 0.43.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ToolUp.AICookbooks.AgChart:
| Package | Downloads |
|---|---|
|
ToolUp.AICookbooks.AgGridEnterprise
Enterprise AG Grid + AG Chart prompt-builder companion for ToolUp.AI. Composes the Enterprise COOKBOOK.md's constraints + shortest-possible into a deployment's system prompt (Sankey/Sunburst/Treemap/OHLC/Sparkline + Set Filter/Master-Detail/Excel/Status Bar/Sidebar). Opt-in; Enterprise-only. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.43.0 | 46 | 11/25/2026 |
| 0.42.1 | 115 | 11/16/2026 |
| 0.41.0 | 118 | 11/7/2026 |
| 0.40.0 | 113 | 11/6/2026 |
| 0.39.0 | 112 | 11/4/2026 |
| 0.38.1 | 120 | 11/1/2026 |
| 0.38.0 | 118 | 10/31/2026 |
| 0.37.0 | 110 | 10/29/2026 |
| 0.36.0 | 112 | 10/29/2026 |
| 0.35.0 | 118 | 10/28/2026 |
| 0.34.1 | 106 | 10/27/2026 |
| 0.34.0 | 109 | 10/26/2026 |
| 0.33.0 | 112 | 10/25/2026 |
| 0.32.0 | 111 | 10/24/2026 |
| 0.31.0 | 119 | 10/22/2026 |
| 0.30.0 | 116 | 10/20/2026 |
| 0.29.0 | 112 | 10/19/2026 |
| 0.28.0 | 116 | 10/19/2026 |
| 0.27.0 | 111 | 10/16/2026 |
| 0.26.0 | 124 | 10/12/2026 |