Entry Point AI Docs
  • Getting Started
    • Introduction
    • Quickstart
  • Key Concepts
    • Model Providers
    • Templates
    • Fields
    • Examples
    • Models
    • Evaluation
    • Transforms
  • Guides
    • Evaluate a Prompt
      • Turn a Prompt into a Template
      • Prepare Validation Examples
      • Create a Templated Model
      • Review & Rate Outputs
      • Iterating on the Prompt
    • Build a Dataset
      • Import a CSV
      • Transform Data
      • Synthesize Examples
      • Quantity & Quality of Data
    • Fine-tune a Model
      • Start a Fine-tune
      • Fine-tuning Hyperparameters
      • Compare Fine-tunes
      • Next Steps
    • Generate Completions
      • Playground
      • Inference Parameters
      • Shareable Link
      • Deploy a Model
Powered by GitBook
On this page
  • Create a New Project
  • Create a Chat Template
  1. Guides
  2. Evaluate a Prompt

Turn a Prompt into a Template

PreviousEvaluate a PromptNextPrepare Validation Examples

Last updated 10 months ago

Here is a sample prompt that we will turn into a for :

You are a professional email marketer. Review the following email description and write a creative email subject line idea for it that is likely to grab attention. Do not return anything except the subject line.

Create a New Project

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.

Create a Chat Template

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.

You are a professional email marketer. Review the following article and write a creative email subject line idea for it that is likely to grab attention. Do not return anything except the subject line.

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.

template
evaluation
Create a new project
Create a new field while editing the template
All you need to do is name the field
Save the new template