@elizaos/core v1.0.6 / v1 / processTemplate
Function: processTemplate()
processTemplate(
template
,state
):string
Process a template with the given state
Parameters​
• template: TemplateType
The template to process (string or function)
• state: State
The state to use for processing
Returns​
string
The processed template string