Universal.Operative.Sdk.Discrete.Databricks 2.0.1

dotnet add package Universal.Operative.Sdk.Discrete.Databricks --version 2.0.1
                    
NuGet\Install-Package Universal.Operative.Sdk.Discrete.Databricks -Version 2.0.1
                    
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="Universal.Operative.Sdk.Discrete.Databricks" Version="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Universal.Operative.Sdk.Discrete.Databricks" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Universal.Operative.Sdk.Discrete.Databricks" />
                    
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 Universal.Operative.Sdk.Discrete.Databricks --version 2.0.1
                    
#r "nuget: Universal.Operative.Sdk.Discrete.Databricks, 2.0.1"
                    
#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 Universal.Operative.Sdk.Discrete.Databricks@2.0.1
                    
#: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=Universal.Operative.Sdk.Discrete.Databricks&version=2.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Universal.Operative.Sdk.Discrete.Databricks&version=2.0.1
                    
Install as a Cake Tool

About

Universal.Operative.Sdk.Discrete.Databricks plugs Databricks Unity Gateway model services into Universal.Operative.Sdk through IModel adapters backed by Universal.Databricks.Client.

Configuration

using Universal.Databricks.Client;
using Universal.Operative.Sdk;
using Universal.Operative.Sdk.Discrete;
using Universal.Operative.Sdk.Discrete.Databricks.OpenAI;

using DatabricksClient databricks = new DatabricksClient("https://dbc-1234abcd-5678.cloud.databricks.com", token);
using IModel model = new ChatCompletionsModel(databricks.AIGateway.Mlflow, new ChatCompletionsModel.Options { ModelId = "system.ai.claude-sonnet-4-5", MaxCompletionTokens = 4096, });

Each adapter matches the type and option names of its base provider adapter:

Adapter Gateway client Models
Databricks.OpenAI.ChatCompletionsModel AIGateway.Mlflow, AIGateway.NativeOpenAI Any chat model service through Mlflow; GPT services through NativeOpenAI
Databricks.OpenAI.ResponsesModel AIGateway.Mlflow, AIGateway.NativeOpenAI Any chat model service through Mlflow; GPT services through NativeOpenAI
Databricks.Anthropic.Model AIGateway.NativeAnthropic Claude, and other models that list anthropic/v1/messages
Databricks.Google.Gemini.Model AIGateway.NativeGemini Gemini

Set ModelId to a model service name. ChatCompletionsModel sends MaxCompletionTokens as max_tokens, replays Claude reasoning with its signature, and returns Gemini thought signatures with tool calls. Set UsePromptCaching to cache the system prompt and latest message on Claude.

Function-tool strictness

The adapter reads ToolDefinition.Extensions["openai"]["strict"] for compatible function definitions. Explicit false and true are forwarded unchanged. An absent or null setting retains the existing adapter default. Parameter schemas, including nested optional fields and required lists, are forwarded without strict-schema rewriting. Callers enabling strict mode must supply a compatible schema.

The Chat Completions mapping leaves an absent flag unset; the Responses mapping defaults it to false.

Verification

Run local tests with dotnet test Universal.Operative.Sdk.Discrete.Databricks.Tests --filter "TestCategory!=Live". Live tests require Databricks:Host and Databricks:Token in the test project's user secrets and are selected with --filter "TestCategory=Live".

License

Free for noncommercial use under the Universal.Operative Noncommercial License. Source is closed; commercial use requires a separate license from Andrew Ong.

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.  net11.0 is compatible. 
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
2.0.1 96 11/18/2026
2.0.0 1,261 11/18/2026
1.2.2 95 11/17/2026
1.2.1 122 11/16/2026
1.2.0 97 11/11/2026
1.1.0 95 11/11/2026
1.0.0 103 11/10/2026

Dependency maintenance: Remove redundant or unused reference: Universal.Operative.Sdk. Update Universal.Databricks.Client from 1.1.0 to 1.2.0.