llm-structured-output
CommunityReliable structured data from LLM outputs.
Software Engineering#llm#openai#anthropic#structured-output#json-schema#constrained-decoding#google-gemini
AuthorChrstprJohn
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Replaces ad-hoc parsing of LLM responses with typed, validated data by extracting JSON-like structures from model outputs.
Core Features & Use Cases
- Structured extraction across OpenAI, Anthropic, and Google Gemini APIs using provider-specific strategies (response_format with json_schema, tool_use blocks, and responseSchema) to guarantee schema conformance.
- Schema-driven validation and retry logic to handle decoding failures, malformed JSON, or missing fields in production systems.
- Supports defining target schemas for downstream pipelines, databases, or UI layers, with step-by-step guidance on choosing the right method per provider.
Quick Start
Create a concrete target schema, configure the extraction provider, and run a single-pass extraction on your LLM output to obtain a typed data object.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: llm-structured-output Download link: https://github.com/ChrstprJohn/SamsonDentalCenter/archive/main.zip#llm-structured-output Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.