Soenneker.SemanticKernel.Enums.KernelType
4.0.74
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.SemanticKernel.Enums.KernelType --version 4.0.74
NuGet\Install-Package Soenneker.SemanticKernel.Enums.KernelType -Version 4.0.74
<PackageReference Include="Soenneker.SemanticKernel.Enums.KernelType" Version="4.0.74" />
<PackageVersion Include="Soenneker.SemanticKernel.Enums.KernelType" Version="4.0.74" />
<PackageReference Include="Soenneker.SemanticKernel.Enums.KernelType" />
paket add Soenneker.SemanticKernel.Enums.KernelType --version 4.0.74
#r "nuget: Soenneker.SemanticKernel.Enums.KernelType, 4.0.74"
#:package Soenneker.SemanticKernel.Enums.KernelType@4.0.74
#addin nuget:?package=Soenneker.SemanticKernel.Enums.KernelType&version=4.0.74
#tool nuget:?package=Soenneker.SemanticKernel.Enums.KernelType&version=4.0.74
Soenneker.SemanticKernel.Enums.KernelType
A source-generated string value type for classifying Semantic Kernel workloads.
Installation
dotnet add package Soenneker.SemanticKernel.Enums.KernelType
Values
KernelType.ChatKernelType.CompletionKernelType.ImageKernelType.EmbeddingKernelType.Audio
Each underlying string value matches its member name, such as "Chat" and "Embedding".
Usage
using Soenneker.SemanticKernel.Enums.KernelType;
KernelType type = KernelType.Chat;
if (type == KernelType.Chat)
{
// Select chat-specific connector or execution behavior.
}
Parse untrusted input without throwing:
if (!KernelType.TryFromValue(input, out KernelType type))
{
return Results.BadRequest("Unsupported kernel type.");
}
Known values can also be retrieved with FromValue, TryFromName, and FromName. Name and value lookups are ordinal and case-sensitive.
The generated JSON converter reads and writes the underlying string:
{
"type": "Embedding"
}
Unknown JSON values fail deserialization. KernelType is descriptive metadata only; assigning a value does not register a Semantic Kernel connector or enforce which operations a kernel supports. The application or pool consuming it must select the corresponding implementation.
| 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. |
-
net10.0
- Soenneker.Gen.EnumValues (>= 4.0.56)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.SemanticKernel.Enums.KernelType:
| Package | Downloads |
|---|---|
|
Soenneker.SemanticKernel.Dtos.Options
Options for creating a Microsoft.SemanticKernel.Kernel instance. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.92 | 0 | 12/3/2026 |
| 11.0.91 | 8 | 12/2/2026 |
| 11.0.90 | 16 | 12/2/2026 |
| 11.0.89 | 492 | 12/1/2026 |
| 11.0.88 | 167 | 11/30/2026 |
| 11.0.87 | 340 | 11/29/2026 |
| 11.0.86 | 594 | 11/18/2026 |
| 11.0.85 | 672 | 11/14/2026 |
| 11.0.84 | 321 | 11/11/2026 |
| 11.0.83 | 110 | 11/11/2026 |
| 11.0.82 | 1,364 | 10/27/2026 |
| 11.0.81 | 400 | 10/26/2026 |
| 11.0.80 | 387 | 10/26/2026 |
| 11.0.79 | 201 | 10/26/2026 |
| 4.0.78 | 631 | 10/15/2026 |
| 4.0.77 | 191 | 10/14/2026 |
| 4.0.75 | 170 | 10/14/2026 |
| 4.0.74 | 209 | 10/14/2026 |
| 4.0.69 | 233 | 10/13/2026 |
| 4.0.68 | 294 | 10/13/2026 |
Use NuGet API token for publishing