ElBruno.AI.Decisions.Foundry 0.6.2

dotnet add package ElBruno.AI.Decisions.Foundry --version 0.6.2
                    
NuGet\Install-Package ElBruno.AI.Decisions.Foundry -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.Foundry" 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.Foundry" Version="0.6.2" />
                    
Directory.Packages.props
<PackageReference Include="ElBruno.AI.Decisions.Foundry" />
                    
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.Foundry --version 0.6.2
                    
#r "nuget: ElBruno.AI.Decisions.Foundry, 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.Foundry@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.Foundry&version=0.6.2
                    
Install as a Cake Addin
#tool nuget:?package=ElBruno.AI.Decisions.Foundry&version=0.6.2
                    
Install as a Cake Tool

ElBruno.AI.Decisions.Foundry

Use Microsoft-Decision-1 on Microsoft Foundry through the shared .NET 10 IDecisionClient API: Choose, Score and Assess. This is a community SDK, not an OpenAI model or an official Microsoft SDK.

dotnet add package ElBruno.AI.Decisions.Foundry --version 0.6.2

Quickstart

Deploy Microsoft-Decision-1 in Foundry and run az login for the example's default AzureCliCredential authentication:

using ElBruno.AI.Decisions.Foundry;

using var client = new FoundryDecisionClient(new FoundryDecisionOptions
{
    Endpoint = new Uri("https://<resource>.services.ai.azure.com"),
    Model = "<deployment-name>"
});
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: https://<resource>.services.ai.azure.com/providers/microsoft/v1/systemone. Resource roots append that path; full invocation URLs are preserved. Model: your deployment name, for example msft-decision-1, not necessarily the catalog name Microsoft-Decision-1. For API-key authentication, supply ApiKey from application configuration; it takes precedence over CLI authentication. Never hardcode credentials.

Illustrative response

{
  "answers": {
    "decision": {
      "type": "choice",
      "choice": "billing",
      "probabilities": { "billing": 0.99, "support": 0.01 },
      "confidence": 0.95
    }
  }
}

Example output: billing: 95.0% (culture-dependent formatting). Confidence is distinct from the selected-label probability.

Tentative early access: Choice, Score and Assess passed a live API-key smoke test on October 9, 2026. CLI authentication has not been smoke-tested. This does not establish calibration or production readiness. The shared text API exposes one question per call, not images or batches.

Complete sample | Configuration | Microsoft-Decision-1 | 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 63 10/10/2026
0.6.1 55 10/9/2026
0.6.0 64 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.