instructor
CommunityReliable, typed extraction of structured data from LLM responses.
Authorovachiever
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Extract structured data from LLM outputs with automatic validation, retry on errors, and streaming of partial results for real-time processing.
Core Features & Use Cases
- Pydantic-based response models ensure type-safe, validated outputs
- Automatic retries with error feedback when validation fails
- Support for multiple providers (OpenAI, Anthropic, Google) with consistent API
- Streaming partial results to UI or downstream processes
Quick Start
Create a Pydantic model and validate an LLM response using Instructor with a Claude or OpenAI backend.
Dependency Matrix
Required Modules
instructorpydanticopenaianthropic
Components
references
💻 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: instructor Download link: https://github.com/ovachiever/droid-tings/archive/main.zip#instructor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.