2.1.5 · Lesson 5 of 25
Human-in-the-Loop
AI should not always make the final decision.
Overview
AI should not always make the final decision.
Some workflows require human expertise.
Example:
AI analyzes insurance claim
↓
Risk assessment
↓
Human Review
↓
Approve / Reject
↓
Continue workflowStep Functions + Human Approval
A workflow can pause:
Step Functions
↓
AI analysis
↓
Approval required
↓
WAIT
↓
Human decision
/ \
Approve Reject
↓ ↓
Continue StopThis is useful for:
- financial decisions
- sensitive operations
- compliance
- high-risk actions
- exceptions
API Gateway for Feedback
API Gateway can expose an endpoint for human feedback.
AI System ↓ Review Required ↓ Human ↓ API Gateway ↓ Feedback / Approval ↓ Workflow continues
Key concept
Human augmentation means AI enhances human capability instead of necessarily replacing human decision-making.
Key points
- financial decisions
- sensitive operations
- compliance
- high-risk actions
- exceptions
- Step Functions + Human Approval
- API Gateway for Feedback
Exam focus
Human augmentation means AI enhances human capability instead of necessarily replacing human decision-making.