Soenneker.SemanticKernel.Enums.KernelType
11.0.82
Prefix Reserved
dotnet add package Soenneker.SemanticKernel.Enums.KernelType --version 11.0.82
NuGet\Install-Package Soenneker.SemanticKernel.Enums.KernelType -Version 11.0.82
<PackageReference Include="Soenneker.SemanticKernel.Enums.KernelType" Version="11.0.82" />
<PackageVersion Include="Soenneker.SemanticKernel.Enums.KernelType" Version="11.0.82" />
<PackageReference Include="Soenneker.SemanticKernel.Enums.KernelType" />
paket add Soenneker.SemanticKernel.Enums.KernelType --version 11.0.82
#r "nuget: Soenneker.SemanticKernel.Enums.KernelType, 11.0.82"
#:package Soenneker.SemanticKernel.Enums.KernelType@11.0.82
#addin nuget:?package=Soenneker.SemanticKernel.Enums.KernelType&version=11.0.82
#tool nuget:?package=Soenneker.SemanticKernel.Enums.KernelType&version=11.0.82
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 | net11.0 is compatible. |
-
net11.0
- Soenneker.Gen.EnumValues (>= 11.0.65)
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.82 | 566 | 10/27/2026 |
| 11.0.81 | 379 | 10/26/2026 |
| 11.0.80 | 366 | 10/26/2026 |
| 11.0.79 | 184 | 10/26/2026 |
| 4.0.78 | 612 | 10/15/2026 |
| 4.0.77 | 175 | 10/14/2026 |
| 4.0.75 | 155 | 10/14/2026 |
| 4.0.74 | 194 | 10/14/2026 |
| 4.0.69 | 214 | 10/13/2026 |
| 4.0.68 | 277 | 10/13/2026 |
| 4.0.65 | 269 | 10/11/2026 |
| 4.0.64 | 105 | 10/11/2026 |
| 4.0.63 | 1,652 | 9/30/2026 |
| 4.0.62 | 775 | 9/25/2026 |
| 4.0.61 | 136 | 9/24/2026 |
| 4.0.60 | 913 | 9/15/2026 |
| 4.0.59 | 149 | 9/15/2026 |
| 4.0.58 | 1,141 | 9/12/2026 |
| 4.0.56 | 232 | 9/7/2026 |
| 4.0.55 | 1,487 | 9/4/2026 |
Remove redundant framework conditions