Soenneker.SemanticKernel.Enums.KernelType
4.0.56
Prefix Reserved
dotnet add package Soenneker.SemanticKernel.Enums.KernelType --version 4.0.56
NuGet\Install-Package Soenneker.SemanticKernel.Enums.KernelType -Version 4.0.56
<PackageReference Include="Soenneker.SemanticKernel.Enums.KernelType" Version="4.0.56" />
<PackageVersion Include="Soenneker.SemanticKernel.Enums.KernelType" Version="4.0.56" />
<PackageReference Include="Soenneker.SemanticKernel.Enums.KernelType" />
paket add Soenneker.SemanticKernel.Enums.KernelType --version 4.0.56
#r "nuget: Soenneker.SemanticKernel.Enums.KernelType, 4.0.56"
#:package Soenneker.SemanticKernel.Enums.KernelType@4.0.56
#addin nuget:?package=Soenneker.SemanticKernel.Enums.KernelType&version=4.0.56
#tool nuget:?package=Soenneker.SemanticKernel.Enums.KernelType&version=4.0.56
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.48)
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 |
|---|---|---|
| 4.0.56 | 93 | 9/7/2026 |
| 4.0.55 | 1,063 | 9/4/2026 |
| 4.0.54 | 1,061 | 8/30/2026 |
| 4.0.53 | 285 | 8/30/2026 |
| 4.0.52 | 494 | 8/29/2026 |
| 4.0.51 | 322 | 8/29/2026 |
| 4.0.50 | 959 | 8/21/2026 |
| 4.0.49 | 691 | 8/18/2026 |
| 4.0.48 | 1,203 | 8/7/2026 |
| 4.0.47 | 1,162 | 7/28/2026 |
| 4.0.46 | 237 | 7/27/2026 |
| 4.0.45 | 1,824 | 7/16/2026 |
| 4.0.44 | 266 | 7/16/2026 |
| 4.0.43 | 1,822 | 7/2/2026 |
| 4.0.42 | 673 | 6/19/2026 |
| 4.0.41 | 418 | 6/18/2026 |
| 4.0.40 | 2,094 | 6/5/2026 |
| 4.0.38 | 2,340 | 5/1/2026 |
| 4.0.37 | 813 | 4/23/2026 |
| 4.0.36 | 1,723 | 3/31/2026 |
Updated Multiple NuGet packages