KernelPlugin(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.