Welcome to your first hands-on tutorial! In this tutorial, we will walk you through the process of creating a simple prompt to generate a product description.
Our goal is to generate a short, engaging, and informative product description for a new type of a reusable coffee cup.
Before we can write our prompt, we need to identify the key information that we want to include in the product description. For our reusable coffee cup, let's say the key features are:
- Made from sustainable bamboo fiber
- Leak-proof lid
- Insulated to keep drinks hot for up to 2 hours
- Available in 3 colors: green, blue, and pink
Now, let's start with a basic prompt that includes the key information we identified.
Prompt:
Write a product description for a new reusable coffee cup. It is made from sustainable bamboo fiber, has a leak-proof lid, is insulated to keep drinks hot for up to 2 hours, and comes in 3 colors: green, blue, and pink.
To make the product description more engaging, let's add a persona to our prompt. Let's say we want the tone to be friendly and enthusiastic.
Prompt:
You are a friendly and enthusiastic copywriter. Write a product description for a new reusable coffee cup. It is made from sustainable bamboo fiber, has a leak-proof lid, is insulated to keep drinks hot for up to 2 hours, and comes in 3 colors: green, blue, and pink.
To ensure the product description is concise, let's specify the desired length.
Prompt:
You are a friendly and enthusiastic copywriter. Write a short product description (around 50 words) for a new reusable coffee cup. It is made from sustainable bamboo fiber, has a leak-proof lid, is insulated to keep drinks hot for up to 2 hours, and comes in 3 colors: green, blue, and pink.
Now, let's try running our prompt through a language model. Here is a possible response:
Say hello to your new favorite coffee cup! Made from sustainable bamboo fiber, this stylish cup is perfect for your daily caffeine fix. The leak-proof lid means no more spills, and the insulation will keep your coffee hot for up to 2 hours. Choose from 3 beautiful colors: green, blue, or pink. Get yours today!
This is a pretty good response! But we can always try to improve it. For example, we could try adding a call to action, or highlighting a specific benefit.
Revised Prompt:
Prompt:
You are a friendly and enthusiastic copywriter. Write a short and catchy product description (around 50 words) for a new reusable coffee cup. The product description should highlight the eco-friendly aspect of the cup and have a strong call to action. It is made from sustainable bamboo fiber, has a leak-proof lid, is insulated to keep drinks hot for up to 2 hours, and comes in 3 colors: green, blue, and pink.
Congratulations! You have successfully created your first prompt. As you can see, prompt engineering is an iterative process. By following these steps, you can create effective prompts that will help you to get the most out of your interactions with language models.