Share via


IPromptTemplateFactory Interface

Definition

Represents a factory for prompt templates for one or more prompt template formats.

public interface IPromptTemplateFactory
type IPromptTemplateFactory = interface
Public Interface IPromptTemplateFactory
Derived

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