Generative AI · Beginner level

Beginner level · Module 4: Prompt Engineering Fundamentals · Lesson 3 of 3

Iterating and Keeping a Prompt Log

Learners improve prompts step by step, keeping a log of prompts, outputs and changes so that good prompts can be reused and results explained.

In this lesson you will

  • Iterate on prompts systematically
  • Keep a reusable prompt log

Key concepts

iterationone change at a timeprompt logreusable templatesevaluation notes

The lesson

Improve prompts by changing one thing at a time (add a constraint, an example or more context) and noting the effect. Several changes at once make it hard to know what helped.

A prompt log records the date, tool, prompt, output and notes. It helps you reuse successful prompts as templates and shows clients or managers how content was produced.

Turn your best prompts into templates with blanks, such as [product], [price] and [audience], for the business to reuse.

Step by step

  1. Start a prompt log in a document or spreadsheet.
  2. Improve one prompt over four iterations, changing one thing each time.
  3. Record each output and note.
  4. Turn the final prompt into a template.

Practice activity

Produce a prompt log with four iterations and two reusable templates for the project.

Expected result: A clear log showing measured improvement and usable templates.

Check your understanding

  1. Why change one thing at a time?

    Show answer

    To know which change improved the result.

  2. What does a prompt log record?

    Show answer

    Date, tool, prompt, output and notes.

Further learning

Taught live by an instructor — online or in person. Free course lessons are for self-study and do not lead to a certificate — see registration options.