Lesson 8 6 min

Add a detail that helps

Keep your goal and add one useful detail without sharing private information.

Learning goal

I can add a detail that changes the answer in a useful way.

How it works

A prompt can give a goal and a detail. The detail might say how long the answer should be. Give the details that help with the job. Keep things like your address and password private.

Think of it like this

It’s like making a sign for a tiny shelf. You need words that fit. A friend could hold up the paper and check its size. The tool needs you to say the limit, and you still need to check the result.

Worked example

Paz wants a sign about watering a pretend plant. “Write a sign for the plant” could lead to “Our green plant”. Paz adds “Ask people to water it. Use three words.” “Please water me” asks for water and fits the three-word limit.

What to remember

Give a useful detail, then check if the answer follows it.

  1. Goal only“Write a sign for our plant.”
  2. Goal and detail“Write a three-word sign that says to water the plant.”
The new words tell the helper what the sign should say and how short it should be.

Key words

Prompt
The words or other information you give an AI system to tell it what you want it to do.
Constraint
A limit a response or action must follow, such as using three lines or keeping a file private.
Personal information
Details that identify you or tell others about your life, such as your address, school, location, private messages, or photos. Keep passwords private too.
More Prompt Engineering lessons

Activity

Make a sign fit

Materials A small piece of paper and a pencil, or a partner to read both requests.

  1. Start with “Write a sign for the plant.” Say two signs that might fit.
  2. Add “Ask people to water the plant. Use three words.” Try writing a sign that fits.
  3. Pretend the first version says “Care for this nice plant”. Underline the three words that fit in “Please water me”.

Talk it through You can ask for a short sign without giving your school name, a photo, or your address.

Quick check

1. Which detail helps the most with “Write a sign for the plant”?
Answer and explanation

“Use three words.” The length helps the sign fit. The other details are private or unrelated.

2. Which sign answers “Ask people to water the plant in three words”?
Answer and explanation

“Please water me.” It asks for water and uses exactly three words.