Nearly right, every time differently

Every Friday you pull the same few details out of a pile of documents.

In a lab it's the week's new abstracts in your field: organism, sample size, method and main finding, for the group's literature table. In a company it's the week's supplier invoices: supplier, invoice number, date, amount and due date, for the payments sheet.

You've started asking a chatbot to do it, and the output is nearly right every time, in a different way each time. One week the sample size comes back as "24 mice", the next as "n = 24", the next as "twenty-four". One week you get a table, the next week bullets. And once, for an abstract that never stated a sample size, the chatbot supplied one anyway.

Asking it to be "more careful" doesn't help. What helps is a prompt you write once, like a short job description, then test on real inputs and improve one change at a time. You'll write that prompt in this book, and you'll learn to tell a prompt problem from a missing-information problem. At Level 1 User, a wrong row only lands in your own table, so this is the place to learn it.

After this you can

  • Write a prompt with a role, a task, constraints and an example.
  • Fix a bad output by changing one thing at a time, and say which change worked.
  • Tell an unclear instruction from missing information, and fix each the right way.
  • Save the prompt and run it on next week's inputs.

Before you start

  • Books: T02-L01 · Get Answers You Can Use from a Chatbot, which gets one good answer in one conversation. This book turns that into something you reuse, following the four quadrants from T01-L01 · From Idea to Working Result: The Four-Quadrant Method.
  • A chat assistant: the one you used in T02-L01 · Get Answers You Can Use from a Chatbot. If you have none yet, use Claude on the free plan. It follows detailed instructions well. It also has projects: a project is a folder in Claude that keeps your prompt as standing instructions, so you don't paste it every week.
  • Five real inputs of the same kind: five abstracts, five invoices, five order emails. Include one awkward case, such as one with a detail missing. Published abstracts are fine to paste. Invoices contain bank details and names, so use your organisation's approved assistant, or remove those parts first ().