KernelPluginExtensions.GetFunction Method
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.
Gets a function from the collection by plugin and function names.
public static Microsoft.SemanticKernel.KernelFunction GetFunction (this Microsoft.SemanticKernel.IReadOnlyKernelPluginCollection plugins, string? pluginName, string functionName);
static member GetFunction : Microsoft.SemanticKernel.IReadOnlyKernelPluginCollection * string * string -> Microsoft.SemanticKernel.KernelFunction
<Extension()>
Public Function GetFunction (plugins As IReadOnlyKernelPluginCollection, pluginName As String, functionName As String) As KernelFunction
Parameters
- plugins
- IReadOnlyKernelPluginCollection
The collection.
- pluginName
- String
The name of the plugin storing the function.
- functionName
- String
The name of the function.
Returns
The function from the collection.