ElBruno.AI.Decisions.Ollama 0.8.0

dotnet add package ElBruno.AI.Decisions.Ollama --version 0.8.0
                    
NuGet\Install-Package ElBruno.AI.Decisions.Ollama -Version 0.8.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ElBruno.AI.Decisions.Ollama" Version="0.8.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ElBruno.AI.Decisions.Ollama" Version="0.8.0" />
                    
Directory.Packages.props
<PackageReference Include="ElBruno.AI.Decisions.Ollama" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ElBruno.AI.Decisions.Ollama --version 0.8.0
                    
#r "nuget: ElBruno.AI.Decisions.Ollama, 0.8.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ElBruno.AI.Decisions.Ollama@0.8.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ElBruno.AI.Decisions.Ollama&version=0.8.0
                    
Install as a Cake Addin
#tool nuget:?package=ElBruno.AI.Decisions.Ollama&version=0.8.0
                    
Install as a Cake Tool

ElBruno.AI.Decisions.Ollama

Native local System One decisions through Ollama and the shared .NET 10 IDecisionClient API: Choose, Score and Assess. Uses /v1/systemone, not chat prompting or first-token logprobs.

dotnet add package ElBruno.AI.Decisions.Ollama --version 0.8.0
ollama pull nimble

Requires a running Ollama v0.35.0 or later and a local System One decision model such as nimble, Tev1, clef, or clef-flash, not a general-purpose chat model. No local API key is required.

Quickstart

using ElBruno.AI.Decisions.Ollama;

using var client = new OllamaDecisionClient(new OllamaDecisionOptions
{
    Endpoint = new Uri("http://localhost:11434/"),
    Model = "nimble"
});
var teams = new Dictionary<string, string?>
{
    ["billing"] = "Invoices and payments",
    ["support"] = "Technical problems"
};
var result = await client.ChooseAsync(
    "Please correct my invoice.", "Which team should handle this request?", teams);
Console.WriteLine($"{result.Choice}: {result.Confidence:P1}");

URL template: http://<ollama-host>:11434/v1/systemone. Resource roots append that path; full invocation URLs are preserved.

Illustrative response (not a live test result)

{
  "model": "nimble",
  "answers": {
    "decision": {
      "type": "choice",
      "choice": "billing",
      "probabilities": { "billing": 0.9, "support": 0.1 },
      "confidence": 0.531
    }
  },
  "usage": { "input_tokens": 174, "output_tokens": 1 }
}

Example output: billing: 53.1% (culture-dependent formatting). Confidence measures distribution concentration, 1 - H(p) / ln(N), not calibrated correctness or the selected-label probability.

Choice, Score and Assess preserve top-level System One usage as optional result.Usage. The example reports InputTokens = 174, OutputTokens = 1 and TotalTokens = null, not 175. Missing counters, including reasoning and cached tokens, stay null; reported zero stays zero. Availability depends on the local model and server version. Token counts across models do not imply equivalent computation or cost.

Choice limits depend on the model (typically 2-26 options; API maximum 255). Score supports 2-10 ordered rubric levels and preserves fractional zero-based scores. Assess returns native Noul proposition probability without a hidden boolean threshold. Text requests are limited to 64 KiB, never truncated. The shared API exposes one text question per call, not images or batches.

Tentative early access: published 0.6.2 passed a live Choice, Score and Assess smoke test with nimble on Ollama 0.35.1 on October 13, 2026. Other models and server versions remain unverified. This does not establish calibration or production readiness. Offline contract checks do not prove model behavior. See the validation scope and results. Native System One support requires 0.6.1 or later; 0.6.0 used the old chat-logprob implementation.

Complete sample | Official decision guide | System One API | Repository

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.8.0 110 11/3/2026
0.7.0 116 10/26/2026
0.6.3 124 10/14/2026
0.6.2 116 10/10/2026
0.6.1 113 10/9/2026
0.6.0 111 10/9/2026

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.