- 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 large language models in JavaScript: schema-shaped JSON output, function and tool calling, agents, and retrieval-augmented generation.