Skip to content

Glossary: Building with LLMs Basics

Pydantic

Also written: pydantic

A Python library that describes data with type hints and checks real data against them. It also writes JSON schemas from your classes.

Where the book teaches it

Related terms

BaseModelJSON schemaValidationError