Section 07
Basic AI component
AI should help the business make a better decision. AI is not decoration.
The simple AI pattern
Input
Criteria
AI review
Score / category
Explanation
Recommended next step
The 5-part AI component model
- 1InputsWhat the user gives the app.
- 2CriteriaThe rules or rubric the AI uses.
- 3AI taskWhat you actually ask the model to do.
- 4Structured outputPredictable fields, not free prose.
- 5Human reviewSomeone confirms before action is taken.
Structured output — example
Ask the AI to fill these fields, every time. Predictable shape = usable in the UI.
Score: Category: Strengths: Gaps: Explanation: Recommended Next Step:
Do
Use AI where a human would otherwise read, score, or summarise. Show the reasoning, not just the verdict.
Don't
Don't bolt AI onto a screen because 'AI'. Every AI call should support one specific decision.
Reminder
A reminder for V1: keep the AI logic conceptual today — wiring it to a live model comes later, with an instructor.
Trust, verify, reject — for every AI response
- Trust: small, scoped, exactly what you asked for.
- Verify: open the preview and try the flow before you accept.
- Reject: undo, reset to last working preview, re-prompt with tighter scope.