Partager via


PromptyKernelExtensions Class

Definition

Provides extension methods for creating KernelFunctions from the Prompty template format.

public static class PromptyKernelExtensions
type PromptyKernelExtensions = class
Public Module PromptyKernelExtensions
Inheritance
PromptyKernelExtensions

Methods

CreateFunctionFromPrompty(Kernel, String, IPromptTemplateFactory)

Create a KernelFunction from a prompty template.

CreateFunctionFromPromptyFile(Kernel, IFileInfo, IPromptTemplateFactory)

Create a KernelFunction from a prompty template file.

CreateFunctionFromPromptyFile(Kernel, String, IFileProvider, IPromptTemplateFactory)

Create a KernelFunction from a prompty template file.

CreateFunctionFromPromptyFile(Kernel, String, IPromptTemplateFactory)

Create a KernelFunction from a prompty template file.

Applies to