Uses of Interface
com.microsoft.semantickernel.semanticfunctions.PromptTemplateFactory
-
Packages that use PromptTemplateFactory Package Description com.microsoft.semantickernel.plugin com.microsoft.semantickernel.semanticfunctions -
-
Uses of PromptTemplateFactory in com.microsoft.semantickernel.plugin
Methods in com.microsoft.semantickernel.plugin with parameters of type PromptTemplateFactory Modifier and Type Method Description 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. -
Uses of PromptTemplateFactory in com.microsoft.semantickernel.semanticfunctions
Classes in com.microsoft.semantickernel.semanticfunctions that implement PromptTemplateFactory Modifier and Type Class Description classAggregatorPromptTemplateFactoryAn collection ofPromptTemplateFactoryinstances.classHandlebarsPromptTemplateFactoryA factory for creating aHandlebarsPromptTemplateinstance for aPromptTemplateConfigthat uses the handlebars template format.classKernelPromptTemplateFactoryFactory for creating prompt templates.Methods in com.microsoft.semantickernel.semanticfunctions with parameters of type PromptTemplateFactory Modifier and Type Method Description static <T> KernelFunction<T>KernelFunctionYaml. fromPromptYaml(String yaml, PromptTemplateFactory promptTemplateFactory)Create a KernelFunction instance for a prompt function using the specified markdown text.KernelFunction.FromPromptBuilder<T>KernelFunction.FromPromptBuilder. withPromptTemplateFactory(PromptTemplateFactory promptTemplateFactory)Set the prompt template factory used to build the function.KernelFunction.FromPromptBuilder<T>KernelFunctionFromPrompt.Builder. withPromptTemplateFactory(PromptTemplateFactory promptTemplateFactory)Constructor parameters in com.microsoft.semantickernel.semanticfunctions with type arguments of type PromptTemplateFactory Constructor Description AggregatorPromptTemplateFactory(List<PromptTemplateFactory> templateFactories)Creates a new instance ofAggregatorPromptTemplateFactory.
-