Methods
render
- render(context): string
Parameters
- context: Record<string, any>
Returns string
getVariables
- getVariables(): string[]
Returns string[]
validate
- validate(context): {
valid: boolean;
missing: string[];
} Parameters
- context: Record<string, any>
Returns {
valid: boolean;
missing: string[];
}
valid: boolean
missing: string[]
Dynamic prompt template processor with variable injection and partials support. Supports Handlebars-like syntax for template rendering.