@maiar-ai/core / TemplateFunction
Interface: TemplateFunction()<T>
Defined in: packages/core/src/runtime/pipeline/operations.ts:6
Template function that takes input of type T and returns a string prompt
Type Parameters​
• T = unknown
TemplateFunction(
input
):string
Defined in: packages/core/src/runtime/pipeline/operations.ts:7
Template function that takes input of type T and returns a string prompt
Parameters​
input​
T
Returns​
string