Skip to content

Glossary: Building with LLMs Basics

Field

Also written: Field(...)

A Pydantic function that adds details to a model field, such as a `description` the model reads as an instruction, or a `pattern` the value must match.

Where the book teaches it

Related terms

PydanticBaseModelRegular expression