What is prompt engineering?
Prompt engineering is the skill and practice of designing instructions (prompts) for AI so that the model gives accurate, reliable and repeatable results.
Explanation
For a one-off question, common sense is enough. But when AI runs in a process a hundred times a day, for example sorting emails or reading invoices, even a small inaccuracy in the prompt is repeated a hundred times. Prompt engineering therefore includes designing, testing and tuning prompts on real examples.
Common techniques include a clearly defined role and task, separating instructions from input data, examples of correct results (so-called few-shot), a request for structured output such as JSON, and splitting a complex task into smaller steps. A set of test cases is also important, to verify that a new version of a prompt does not work worse.
With better models some of the tricks fade, but the principle stays: the model needs a clear goal, context and quality criteria. For ordinary users the basics, which can be learned in training, are enough; in automations prompt engineering is part of development.
Example from a company
If AI mixes up the delivery date with the order date when processing orders, the prompt is extended with an exact definition of the fields and two sample orders. The change is checked on a set of real emails before it goes into production.
Related AICO service
AI training: AI training for companies: 2 h online introduction €190, 4 h team workshop for up to 12 people €390, full-day training at your company €990. Excl. VAT.
Not sure where to start? Order a free AI Discovery: our person goes through your company with you, and within 24 hours you have an opportunity map.