Get your API key

Lesson 3 of 8

Examples and output format

One good example beats ten adjectives, and an exact output shape stops the agent from inventing its own.

8 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson you will give the agent an example it can copy and a format it cannot invent, which is the cheapest quality jump in prompt engineering.

You need: a project folder with at least one screen you already like · Time: 8 minutes

  1. When you write "make it modern", the model does not go and look at modern design. It maps the word to the middle of everything it has seen. That middle is generic. You then look at the result and say "no, not like that", and the model maps "not like that" to another average.

    You are paying full price for a guess that a fifteen-second example would have removed.

    Why?

    An example is not a hint. It is a measurement. It tells the model where on the curve you want the output, and every later decision gets compared against it.

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. One example beats twenty rules
  2. Where the example comes from
  3. Delimit what is data, not instructions
  4. State the format as a contract
  5. Recap