1.6.1 · Lesson 23 of 28
Model instruction frameworks
Create reusable instructions that control model behavior. A good instruction framework defines:
WHAT
Create reusable instructions that control model behavior.
A good instruction framework defines:
- role
- objective
- constraints
- input format
- output format
- prohibited behavior
- escalation behavior
Example structure
Role ↓ Task ↓ Context ↓ Rules ↓ Output Format ↓ Constraints
AWS
- Amazon Bedrock Prompt Management
- Amazon Bedrock Guardrails
- prompt templates
Prompt Management
Useful for:
- reusable templates
- parameterization
- versioning
- controlled prompt usage
Guardrails
Useful for applying safety and responsible-AI controls.
EXAM TRAP
Prompt instructions and safety controls are related but not identical.
A prompt saying "never reveal sensitive information" is not equivalent to implementing enforceable safety controls.
---
Key points
- Create reusable instructions that control model behavior. A good instruction framework defines:
Exam focus
Focus on requirement-driven choices and common architecture traps.