Template
Defined in: packages/core/src/template/types.ts:15
Branded prompt template: Zod-validated input, then Handlebars, then string.
Usable from agent instructions, workflow turns, or tests — not tied to
WorkflowContext. Pass render data explicitly (no ctx.render).
When created from a file path, name is the filename basename without extension
(e.g. ./prompts/find-papers.md → "find-papers"). Create via adl.createTemplate
and list in adl.config templates[].
Type Parameters
Section titled “Type Parameters”TInput
Section titled “TInput”TInput
Properties
Section titled “Properties”
readonlyoptionaldemo?:TInput
Defined in: packages/core/src/template/types.ts:19
readonlyname:string
Defined in: packages/core/src/template/types.ts:16
readonlyoptionalpath?:string
Defined in: packages/core/src/template/types.ts:17
source
Section titled “source”
readonlysource:string
Defined in: packages/core/src/template/types.ts:18
Methods
Section titled “Methods”render()
Section titled “render()”render(
inputData):string
Defined in: packages/core/src/template/types.ts:20
Parameters
Section titled “Parameters”inputData
Section titled “inputData”TInput
Returns
Section titled “Returns”string