Share via


KernelPlugin(String, String) Constructor

Definition

Initializes the new plugin from the provided name, description, and function collection.

protected KernelPlugin (string name, string? description = default);
new Microsoft.SemanticKernel.KernelPlugin : string * string -> Microsoft.SemanticKernel.KernelPlugin
Protected Sub New (name As String, Optional description As String = Nothing)

Parameters

name
String

The name for the plugin.

description
String

A description of the plugin.

Exceptions

name is an invalid plugin name.

Applies to