Concept · 3 episode(s)

Output Contracts

← all concepts

Definition

Output contracts are explicit specifications of what a model’s output must look like — valid JSON matching a schema, a constrained grammar, a regex. They’re what turn LLMs from text generators into reliable system components.

Episodes covering this