KernelFunctionYaml.ToPromptTemplateConfig(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.