Uses of Class
com.microsoft.semantickernel.plugin.KernelPlugin
-
Packages that use KernelPlugin Package Description com.microsoft.semantickernel com.microsoft.semantickernel.plugin -
-
Uses of KernelPlugin in com.microsoft.semantickernel
Methods in com.microsoft.semantickernel that return KernelPlugin Modifier and Type Method Description KernelPluginKernel. getPlugin(String pluginName)Gets the plugin with the specified name.Methods in com.microsoft.semantickernel that return types with arguments of type KernelPlugin Modifier and Type Method Description Collection<KernelPlugin>Kernel. getPlugins()Gets the plugins that were added to the kernel.Methods in com.microsoft.semantickernel with parameters of type KernelPlugin Modifier and Type Method Description Kernel.BuilderKernel.Builder. withPlugin(KernelPlugin plugin)Adds a plugin to the kernel.Constructor parameters in com.microsoft.semantickernel with type arguments of type KernelPlugin Constructor Description Kernel(AIServiceCollection services, Function<AIServiceCollection,AIServiceSelector> serviceSelectorProvider, List<KernelPlugin> plugins, KernelHooks globalKernelHooks)Initializes a new instance ofKernel. -
Uses of KernelPlugin in com.microsoft.semantickernel.plugin
Methods in com.microsoft.semantickernel.plugin that return KernelPlugin Modifier and Type Method Description static KernelPluginKernelPluginFactory. createFromFunctions(String pluginName, String description, List<KernelFunction<?>> functions)Initializes the new plugin from the provided name, description, and function collection.static KernelPluginKernelPluginFactory. createFromFunctions(String pluginName, List<KernelFunction<?>> functions)Creates a plugin from the provided name and function collection.static KernelPluginKernelPluginFactory. createFromObject(Class<?> clazz, Object target, String pluginName)Creates a plugin that wraps the specified target object.static KernelPluginKernelPluginFactory. createFromObject(Object target, String pluginName)Creates a plugin that wraps the specified target object.static KernelPluginKernelPluginFactory. importPluginFromDirectory(Path parentDirectory, String pluginDirectoryName, PromptTemplateFactory promptTemplateFactory)Imports a plugin from a directory.static KernelPluginKernelPluginFactory. importPluginFromResourcesDirectory(String parentDirectory, String pluginDirectoryName, String functionName, PromptTemplateFactory promptTemplateFactory)static KernelPluginKernelPluginFactory. importPluginFromResourcesDirectory(String parentDirectory, String pluginDirectoryName, String functionName, PromptTemplateFactory promptTemplateFactory, Class<?> clazz)Imports a plugin from a resource directory, which may be on the classpath or filesystem.
-