Freigeben über


EchoPromptTemplateFactory Class

Definition

Provides an implementation of IPromptTemplateFactory which creates no operation instances of IPromptTemplate.

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

Constructors

EchoPromptTemplateFactory()

Properties

Instance

Singleton instance of EchoPromptTemplateFactory.

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