JSON output schemas for LLMs
JSON Schemas to get structured answers from a model: extracting invoices, CVs, tickets.
contextetech
JSON schema: extract a U.S. invoice
JSON Schema to extract a U.S. invoice with an LLM: vendor, invoice number,…
contextetech
JSON schema: extract a resume
JSON Schema to extract a resume with an LLM: experience, skills, education and…
contextetech
JSON schema: classify a support ticket
JSON Schema to classify a support ticket: category, priority, sentiment,…
What is an output schema?
An output schema is a JSON Schema describing exactly the shape of the expected answer: which fields, which types, which are required. Recent models can follow it (structured outputs).
Guide: Output schemas →