All terms

Search Tactic

Prompt engineering

Also known as: prompting, prompt design, prompt writing

Prompt engineering is the practice of writing and structuring instructions so a language model produces reliable, useful output. It covers wording, context, examples, output format and constraints, and usually involves testing variations against a fixed set of cases. It is a working method rather than a guarantee, since models differ and outputs vary.

What it is

A prompt is the text and context sent to a model, including system instructions, user input, retrieved documents and any examples. Prompt engineering is the discipline of shaping those inputs so the response is accurate, on brief and in the right format. It overlaps with retrieval design, tool use and evaluation, because prompt quality alone cannot fix missing or wrong source data.

Why it matters

For marketing and search teams, prompts drive the quality of content drafts, classification tasks, data cleaning and internal research at scale. Good prompts reduce rework, hallucinated detail and inconsistent tone across a team. Prompts also shape how AI search features are tested, since the same question phrased differently can produce very different answers about your brand.

How it works

Practitioners state the role and task plainly, supply the source material rather than relying on model memory, give one or two worked examples, specify the output format, and set explicit limits such as word count or what not to include. They then run the prompt across a test set, score the outputs, and iterate, keeping successful prompts in a shared library with version notes. For production use, prompts are stored in code or a prompt management tool alongside evaluation cases.

When it applies

Applies whenever a team uses language models repeatedly for the same task, and whenever consistency, accuracy or brand tone matter more than a one off answer.

Examples

  • A content team uses a prompt that supplies the approved product spec sheet and asks for a 60 word description in UK English with no superlatives.
  • An SEO analyst prompts a model to classify 5,000 queries into intent buckets, with three labelled examples and a rule to return only the label.
  • A brand tests ten phrasings of the question "who are the best providers of X" in an AI assistant to see which competitors appear and which sources are cited.

How it is measured

  • Accuracy or acceptance rate of outputs against a human reviewed sample
  • Edit distance or time to publish between first draft and final copy
  • Format compliance rate, such as percentage of outputs returning valid JSON or the specified length
  • Cost and token use per completed task across prompt versions

Related terms in Search Tactic

Primary research · August 2026

How ChatGPT Shortlists Software Brands

An audit across 10 categories and 60 buying questions. I recorded what ChatGPT reads, throws away and links to when a buyer asks it which software to buy, and what that decides.

60
Questions asked
10
Software markets
2,680
Results read
367
Links shown
Free35 pages · PDF · 536 KBDiscovery Digest every Friday

Free download

Get the full report

35 pages · PDF · 536 KB. Enter your details and it downloads straight away.

How ChatGPT Shortlists Software Brands downloads straight away. No spam, unsubscribe anytime.