ElBruno.AI.Decisions.Ollama 0.6.2

dotnet add package ElBruno.AI.Decisions.Ollama --version 0.6.2
                    
NuGet\Install-Package ElBruno.AI.Decisions.Ollama -Version 0.6.2
                    
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.6.2" />
                    
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.6.2" />
                    
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.6.2
                    
#r "nuget: ElBruno.AI.Decisions.Ollama, 0.6.2"
                    
#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.6.2
                    
#: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.6.2
                    
Install as a Cake Addin
#tool nuget:?package=ElBruno.AI.Decisions.Ollama&version=0.6.2
                    
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.6.2
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 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: live local decision-model compatibility remains unverified. Offline contract checks do not prove model behavior. 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.6.2 71 10/10/2026
0.6.1 68 10/9/2026
0.6.0 71 10/9/2026

Tentative early-access SDK 0.6.2. Live Jev compatibility is unverified. Evaluate before production use. See https://github.com/elbruno/ElBruno.AI.Decisions/releases.