Welcome to Portkey Forum

Updated 7 months ago

Adding Variables to Your Prompt

Hi, I am unable to add variables to my prompt, can you please guide me how to do it??
I was able to add systemprompt, userprompt and tools (function) but not variables, I have variables in my prompt.
V
1 comment
@W ï l l ¥ prompts are added in mustache syntax with double curly braces, like {{variable_name}}

You can check out the API tab on the playground to see how you can pass them live.
Add a reply
Sign up and join the conversation on Discord