Soenneker.SemanticKernel.Pool.Ollama 4.0.533

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.SemanticKernel.Pool.Ollama --version 4.0.533
                    
NuGet\Install-Package Soenneker.SemanticKernel.Pool.Ollama -Version 4.0.533
                    
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="Soenneker.SemanticKernel.Pool.Ollama" Version="4.0.533" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.SemanticKernel.Pool.Ollama" Version="4.0.533" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.SemanticKernel.Pool.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 Soenneker.SemanticKernel.Pool.Ollama --version 4.0.533
                    
#r "nuget: Soenneker.SemanticKernel.Pool.Ollama, 4.0.533"
                    
#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 Soenneker.SemanticKernel.Pool.Ollama@4.0.533
                    
#: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=Soenneker.SemanticKernel.Pool.Ollama&version=4.0.533
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.SemanticKernel.Pool.Ollama&version=4.0.533
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.SemanticKernel.Pool.Ollama

Provides Ollama-specific registration extensions for KernelPoolManager, enabling integration with local LLMs via Semantic Kernel.

Install

dotnet add package Soenneker.SemanticKernel.Pool.Ollama

Quick start

using Soenneker.SemanticKernel.Pool.Ollama;

ISemanticKernelPool pool = /* obtain from your application */;
await pool.AddOllama("value", "value", /* supply type */ default!, "value", "value", /* supply httpClientCache */ default!, 1, 1, 1, default);

Registers an Ollama model in the kernel pool with specified kernel type and optional rate/token limits.

What you get

  • SemanticKernelPoolOllamaExtension — Provides Ollama-specific registration extensions for KernelPoolManager, enabling integration with local LLMs via Semantic Kernel.

API at a glance

API What it does Result / important behavior
SemanticKernelPoolOllamaExtension.AddOllama(pool, poolId, key, type, modelId, endpoint, httpClientCache, rps, rpm, rpd, apiKey, tokensPerDay, cancellationToken) Registers an Ollama model in the kernel pool with specified kernel type and optional rate/token limits. A task that completes when the ollama addition is complete.
SemanticKernelPoolOllamaExtension.RemoveOllama(pool, poolId, key, httpClientCache, cancellationToken) Unregisters an Ollama model from the kernel pool and removes associated HTTP client and kernel cache entries. A task that completes when the ollama removal is complete.

Practical notes

  • Cancellation stops pending work; it does not undo work that has already completed.
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
4.0.540 0 8/30/2026
4.0.539 0 8/30/2026
4.0.538 0 8/30/2026
4.0.537 0 8/30/2026
4.0.536 0 8/30/2026
4.0.535 25 8/30/2026
4.0.534 38 8/30/2026
4.0.533 39 8/29/2026
4.0.532 39 8/29/2026
4.0.531 36 8/29/2026
4.0.530 38 8/26/2026
4.0.529 53 8/26/2026
4.0.528 91 8/22/2026
4.0.527 90 8/22/2026
4.0.526 90 8/21/2026
4.0.525 94 8/19/2026
4.0.524 83 8/18/2026
4.0.523 85 8/18/2026
4.0.522 87 8/18/2026
4.0.521 91 8/13/2026
Loading failed

Update dependency Soenneker.SemanticKernel.Pool to 4.0.380 (#876)