Skip to content

Latest commit

 

History

History
17 lines (9 loc) · 861 Bytes

set-get-variable.md

File metadata and controls

17 lines (9 loc) · 861 Bytes

Set/Get Variable

If you are running a Custom Function, or LLM Chain, you might want to reuse the result in other nodes without having to recompute/rerun the same thing again. You can save the output result as a variable, and reuse it for other nodes that is further down the flow path.

Set Variable

Taking inputs from any node that outputs string, number, boolean, json, array, we can assign a variable name to it.

Get Variable

You can get the variable value from the variable name at a later stage: