AI glossary · Prompts
Prompt engineering
In one sentence
Prompt engineering is the work of designing, testing and refining the instructions given to an AI model so that it answers well consistently, not just once.
Also known as: prompt design · prompt crafting · prompting
What is prompt engineering?
Writing a prompt that works once is easy. Getting it to work for a hundred different customers, badly worded questions, people in a hurry and odd edge cases is another matter. That’s prompt engineering: treating a model’s instructions like a piece of software that you design, test and maintain.
Put it to work
AI agents that look after your customers
From €49/mo + VAT
Voice, WhatsApp and email with the phone line included: agent, numbers and CRM in one fee.
See plans and pricingIt isn’t magic or a bag of tricks. It’s closer to writing a good internal procedure: what needs doing, with what information, in what format, and what’s off limits. Except that this “employee” takes everything literally.
Related to this term
UTIO agents
- Available 24/7 in 26 languages
- Set it up yourself for €0: built from your website
- 14-day free trial, no card needed
From €49/mo + VAT
See plans and pricingHow it works
The work usually follows a cycle:
- Define the goal. What a good answer looks like and what a bad one looks like, with examples.
- Write a first version. Often in the system prompt: role, tone, rules and limits.
- Test with real cases. Common questions, unusual ones, angry customers, attempts to pull the model off task.
- Adjust and repeat. Change one thing at a time and compare.
The most common techniques are giving examples (few-shot), asking the model to reason step by step before answering (chain of thought), fixing an output format and keeping instructions clearly apart from data. For answers about your own business, it’s combined with RAG, which passes your documents to the model.
Example
An electrical wholesaler in Bristol uses AI to sort incoming email into order, issue, quote or invoice. The first version of the prompt keeps mixing up issues and urgent orders. After going through twenty misfiled emails, the team settles on this:
Classify the email into ONE category: order, issue, quote or invoice.
Issue = something already delivered that is faulty or missing.
If the customer asks for new stock, it's an order, even if they say "urgent".
If you're unsure between two, reply "review".
Return only the category, in lower case.
The rules come straight from real mistakes. And the “review” option stops the model forcing an answer when it isn’t sure.
What it means for your business
You don’t need a prompt engineer to use an AI agent. What you do need is to review its work early on and correct it with specific examples: “this call should have been transferred”, “we don’t quote that price over the phone”.
UTIO is built around that cycle. Creator builds the agent by reading your website and it starts in draft mode, so you check things before anything is sent. If we set it up for you, we tune the script with real conversations during the first month. For your own projects, the AI API lets you try out prompts to generate and classify text.
Frequently asked questions
Do you need to code to do prompt engineering?
Not for the basics. Writing clear instructions, giving examples and testing with real cases is within reach of anyone who knows their business well. Coding helps when you need to automate tests or connect the model to other tools.
Is prompt engineering still useful with more capable models?
Yes, though it's changing. Today's models cope better with vague requests, but they still need to know your context, your rules and the format you expect. They can't guess those.
Is prompt engineering the same as fine-tuning?
No. Prompt engineering changes the instructions and leaves the model as it is. Fine-tuning retrains the model on your own examples. You almost always start with the prompt, which is cheaper and quicker to change.
Related terms
- Prompt
A prompt is the instruction or text you give an AI model to get something done: a question, a command, a document to summarise or a mix of all three. Much of what the model gives back depends on the prompt.
- System prompt
A system prompt is the set of fixed instructions an AI model receives before any conversation starts. It sets the model's role, its tone, what it knows about the business and what it isn't allowed to do.
- Few-shot
Few-shot prompting is a technique where you include a handful of worked examples in the instruction, so the AI model copies the format, tone or judgement you want without having to be retrained.
- Chain of thought
Chain of thought is a technique where an AI model writes out the intermediate steps of its reasoning before giving the final answer. It improves results on calculations, chained rules and multi-step problems.
- Temperature
Temperature is a language model setting that controls how much randomness goes into choosing each token. At low values the model nearly always picks the most likely option and replies predictably; at high values it varies more and comes across as more creative.
Updated on