Random variable

Use random variable to introduce randomness to your prompts.

The variable contains random value between 0 and 100. It is typically used together with prompt conditions, for example:

{{#if random < 50}}
Say "Hello, how can I help you?"
{{#else}}
Say "Hi, nice to meet you! What can I do for you?"
{{/if}}

For dynamic prompts, the variable contains new value on each prompt generation.