Turn a Prompt into a Template
Last updated
Last updated
Here is a sample prompt that we will turn into a template for evaluation:
Go to the home screen and press + to create a new Project.
For the Project description, you can put the following:
Write email subject lines from email descriptions.
Press "Create" and you will land in a new Project called "Subject Line Writer" or similar.
Navigate to templates in the sidebar, then press + to create a new template.
Leave the type as Chat
by default.
In the system
prompt box, enter our instructions.
With the user
prompt text box selected, press the "New field" button.
For the name, enter "Content Description". The reference will be populated automatically and the helper text can be left blank.
Press "Save & close".
Now press the button to insert the new Content Description field into your user
prompt.
The entire prompt section should look like this:
Repeat the same process to create and insert a field into the assistant
output box called "Subject Line."
This should be what you have at the end:
Press "Save."
We now have a Template based on our prompt that can handle different pairs of data for the article
and the subject_line
that we need the model to generate.