New York Site views —Page views —
← All series

Structured output and JSON

Generate, validate and store structured results across a batch of documents.

Reading order

  1. Generating consistent JSON with a language model
  2. Repairing malformed JSON output automatically
  3. Writing JSON from a language model safely to a database
  4. Keeping extracted fields consistent across a batch of documents