Skip to main content

template

A function for creating an agent of agentic function system and userPrompt arguments using template variables. For a full list of all available template variables, see here.
Note that template is not supported for an agent premise.
const Template = new Proxy(TemplateClass, {
    construct(target, args: [string])
})
export Template as template;
Parameters
args
string[]
The prompt with templating variables included.