Verdict
Individual project
A fashion purchase-decision assistant. Upload a photo, the garment, and the occasion, and Verdict returns an explainable recommendation before you buy.
Inputs
- Your photo
- Garment photo
- Occasion
- Style profile
Input checksCode
File type, size, and a 512 px minimum, before any model call
Vision modelModel
Rates six dimensions, each with a reason and a confidence
Zod schemaCode
Strict validation. A mismatched response fails; nothing is guessed
Fixed rulesCode
A weighted score maps to one of four verdicts
Explained verdictResult
Reasons per dimension, and what to consider
Rule weights per dimension
- Occasion fit30%
- Formality25%
- Style preference match20%
- Color harmony15%
- Seasonality10%
- Style consistencyShown, not scored
Possible verdicts
- Highly Recommended
- Recommended
- Consider Alternatives
- Not Recommended
- A vision model rates six dimensions, including occasion fit, color harmony, formality, and seasonality
- Model output is validated against a Zod schema, and the final verdict is calculated by fixed rules rather than by the model
- A reusable Style DNA profile, kept in the browser's local storage, personalizes each analysis
- Context
- Built during OpenAI Build Week, with Codex as a coding assistant
Technologies
- Next.js
- TypeScript
- OpenAI Responses API
- Zod
- Tailwind CSS
- Jest







