A simple Next.js app that demonstrates OpenAI's structured outputs feature.
Instead of getting messy text responses from AI, this app shows how to get clean, structured JSON that your frontend can actually use.
- Ask for a recipe (like "meat lovers lasagna")
- Get back structured ingredient data with name, amount, and unit
- No more parsing weird AI text responses!
yarn devAdd your OpenAI API key to .env:
OPENAI_API_KEY=your_key_here
[Watch the walkthrough video here - LINK COMING SOON]