What Is a Prompt?
The shop owner's first attempt was one line: "What is this email about?" The model replied with a friendly paragraph summarising the email, which no program could file into a folder. Nothing was wrong with the model. The prompt simply did not say what was wanted.
The rule
A prompt is everything the model reads before it answers.
That includes the words you type, but also any hidden system instructions, earlier turns of the chat, pasted documents and examples. The model continues all of it. Most useful prompts contain four parts:
- Instruction — the job: "Classify this email."
- Context — background that shapes the job: who you are, what the labels mean.
- Input data — the thing to work on: the customer's email.
- Output format — exactly what the answer should look like.
Here is the Spoke & Chain triage prompt with all four:
You sort emails for Spoke & Chain, a bicycle shop. <- context
Classify the email below into one category: <- instruction
repair, order, refund or other.
Reply with the category only, in lowercase. <- output format
<email>
Hi, I ordered a red helmet on Monday and it still hasn't come. <- input data
</email>The expected answer is order. Notice the tags around the email. They mark where the data starts and stops, so the model does not confuse the customer's words with your instructions.