ElBruno.AI.Decisions
0.8.0
dotnet add package ElBruno.AI.Decisions --version 0.8.0
NuGet\Install-Package ElBruno.AI.Decisions -Version 0.8.0
<PackageReference Include="ElBruno.AI.Decisions" Version="0.8.0" />
<PackageVersion Include="ElBruno.AI.Decisions" Version="0.8.0" />
<PackageReference Include="ElBruno.AI.Decisions" />
paket add ElBruno.AI.Decisions --version 0.8.0
#r "nuget: ElBruno.AI.Decisions, 0.8.0"
#:package ElBruno.AI.Decisions@0.8.0
#addin nuget:?package=ElBruno.AI.Decisions&version=0.8.0
#tool nuget:?package=ElBruno.AI.Decisions&version=0.8.0
ElBruno.AI.Decisions
Provider-neutral .NET 10 abstractions for decision models. Use one
IDecisionClient API to Choose a label, Score against an ordered rubric, or
Assess a proposition. Results preserve probabilities and provider confidence;
neither is a guarantee of correctness.
dotnet add package ElBruno.AI.Decisions --version 0.8.0
This package contains abstractions and DecisionRoutingChatClient, not a model
or an HTTP provider. Install the provider that matches your deployment:
| Provider | Package | Service |
|---|---|---|
| Foundry | ElBruno.AI.Decisions.Foundry | Microsoft-Decision-1 |
| Ollama | ElBruno.AI.Decisions.Ollama | Local System One decision models |
| Jev | ElBruno.AI.Decisions.Jev | TypeSafe AI Jev |
Shared API example
The application supplies an IDecisionClient from one of those providers:
using ElBruno.AI.Decisions;
static async Task<string> RouteAsync(IDecisionClient client, string request)
{
var teams = new Dictionary<string, string?>
{
["billing"] = "Invoices and payments",
["support"] = "Technical problems"
};
var result = await client.ChooseAsync(
request, "Which team should handle this request?", teams);
return result.Choice;
}
For example, "Please correct my invoice." may return billing. Actual results
depend on the provider, model and input.
Provider-reported usage
All three result types expose optional Usage (DecisionUsage) with nullable
InputTokens, OutputTokens, TotalTokens, ReasoningTokens and CachedTokens.
Missing usage is null; missing fields are null, while reported zero stays zero.
TotalTokens is only a provider-reported total, never input plus output.
Foundry and Ollama preserve native System One usage; the Jev adapter preserves
native Jev usage. Availability depends on the endpoint and model. Token counts
across models do not imply equivalent computation or cost.
See usage semantics.
Tentative early access: evaluate before production use. Foundry Choice,
Score and Assess passed a live API-key smoke test. Published Ollama 0.6.2
passed a live Choice, Score and Assess smoke test with nimble on Ollama
0.35.1 on October 13, 2026. Other Ollama models and live Jev compatibility
remain unverified. These checks do not establish calibration or production
readiness. APIs may change before 1.0.
Repository and quickstarts | Use cases and response examples | Configuration
| 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
- Microsoft.Extensions.AI.Abstractions (>= 10.10.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on ElBruno.AI.Decisions:
| Package | Downloads |
|---|---|
|
ElBruno.AI.Decisions.Foundry
Typed text and image decisions on Microsoft Foundry: Microsoft-Decision-1 through SystemOne and gpt-6-luna through the Azure OpenAI Decisions API. |
|
|
ElBruno.LocalLLMs.Decisions
Local System One decision models for ElBruno.LocalLLMs. Typed choice, score and yes/no decisions with probabilities in a single forward pass, running fully in-process on ONNX Runtime with no server and no Python. |
|
|
ElBruno.AI.Decisions.Ollama
Local System One decision models for ElBruno.AI.Decisions through Ollama v0.35.0 or later: native Choice, Score, and Assess probabilities. Confidence is not calibrated correctness. Tentative early access. |
|
|
ElBruno.AI.Decisions.Jev
Tentative early-access .NET 10 client for TypeSafe AI Jev and local Laya typed decisions: Choice, Score, Noul, model discovery, and Microsoft.Extensions.AI tools, routing and assessments. Live TypeSafe compatibility is unverified; evaluate before production use. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Tentative early-access SDK 0.8.0. Live Jev compatibility is unverified. Evaluate before production use. See https://github.com/elbruno/ElBruno.AI.Decisions/releases.