Soenneker.SemanticKernel.Pool.OpenAi
4.0.553
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.SemanticKernel.Pool.OpenAi --version 4.0.553
NuGet\Install-Package Soenneker.SemanticKernel.Pool.OpenAi -Version 4.0.553
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.OpenAi" Version="4.0.553" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.SemanticKernel.Pool.OpenAi" Version="4.0.553" />
<PackageReference Include="Soenneker.SemanticKernel.Pool.OpenAi" />
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.OpenAi --version 4.0.553
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.SemanticKernel.Pool.OpenAi, 4.0.553"
#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.OpenAi@4.0.553
#: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.OpenAi&version=4.0.553
#tool nuget:?package=Soenneker.SemanticKernel.Pool.OpenAi&version=4.0.553
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.SemanticKernel.Pool.OpenAi
Provides OpenAI-specific registration extensions for KernelPoolManager, enabling integration with OpenAI models via Semantic Kernel.
Install
dotnet add package Soenneker.SemanticKernel.Pool.OpenAi
Quick start
using Soenneker.SemanticKernel.Pool.OpenAi;
ISemanticKernelPool pool = /* obtain from your application */;
await pool.AddOpenAi("value", "value", /* supply type */ default!, "value", "value", "value", /* supply httpClientCache */ default!, 1, 1, 1, default);
Registers an OpenAI model in the kernel pool with the specified kernel type and optional rate/token limits.
What you get
SemanticKernelPoolOpenAiExtension— Provides OpenAI-specific registration extensions for KernelPoolManager, enabling integration with OpenAI models via Semantic Kernel.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
SemanticKernelPoolOpenAiExtension.AddOpenAi(pool, poolId, key, type, modelId, apiKey, endpoint, httpClientCache, rps, rpm, rpd, tokensPerDay, cancellationToken) |
Registers an OpenAI model in the kernel pool with the specified kernel type and optional rate/token limits. | A task that completes when the open ai addition is complete. |
SemanticKernelPoolOpenAiExtension.RemoveOpenAi(pool, poolId, key, httpClientCache, cancellationToken) |
Unregisters an OpenAI model from the kernel pool and removes the associated kernel cache entry. | A task that completes when the open ai removal is complete. |
Practical notes
- Cancellation stops pending work; it does not undo work that has already completed.
| Product | Versions 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.
-
net10.0
- Microsoft.SemanticKernel.Connectors.OpenAI (>= 1.80.0)
- Soenneker.SemanticKernel.Pool (>= 4.0.380)
- Soenneker.Utils.HttpClientCache (>= 4.0.2037)
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.578 | 0 | 9/5/2026 |
| 4.0.577 | 0 | 9/5/2026 |
| 4.0.576 | 0 | 9/5/2026 |
| 4.0.575 | 27 | 9/4/2026 |
| 4.0.574 | 44 | 9/4/2026 |
| 4.0.573 | 45 | 9/4/2026 |
| 4.0.571 | 54 | 9/4/2026 |
| 4.0.570 | 57 | 9/4/2026 |
| 4.0.569 | 61 | 9/4/2026 |
| 4.0.568 | 63 | 9/3/2026 |
| 4.0.567 | 67 | 9/3/2026 |
| 4.0.566 | 69 | 9/1/2026 |
| 4.0.565 | 69 | 9/1/2026 |
| 4.0.564 | 88 | 8/31/2026 |
| 4.0.563 | 76 | 8/31/2026 |
| 4.0.562 | 72 | 8/31/2026 |
| 4.0.561 | 79 | 8/31/2026 |
| 4.0.560 | 96 | 8/31/2026 |
| 4.0.559 | 78 | 8/30/2026 |
| 4.0.553 | 90 | 8/30/2026 |
Loading failed
Update dependency Soenneker.Utils.HttpClientCache to 4.0.2033 (#1063)