@radzor/prompt-template
Manage and render prompt templates with variable interpolation, conditional sections, and few-shot example injection. Supports template registration, validation, and composable prompt construction for LLM workflows.
Install
View source on GitHub →Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| delimiters | { open: string; close: string } | [object Object] | Custom delimiters for variable interpolation. Defaults to {{ and }}. |
| strictMode | boolean | true | When true, rendering throws if any variables are unresolved. When false, unresolved variables remain as-is. |
Custom delimiters for variable interpolation. Defaults to {{ and }}.
default: [object Object]
When true, rendering throws if any variables are unresolved. When false, unresolved variables remain as-is.
default: true
Outputs
| Name | Type |
|---|