KernelPromptTemplateFactory(ILoggerFactory) Constructor
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.
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.