Prompt engineering

Prompt engineering is writing and testing the instructions and context given to a language model so it returns useful, consistent output for a specific task.

Why it matters for a startup

The same model can give very different results depending on the instructions it receives. A clear prompt is often the cheapest way to improve an AI feature.

Prompts are part of the product. They set tone, limits and format, so they should be written down, versioned and tested like any other piece of the build.

How we handle it

Prompts work best when written with the product team, using real examples of good and bad output. Keep a small set of test inputs and rerun them after every change.

We also design the interface around what a prompt cannot promise. The screen should still work when the output is weak. See our AI product design service.

Example

A support tool summarises tickets. The first prompt returns long, uneven summaries. A revised prompt asks for two sentences and a category, with one sample. The team checks it against twenty saved tickets.

Common mistakes

  • Changing a prompt without rerunning saved test cases.
  • Asking for many things in one long, unclear instruction.
  • Relying on a prompt to enforce rules that the product should enforce in code.
  • Skipping examples when the model keeps missing the format.

Related terms

Related services

Questions founders ask

Want this designed for your product?

Book a 30-minute call. You leave with a clear plan and a fixed price, and no obligation.

  • Monthly retainer, pause or cancel any time