conv.state
object within a function. You can choose a name for your variable
and update its value to anything you want like so:
$variable_name
. The system will replace this placeholder with the variable’s value wherever it matches.
Example:
In your start function, you can write:
$current_date
.
…becomes:
The current date is September 06, 2024.
When using variable templating, ensure the stored value is readable by the LLM. Complex objects like dictionaries or datetime
will be stringified automatically.
conv.env
property to define environment-specific functions and activate test features in sandbox or
pre-release environments.
For example: