Partager via


KernelFunctionYaml.ToPromptTemplateConfig(String) Method

Definition

Convert the given YAML text to a PromptTemplateConfig model.

public static Microsoft.SemanticKernel.PromptTemplateConfig ToPromptTemplateConfig (string text);
static member ToPromptTemplateConfig : string -> Microsoft.SemanticKernel.PromptTemplateConfig
Public Shared Function ToPromptTemplateConfig (text As String) As PromptTemplateConfig

Parameters

text
String

YAML representation of the PromptTemplateConfig to use to create the prompt function.

Returns

Applies to