AggregatorPromptTemplateFactory Class
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.
public sealed class AggregatorPromptTemplateFactory : Microsoft.SemanticKernel.IPromptTemplateFactory
type AggregatorPromptTemplateFactory = class
interface IPromptTemplateFactory
Public NotInheritable Class AggregatorPromptTemplateFactory
Implements IPromptTemplateFactory
- Inheritance
-
AggregatorPromptTemplateFactory
- Implements
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. ///
Aggregator |
Initializes the instance. |
Try |
Creates an instance of IPromptTemplate from a PromptTemplateConfig. |
Create(IPrompt |
Creates an instance of IPromptTemplate from a PromptTemplateConfig. |
Product | Versies |
---|---|
Semantic Kernel Dotnet | Latest |