🦢
🦢
🦢
🦢
ZenPrompts
Ask or search…
K
Comment on page
💯

Creating Dynamic Variables

Dynamic Variables feature is one of the most powerful features of ZenPrompts.
With Dynamic Variables, you can...
  • Abstract out part of the prompt and make the prompts more reusable.
  • Set default values for the variable
You can create a dynamic variable by putting in a word between two curly parentheses.
Here is an example:
  • {{ title }}
  • {{ n }}
In addition, you can add a default value to a dynamic variable. So even if you forget to change the value or do not need to change the value on each run, the dynamic variable picks the default value.