LiquidPromptTemplateFactory Class
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.
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. |