When you put a variable in curly brackets, the prompt will fill it with the variable value. For example, if you have a prompt like this:
Waiting...
then when you run the prompt with the test case
{{topic}} |
---|
love |
the prompt will fill in the variable and run it like this:
Write me a poem about love.
Try it yourself! In the prompt editor, add a prompt that uses a prompt variable.
Ready to deepen your understanding? Click "Next" to continue.
Waiting...
{{action}} | Correct Answer | Model Response |
---|---|---|
false | ||
false | ||
true | ||
true |