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
                    
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.Enums.KernelType" Version="4.0.56" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.SemanticKernel.Enums.KernelType" Version="4.0.56" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.SemanticKernel.Enums.KernelType" />
                    
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.Enums.KernelType --version 4.0.56
                    
#r "nuget: Soenneker.SemanticKernel.Enums.KernelType, 4.0.56"
                    
#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.Enums.KernelType@4.0.56
                    
#: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.Enums.KernelType&version=4.0.56
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.SemanticKernel.Enums.KernelType&version=4.0.56
                    
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.Enums.KernelType

A source-generated string value type for classifying Semantic Kernel workloads.

Installation

dotnet add package Soenneker.SemanticKernel.Enums.KernelType

Values

  • KernelType.Chat
  • KernelType.Completion
  • KernelType.Image
  • KernelType.Embedding
  • KernelType.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 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 (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
Loading failed

Updated Multiple NuGet packages