Module 83: Prompt Engineering

Lesson 1 of 5 · 15–25 minutes

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

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>

🖱️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.

← BackModule 83
ProLearners Assist