Share via


KernelPromptTemplateFactory(ILoggerFactory) Constructor

Definition

Initializes a new instance of the KernelPromptTemplateFactory class.

public KernelPromptTemplateFactory (Microsoft.Extensions.Logging.ILoggerFactory? loggerFactory = default);
new Microsoft.SemanticKernel.KernelPromptTemplateFactory : Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.SemanticKernel.KernelPromptTemplateFactory
Public Sub New (Optional loggerFactory As ILoggerFactory = Nothing)

Parameters

loggerFactory
ILoggerFactory

The ILoggerFactory to use for logging. If null, no logging will be performed.

Applies to