What is a Prompt?
A prompt is the question, request or instruction you give to an artificial intelligence tool.
If you type:
"What can I make for dinner using eggs, tomatoes and cheese?"
that is a prompt.
So is:
"Improve the spelling and grammar in this email."
A prompt can be a few words, a detailed set of instructions, a photograph or even a spoken question. It is simply the information you give an AI to tell it what you want.
Do prompts require special commands?
No. You can communicate with an AI chatbot using ordinary language.
You do not need to understand computer programming or memorise a special list of commands. You can write to it much as you would explain a task to another person.
For example:
"Can you explain how solar panels work?"
If the answer is too complicated, you could continue:
"Please explain it again using simpler language."
If you want an example, you could then ask:
"Can you give me an everyday example?"
Each of these messages is a prompt. Together, they form a conversation in which you gradually guide the AI towards the answer you need.
What can a prompt contain?
A prompt might include:
- A question you want answered
- A task you want completed
- Information the AI needs
- The type of result you want
- The tone or style to use
- The intended reader
- A preferred length or format
- Something you want the AI to avoid
You do not need to include all of these every time. A short prompt is often enough for a simple question.
A simple prompt
Suppose you want help writing an email. You could enter:
"Write an email cancelling my dentist appointment."
The AI can produce an email from that instruction. However, it has very little information, so it may have to make assumptions.
A more useful prompt might be:
"Write a polite email to my dentist cancelling my appointment next Tuesday because I will be away. Ask whether I can rearrange it for the following week."
This tells the AI:
- What you want it to create
- Who will receive it
- Why you are cancelling
- Which appointment you mean
- What you would like to happen next
- The tone you want
The second prompt is likely to produce a result that requires less editing.
Better prompts give the AI useful context
Context is the background information the AI needs to understand your request.
Imagine asking someone:
"Which one should I buy?"
They could not give you a useful answer unless they knew what products you were comparing, what you needed and how much you wanted to spend.
The same principle applies to AI.
Instead of asking:
"Which tablet is best?"
You could ask:
"I want a tablet for reading, watching television and making video calls. My budget is £400, and I would prefer a screen of at least 10 inches. What features should I compare?"
The AI now has enough context to provide a more relevant answer.
You should provide useful context, but avoid including unnecessary personal or confidential information.
A straightforward way to write a prompt
For many everyday requests, include four things:
- The task: What do you want the AI to do?
- The context: What does it need to know?
- The result: What should the answer contain?
- The style: How should it be presented?
For example:
"Create a packing list for a four-day trip to Edinburgh in November. I will be travelling by train and spending one day walking outside. Divide the list into clothing, travel essentials and other useful items."
In this prompt:
- The task is to create a packing list.
- The context is a four-day November trip involving train travel and walking.
- The result should be a useful list.
- The style is an answer divided into three sections.
You do not need to label these parts. Simply include the relevant details in your request.
Tell the AI who the answer is for
An AI can adjust an explanation for different readers.
For example:
"Explain inflation to a 12-year-old."
Or:
"Explain inflation to an adult who has never studied economics."
This is useful when you want the AI to avoid jargon or assume a particular level of knowledge.
You can also tell it about the practical needs of the reader:
"Explain how to set up a video call for someone who is not confident using computers. Use short, numbered steps."
Ask for the format you want
If you do not specify a format, the AI will choose one. You can often get a more useful response by explaining how you want the information presented.
You could ask for:
- A short paragraph
- A numbered guide
- A checklist
- A table
- A list of advantages and disadvantages
- A comparison
- A draft email
- A weekly plan
- A set of questions
- A simple explanation followed by more detail
For example:
"Compare travelling from London to Edinburgh by train and plane. Present the main differences in a table covering journey time, convenience, luggage and environmental impact."
You do not need to write the perfect prompt
Prompting is not an exam. There is rarely one perfect way to ask a question.
If the first answer is not useful, continue the conversation. You could say:
- "Make that shorter."
- "Use simpler language."
- "Give me another example."
- "Make it sound friendlier."
- "Explain the second point in more detail."
- "Remove the technical terms."
- "Put the information into a table."
- "That isn't quite what I meant. I'm asking about…"
- "Ask me questions before giving your answer."
Correcting and refining an answer is a normal part of using AI. You do not have to fit everything into your first message.
Ask the AI to ask you questions
If you are unsure what information to provide, ask the AI to help.
For example:
"Help me plan a weekend away in York. Ask me any questions you need before suggesting an itinerary."
The AI might ask about your budget, interests, mobility, accommodation and preferred pace.
This can be easier than trying to anticipate every detail yourself.
Can you give the AI an example?
Yes. Examples can help the AI understand the kind of result you want.
You might say:
"Write three descriptions for a second-hand dining table. Keep each one under 60 words. I prefer a straightforward style rather than exaggerated sales language."
You could also provide a short example of the tone you prefer:
"I like simple wording such as: 'A solid wooden table in good used condition, with a few marks from normal use.'"
The AI can use the example as guidance without copying it exactly.
Can a photograph or document be a prompt?
With many AI tools, a prompt can include more than text.
You may be able to:
- Upload a photograph and ask what it shows
- Provide a document and request a summary
- Share a chart and ask for an explanation
- Upload instructions and ask for simpler steps
- Speak your prompt instead of typing it
- Give the AI a web page to examine
For example, you might upload a photograph of a plant and ask:
"What type of plant might this be, and what features should I check to confirm it?"
Remember that the AI could identify it incorrectly. Do not rely on image identification where a mistake could be dangerous, such as deciding whether a mushroom is safe to eat.
What information should you avoid putting in a prompt?
Do not assume that an AI conversation is completely private.
Avoid entering:
- Passwords or security codes
- Bank-account or payment-card details
- Copies of identity documents
- Confidential work information
- Detailed medical records
- Personal information about someone else
- Anything you would not want stored by an online service
Remove names, addresses, account numbers and other identifying details where they are not necessary.
For more guidance, read How to Use AI Safely.
Can a good prompt guarantee a correct answer?
No. A clear prompt can make an answer more relevant, but it cannot guarantee that the information will be correct.
AI tools can:
- Misunderstand instructions
- Use outdated information
- Miss an important detail
- Invent facts or sources
- Give an oversimplified answer
- Sound confident when they are wrong
If an answer matters, check it against a reliable source. This is particularly important for medical, financial, legal and safety-related information.
Our guide to Checking AI Answers explains how to do this.
Do you need to learn "prompt engineering"?
You may hear people use the term prompt engineering. It simply means designing instructions that help an AI produce a useful result.
Specialist prompting techniques can be valuable for complicated professional or technical work. Most home users do not need them.
For everyday tasks, concentrate on three things:
- Explain what you want
- Include relevant context
- Refine the answer through conversation
That will usually be more useful than memorising complicated prompt formulas.
Prompts for everyday tasks
Here are some simple examples you can adapt.
Understanding something
"Explain what a heat pump is to someone with no technical knowledge. Include its main advantages and disadvantages."
Improving an email
"Improve the clarity and grammar of this email without making it sound overly formal. Do not change its meaning."
Planning a journey
"Help me plan a three-day visit to Bath. I enjoy history and quiet walks, and I do not want the days to feel rushed."
Comparing products
"Explain the main differences between an air fryer and a fan oven. Concentrate on running costs, cooking time and the amount of food each can prepare."
Learning a skill
"Create a four-week beginner's plan for learning conversational Spanish. I can practise for 20 minutes a day."
Solving a problem
"My wireless printer shows as connected, but nothing prints. Give me one troubleshooting step at a time and wait for my reply after each step."
The final example prevents the AI from overwhelming you with a long list of instructions.
A useful first prompt
If you are new to AI and do not know what to ask, try:
"I have never used an AI chatbot before. Ask me about my everyday activities and suggest five simple ways you could help me."
You can then choose one suggestion and ask the AI to help you try it.
The simple explanation
A prompt is anything you give an AI to begin or continue a task. It can be a question, an instruction, a photograph, a document or a spoken request.
You do not need special technical skills to write one. Start by explaining what you want in ordinary language. Add the details that matter, say how you would like the answer presented and refine the result through conversation.
A useful prompt is not necessarily long or clever. It is simply clear enough to help the AI understand what you need.
