Universal.Operative.Sdk.Discrete.Databricks 1.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Universal.Operative.Sdk.Discrete.Databricks --version 1.2.2
                    
NuGet\Install-Package Universal.Operative.Sdk.Discrete.Databricks -Version 1.2.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="Universal.Operative.Sdk.Discrete.Databricks" Version="1.2.2" />
                    
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="1.2.2" />
                    
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 1.2.2
                    
#r "nuget: Universal.Operative.Sdk.Discrete.Databricks, 1.2.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 Universal.Operative.Sdk.Discrete.Databricks@1.2.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=Universal.Operative.Sdk.Discrete.Databricks&version=1.2.2
                    
Install as a Cake Addin
#tool nuget:?package=Universal.Operative.Sdk.Discrete.Databricks&version=1.2.2
                    
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.Databricks.OpenAI;

using var databricks = new DatabricksClient("https://dbc-1234abcd-5678.cloud.databricks.com", token);

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
Databricks.OpenAI.ResponsesModel AIGateway.Mlflow, AIGateway.NativeOpenAI Any chat model service
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 OpenAI Chat Completions mapping now forwards the flag; the Responses mapping already forwarded explicit values and retains its existing false default when absent.

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 net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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
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

Forwards explicit OpenAI-compatible function strictness hints without rewriting supplied parameter schemas. Preserves false, true, and absent/null settings. Includes regression coverage for optional fields. Uses the existing core SDK and discrete runtime releases.