Structured Output From Language Models Quiz

Interactive Quiz ⋅ 11 Questions
By Stephen Gruppetta

In this quiz, you’ll test your understanding of Structured Output From Language Models.

By working through this quiz, you’ll revisit how to keep a prompt’s instructions apart from its data, test a prompt on a whole set of notes, and choose a model’s settings. You’ll also revisit how to request JSON that fits a schema, parse an answer safely, check it with Zod, and retry once before you hand a note to a person.

The quiz contains 11 questions and there is no time limit. You’ll get 1 point for each correct answer. At the end of the quiz, you’ll receive a total score. The maximum score is 100%. Good luck!

Related Resources

A developer checks a paw-marked appointment card at a schema gate on a long machine that turns a hopper of crumpled notes into booked cards, with an ask a person chute.

Course

Structured Output From Language Models

Turn free-text notes into data with a language model: prompt for JSON that fits a schema, check it with Zod, and retry or hand off.

intermediate ai