- Published on
Reliably get JSON from an LLM in JavaScript with OpenAI structured outputs and a Zod schema, instead of prompting for JSON and parsing fragile model text yourself.
Working with JSON in JavaScript, including getting reliable, schema-shaped JSON back from large language models instead of fragile string parsing.