Skip to content

Glossary: Running Open Models Locally

Pydantic

Also written: BaseModel, model_validate_json, model_dump

A Python library for describing data shapes as classes. A class such as `Triage` can produce a JSON schema, validate JSON from a model, and convert results into dictionaries.

Where the book teaches it

Related terms

JSON schemaLiteral type