docs/decisions/0007-prompt-extract-template-engine.md
The Semantic Kernel includes a default prompt template engine which is used to render Semantic Kernel prompts i.e., skprompt.txt files. The prompt template is rendered before being send to the AI to allow the prompt to be generated dynamically e.g., include input parameters or the result of a native or semantic function execution.
To reduce the complexity and API surface of the Semantic Kernel the prompt template engine is going to be extracted and added to it's own package.
The long term goal is to enable the following scenarios:
IPromptTemplateEngine interface to make it easier to implement a custom template engine.Microsoft.SemanticKernel.TemplateEngine.IPromptTemplateEngine interface to just require implementation of RenderAsync.PromptTemplateEngine if the Microsoft.SemanticKernel.TemplateEngine assembly is available.