Frequently asked questions about building Tools
params
parameter. For instance, to access a variable called name
,
use params.name
is Javascript or params["name"]
in Python.
{{}}
to access variables.
{{X}}
brings the variable X into the prompt, meaning there won’t be {{}}
around it when passed to the LLM.
{{checkbox variable name}}
as the value for the condition. For example, under the default step name:
{{checkbox}}
when checkbox is ticked
{{!checkbox}}
when checkbox is not ticked
Configure output
button. Disable “Infer output from the last step”.
Add new output key
you can add outputs{{}}
you can access to variables and steps’ outputs