LESSON02.155 minutes
Build a reliable AI assistant
Write an instruction contract
Give the assistant a job, source boundary, response contract, and refusal rule.
A reliable instruction contract states the role, permitted task, approved sources, required output structure, review reminder, and exact conditions for saying that evidence is missing.
Learning outcomes
What you should be able to show.
- 01Write stable instructions separate from a user request
- 02Specify a response format a reviewer can inspect
- 03Add refusal and escalation behavior
Studio practice
Make the lesson visible.
- 01
State the job
Describe one task and audience. Remove claims that the assistant is an expert, employee, or final decision-maker.
- 02
Define the contract
Require headings, citations, missing-information notes, and a final review reminder.
- 03
Write the refusal
Specify the exact response when approved evidence is absent, contradictory, restricted, or outside scope.
Evidence to keep
Your lesson record.
- Versioned instruction text
- Response schema
- Refusal example
REFLECTWhich sentence in your instructions is hardest to test objectively?