Partager via


KernelFunctionYaml Class

Definition

Factory methods for creating instances.

public static class KernelFunctionYaml
type KernelFunctionYaml = class
Public Class KernelFunctionYaml
Inheritance
KernelFunctionYaml

Methods

FromPromptYaml(String, IPromptTemplateFactory, ILoggerFactory)

Creates a KernelFunction instance for a prompt function using the specified markdown text.

ToPromptTemplateConfig(String)

Convert the given YAML text to a PromptTemplateConfig model.

Applies to