Skip to content

Glossary: Building with LLMs Basics

BaseModel

The Pydantic class you inherit from to describe your data, with one type-hinted attribute per field. `EmailInfo` and `Triage` are examples.

Where the book teaches it

Related terms

PydanticFieldLiteral