What is an AI prompt? Plain-English guide
The instructions or question you give an AI.
Last reviewedIn plain English
A prompt is whatever you give an AI to respond to: a question, an instruction, a piece of text to rewrite or a mix of these. The AI treats your prompt as its starting point and writes an answer that fits it.
What can go into a prompt
A strong prompt often has up to four parts:
- A role: who the AI should act as, such as "a patient maths tutor".
- A task: what you want done, using one clear verb.
- Context: who it is for, what it is used for and what to include or avoid.
- A format: how long it should be and how it should look.
Our 4-part prompt formula walks through each one.
A simple example
| Weak prompt | Stronger prompt |
|---|---|
Help me with my email | Rewrite the email below so it is polite and clear. Keep my meaning. Under 100 words. Email: [paste] |
The second prompt tells the AI what to do, what to preserve and how long to go, so it has far less to guess.
Prompt and system prompt
There are usually two layers of instruction. The prompt is what you type. The system prompt is hidden text set by the app's developer that gives the AI its general rules and role. Both count toward the context window.
Why it matters
The same model can give a vague answer or an excellent one depending on the prompt. Writing prompts on purpose is the skill called prompt engineering, and our beginner's guide to what is prompt engineering explains it. You can also start from ready-made ones in the Prompt Library.
Common mix-ups
- A prompt is not a command to a computer. The AI interprets it, so clarity beats clever tricks.
- One prompt is not the whole conversation. You can reply, refine and ask again.
- Longer is not automatically better. Relevant detail helps. Padding does not.
Related terms
- System promptHidden instructions a developer gives a model to set its role, rules and style before the user starts chatting.
- Few-shot promptingGiving the AI a few examples of the output you want inside your prompt.
- Context windowHow much text (measured in tokens) a model can consider at once, including your messages and its replies.
Keep reading
- GuidesThe 4-part prompt formula that works in every AI chatbot4 min read
- GuidesWhat is prompt engineering? A beginner's guide5 min read