Data Science & Analytics

Structured Output

Force LLMs to return typed, validated JSON — not free-text. Use when someone asks to "get structured data from LLM", "parse LLM response as JSON", "make AI return typed output", "validate LLM output", "extract structured data with AI", "use instructor with OpenAI", or "get reliable JSON from Claude/GPT". Covers OpenAI structured outputs, Anthropic output_config.format (JSON outputs), Instructor library, Zod schemas, Pydantic models, and retry strategies for malformed responses.

Publisher / source
TerminalSkills Library
Upstream record
TerminalSkills/skills
Version
Version 3
Published
Publication review
Approved for publication
Content fingerprint
4dbdd4aeba3a4acb58d2a23d22e1936aab405a27553b1842d9e5fee6efeec2a3