AI Implementation

Prompt engineering

The discipline of writing instructions for an LLM precisely enough that it gives the right answer in the right format, every time, even on edge cases.

What it means

Prompt engineering is what 'just write what you want' becomes when you have to do it 50,000 times a day. Choosing the right structure (system prompt vs user message), providing the right examples (few-shot, zero-shot), constraining the output (JSON schema, length, tone), and handling failure modes (what does the model do if the input is malformed).

Good prompt engineering is closer to product design than to creative writing. You iterate on a small eval set, you measure outputs against an explicit rubric, and you version-control the prompt so a change can be rolled back if it regresses.

Why it matters

Prompt engineering is what makes the difference between an AI agent that delights customers and one that frustrates them. Same model, same data, very different outcomes depending on how the prompt is written.

It is also where most of the durable value lives. Models change every few months; the prompts and the eval sets that prove they work carry over across model swaps. Investing in the prompt is investing in the long-term asset.

Example

An AI sales agent for a beauty retailer goes through five prompt iterations before launch. Version 1 sounds robotic. Version 3 over-apologises. Version 5 hits the right brand tone, asks the right qualifying questions in a natural order, and converts twice as many enquiries as the human-only baseline. The prompt is now a versioned asset, treated like product code.

Where this comes up

← Back to all terms