DevOnBike.Overfit.Extensions.AI 10.0.25

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

DevOnBike.Overfit.Extensions.AI

Microsoft.Extensions.AI adapter for Overfit — exposes the pure-.NET, in-process Overfit LLM runtime as a standard IChatClient and IEmbeddingGenerator, so it drops into Semantic Kernel and any Microsoft.Extensions.AI pipeline (caching, telemetry, function-invocation middleware, DI) by changing one line.

No Python, no model server, no native binary, no data leaving the process.

Chat

using DevOnBike.Overfit.LanguageModels;
using DevOnBike.Overfit.Extensions.AI;
using Microsoft.Extensions.AI;

using var overfit = OverfitClient.LoadGguf("qwen.q4km.gguf");
IChatClient chat = overfit.AsChatClient();

// Non-streaming
Console.WriteLine(await chat.GetResponseAsync("What is the capital of France?"));

// Streaming
await foreach (var update in chat.GetStreamingResponseAsync("Count to five."))
{
    Console.Write(update);
}

ChatOptions.Temperature (0 → greedy), MaxOutputTokens, and TopP are honoured; usage and a length/stop finish reason are reported. Calls are stateless (the full message list is replayed) and serialized through a single-flight gate — the wrapped session is single-tenant.

Embeddings

using var embedder = SentenceEmbedder.ForMiniLm(@"C:\minilm");
IEmbeddingGenerator<string, Embedding<float>> gen = embedder.AsEmbeddingGenerator(dimensions: 384);

var vectors = await gen.GenerateAsync(["hello world", "second text"]);

DI / pipelines

builder.Services.AddChatClient(overfit.AsChatClient())
    .UseDistributedCache()
    .UseOpenTelemetry();

Dual-licensed: AGPL-3.0-or-later for open source, commercial license available — see COMMERCIAL.md.

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
10.0.25 86 6/12/2026
10.0.24 86 6/11/2026
10.0.23 78 6/11/2026
10.0.22 82 6/9/2026
10.0.21 95 6/5/2026