Instructor
Open Source
Library
Structured outputs from LLMs made easy
About
Instructor makes it easy to get structured data like JSON from LLMs. It uses Pydantic models to define your schema and handles retries, validation, and streaming automatically. Works with OpenAI, Anthropic, and many other providers.
Compatibility
Supported Languages
python
typescript
Details
- Category
- Library