ToolUp.AICookbooks.AgChart
0.35.0
Prefix Reserved
dotnet add package ToolUp.AICookbooks.AgChart --version 0.35.0
NuGet\Install-Package ToolUp.AICookbooks.AgChart -Version 0.35.0
<PackageReference Include="ToolUp.AICookbooks.AgChart" Version="0.35.0" />
<PackageVersion Include="ToolUp.AICookbooks.AgChart" Version="0.35.0" />
<PackageReference Include="ToolUp.AICookbooks.AgChart" />
paket add ToolUp.AICookbooks.AgChart --version 0.35.0
#r "nuget: ToolUp.AICookbooks.AgChart, 0.35.0"
#:package ToolUp.AICookbooks.AgChart@0.35.0
#addin nuget:?package=ToolUp.AICookbooks.AgChart&version=0.35.0
#tool nuget:?package=ToolUp.AICookbooks.AgChart&version=0.35.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 composeWithAI's prompt list, 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)
AIServerApp.create aiProviderFactory providerProfile
|> AIServerApp.withAIConfig {
Branding = branding
SystemPrompt = Some chartGuidance
MaxHistoryMessages = None
AISurfaceDerivation = TrustClient
}
|> AIServerApp.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.35.0)
- ToolUp.Platform.Core (>= 0.35.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.35.0 | 0 | 10/28/2026 |
| 0.34.1 | 34 | 10/27/2026 |
| 0.34.0 | 53 | 10/26/2026 |
| 0.33.0 | 61 | 10/25/2026 |
| 0.32.0 | 61 | 10/24/2026 |
| 0.31.0 | 73 | 10/22/2026 |
| 0.30.0 | 96 | 10/20/2026 |
| 0.29.0 | 93 | 10/19/2026 |
| 0.28.0 | 100 | 10/19/2026 |
| 0.27.0 | 95 | 10/16/2026 |
| 0.26.0 | 110 | 10/12/2026 |
| 0.25.1 | 101 | 10/9/2026 |
| 0.24.1 | 107 | 10/6/2026 |
| 0.23.0 | 114 | 9/23/2026 |
| 0.22.0 | 134 | 8/27/2026 |
| 0.21.0 | 134 | 8/26/2026 |
| 0.20.1 | 139 | 8/20/2026 |
| 0.20.0 | 136 | 8/19/2026 |