Overview
A guide to create, version, deploy, and share prompts.
What is Prompts?
Prompts are instructions that guide LLM responses. You can create, version, share, and deploy prompt templates easily.
Why use Prompts?
- You can create, version, share, and deploy prompt templates.
- You can collaborate with your team on prompts easily.
- You can monitor prompt performance.
Quick start
Create a new prompt
Once you have signed up and created an account, you can create a new prompt on the platform. Go to the Prompts page and click on the “Create new prompt” button. You should name your prompt and could add a description to it.
Configure the prompt
Once you have created a new prompt, you can configure it. Go to the 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
Once you have configured your prompt, you can write the content of your prompt. Click on the + 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
You can also add variables to your prompt. Variables are placeholders for dynamic content that can be used to generate prompts. Simply add double curly braces {{variable_name}}
to your prompt and you will be able to use the variable in your prompt.
Replace the User message with this:
The format of the variable can’t be {{task description}}
. It should be {{task_description}}
with ”_” instead of spaces.
Commit the first version
After did this, you can:
- Add a value for each variable in the
Variables
tab. - Click
Run
to test your prompt.
You now just finished writing your first version of the prompt.
You can click on the Commit
button and write a commit message, which is helpful for you to track the changes you made to your prompt.
Congrats! You just created your first prompt on Keywords AI platform.
Deploy to production
Once you have committed your prompt, you can deploy it to production. Go to the Deployments
tab and click on the Deploy
button. You can choose the environment you want to deploy to.
Next step
Was this page helpful?