- 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.
Tutorials for the OpenAI API in JavaScript, covering chat completions, structured outputs, function calling, embeddings, and RAG patterns.