What is prompt engineering?
Prompt engineering is phrasing your instruction to AI so that you consistently get a usable result. A good prompt gives context, a clear task, the format you want and the boundaries.
What goes into a good prompt?
- Context: who are you, who is it for and what is the situation?
- The task: what exactly should AI do?
- The format: length, tone, bullet points or a table.
- Boundaries: what should definitely not be in it?
- Optionally, an example of what it should look like.
An example
Weak: “Write an email about the delay.”
Strong: “You work in customer service at an online store. Write a short, friendly email to a customer whose order will arrive two days late. Apologise and mention the new delivery date. Do not offer a discount. Maximum 120 words.”
What to watch out for
- Always check the output before you use it.
- Do not put confidential information into public AI tools.
- Save prompts that work well as templates for the team.
- If you keep getting a wrong answer, also look at the information AI is using. Sometimes the problem is not the prompt.
A good prompt depends on the task, the model and the context. It is mostly about phrasing clearly, judging the result and adjusting.
Read also: AI Adoption Notes #01: which source should AI trust? →
Related terms
Prompt engineering training
Learn in one day how to get usable answers from AI every time, with examples from your own work.