Lezen in het Engels

Delen via


AggregatorPromptTemplateFactory 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 a IPromptTemplateFactory which aggregates multiple prompt template factories.

C#
public sealed class AggregatorPromptTemplateFactory : Microsoft.SemanticKernel.IPromptTemplateFactory
Inheritance
AggregatorPromptTemplateFactory
Implements

Remarks

Attempts via TryCreate(PromptTemplateConfig, IPromptTemplate) to create an IPromptTemplate from a PromptTemplateConfig will iterate through the aggregated factories, using the result from the first to successfully handle the supplied configuration. ///

Constructors

Methods

Extension Methods

Applies to

Product Versies
Semantic Kernel Dotnet Latest