Add the component
Enter your code in the code section as you do in any other IDE (e.g. VS code, WebStorm)
Access to input variables and other steps’ output
Access to input variables is via
paramsis a dictionary and names of variables are the dictionary keys. For example, if there is an input parameter named “title” you can access to title value using
Access to other steps’ output is via
stepsis a dictionary and the names of steps are the dictionary keys. For example, if there is a step named “summary” you can access its produced value using
Note that you can set the output of this step to be a string generated by a Large Language Model (LLM) such as GPT. This can be done by clicking on the LLM icon on the top right.
Follow the links below for more information about
- How to run a step
- How to delete a step
- How to configure output
- How to configure a default value
- How to move a step in a Tool
- How to duplicate a step
- How to add condition to a step (i.e. execute only if a condition is met)
- How to loop a step (i.e. run one step multiple times)
Access the step output
Note that a step name is different from the step title. Step titles can be found on the top left
of steps. A step name is shown on the bottom left, in smaller font and highlighted green.
However, occasionally, users encounter the
cannot exceed 15 minutes.