Skip to content

Glossary: Building with LLMs Basics

JSON schema

Also written: schema, JSON Schema

A standard description of the shape JSON data must have: which fields, which types and which values are allowed. Pydantic can write one from a Python class.

Where the book teaches it

Related terms

Structured outputPydantic