A guide to create, version, deploy, and share prompts.
Create a new prompt
Configure the prompt
Editor
tab and you can begin to write your prompt. The right side of the screen defines your prompt. You can set parameters like Model
, Temperature
, Max Tokens
, and Top P
. You can also add function calls and fallback models to your prompt. Check out the details here.Write the content
+ Add message
button to add a new message to your prompt. You can change the role of the message to user
or assistant
by clicking on the role name.Variables in the prompt
{{variable_name}}
to your prompt and you will be able to use the variable in your prompt.Replace the User message with this:{{task description}}
. It should be {{task_description}}
with ”_” instead of spaces.Commit the first version
Variables
tab.Run
to test your prompt.Commit
button and write a commit message, which is helpful for you to track the changes you made to your prompt.Deploy to production
Deployments
tab and click on the Deploy
button. You can choose the environment you want to deploy to.