We've added two new helpers to help users perform Random Prompt Injection (RPI). RPI is a useful technique where you inject random variables into a prompt to produce more random results. You can learn more about the technique in our blog post.
Here are the two new helpers in action:
{{{random 5 10}}}
- Pick a random integer between two numbers.
{{{pickRandom "short" "long"}}}
- Picks a random string amongst an array of strings
You can learn more about these two new helpers in our documentation.