Skip to main content

template

A function for creating an agent premise or task using template variables. For a full list of all available template variables, see here.
Note that template is not supported for doc-strings of agentic functions and an agent premise.
class template(str):

    def __new__(cls, value: str) -> "template": ...
Parameters
value
str
required
The prompt with templating variables included.