ciunkos.com/Glossary

Context and prompts

Structured outputs

The model’s answer is constrained to match a JSON schema you provide.

Instead of asking for JSON and hoping, you pass a schema and the API guarantees the shape. Your code can parse it without regex and fragile retries. The content can still be wrong; only the format is guaranteed.

Share: LinkedIn · X ·

Related terms

  • Tool use (function calling): The model returns a structured request to run a function you defined; your code runs it.
  • Evals: A repeatable test set that scores an AI feature, so changes can be measured instead of guessed.

← All terms

Need this built, fixed or reviewed?

I build and rescue products with AI coding agents under rules: AI features in production, honest estimates, email that gets delivered.

Przemysław Zalewski

How I work

Przemysław Zalewski · 15+ years shipping software

“a true bias for action” client CTO, public LinkedIn recommendation

All principles and risk levels →