Instructions and context
🏠The everyday picture
Briefing a new temporary staff member: "Answer the phone" gets you something. "You're covering reception for our tailoring shop. Callers usually ask about delivery dates. Check the order book, be polite, and if you don't know, take a number and say we'll call back by 5 pm" gets you what you need.
📘What it really is
- A prompt is everything you give the model: instructions, context, examples, the question.
- Good instructions are:
- clear and specific: say exactly what you want ("summarise in 3 bullet points for a busy manager"), not "summarise this";
- about the audience and purpose: who is it for, and why;
- explicit about format and length;
- explicit about limits: what not to do, and what to do when unsure ("If the policy doesn't cover it, say so");
-
positive where possible: "write in plain English" works better than a long list of "don't"s.
-
Context is the information the model needs that it doesn't have: your policies, the customer's history, today's date, the product list. The model only knows what's in its training and its context (Module 82).
-
System prompts (in apps and APIs) hold standing instructions: the assistant's role, rules and tone, separate from each user's message.
-
Structure long prompts with headings or tags, so the model can tell instructions from material:
You are a staff assistant for Sharma Textiles' customer team.
Answer only from the documents below. If they don't contain the answer,
reply: "I couldn't find that in our documents. Please check with a manager."
<documents>
...policy text...
</documents>
<question>
Can a customer return a tailored item after 10 days?
</question>
- Think of it as briefing a capable colleague who knows nothing about your business: what would they need to be told?
🖱️Try it
Take a vague prompt ("write a reply to this enquiry") and rewrite it with role, audience, context (paste an enquiry and your reply policy), format, length and what to do when unsure. Compare the outputs from both versions, and note which details made the biggest difference.
✅Quick check
Why should a prompt say what to do when the model is unsure?
Show the answer
Otherwise it may invent an answer rather than admit it doesn't know.
Why separate instructions from material with headings or tags?
Show the answer
So the model can tell which text is instructions and which is content to work on.
