LiquidPromptTemplateFactory Class

Definition

Provides an IPromptTemplateFactory for liquid template format.

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

Constructors

LiquidPromptTemplateFactory()

Properties

AllowDangerouslySetContent

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

LiquidTemplateFormat

Gets the name of the liquid template format.

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