次の方法で共有


HandlebarsPromptTemplateFactory Class

Definition

Provides an IPromptTemplateFactory for the handlebars prompt template format.

public sealed class HandlebarsPromptTemplateFactory : Microsoft.SemanticKernel.IPromptTemplateFactory
type HandlebarsPromptTemplateFactory = class
    interface IPromptTemplateFactory
Public NotInheritable Class HandlebarsPromptTemplateFactory
Implements IPromptTemplateFactory
Inheritance
HandlebarsPromptTemplateFactory
Implements

Constructors

HandlebarsPromptTemplateFactory(HandlebarsPromptTemplateOptions)

Initializes a new instance of the HandlebarsPromptTemplateFactory class.

Properties

AllowDangerouslySetContent

Gets or sets a value indicating whether to allow potentially dangerous content to be inserted into the prompt.

HandlebarsTemplateFormat

Gets the name of the Handlebars template format.

NameDelimiter

The character used to delimit plugin, function, or variable names in a Handlebars template.

Methods

TryCreate(PromptTemplateConfig, IPromptTemplate)

Creates an instance of IPromptTemplate from a PromptTemplateConfig.

Extension Methods

Create(IPromptTemplateFactory, PromptTemplateConfig)

Creates an instance of IPromptTemplate from a PromptTemplateConfig.

Applies to