Table of Contents

Namespace LMKit.TextGeneration.Prompts

Classes

PromptTemplate

A compiled prompt template with variable substitution, conditionals, loops, filters, and custom helpers.

PromptTemplateContext

Provides variable values, objects, and custom helpers for template rendering.

PromptTemplateException

The exception that is thrown when a prompt template cannot be parsed or rendered.

PromptTemplateFilters

Provides the built-in filter registry for template expressions. Filters transform variable values using the pipe syntax: {{variable|filter}}.

PromptTemplateOptions

Configuration options for PromptTemplate parsing and rendering.

Enums

PromptTemplateSyntax

Specifies the placeholder syntax used by a PromptTemplate.

Delegates

PromptTemplateHelper

Delegate for custom template helper functions that can be invoked from within a template.