Skip to content

Glossary: RAG Basics

Structured output

Also written: messages.parse, output_format

Getting the model's reply as a filled-in Pydantic object rather than free text. It is used for quoted claims and judge verdicts.

Where the book teaches it

Related terms

PydanticLLM-as-judge