Instructor
Structured output extraction from LLMs with Pydantic
About
Instructor extracts structured outputs from LLMs using Pydantic models for schema definition and validation. It wraps the OpenAI, Anthropic, Google, Mistral, Cohere, and Ollama SDKs (and any OpenAI-compatible endpoint), automatically retries on validation errors with the error message in context, and supports streaming, partial responses, and custom field validators. Released under the MIT license; widely used as a small alternative to full agent frameworks.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- AI Frameworks & Libraries
- Price
- Free
- Platform
- Hybrid
- Difficulty
- Easy (2/5)
- License
- MIT
- Added
- Jan 29, 2026
Related Tools
Tensor library for machine learning on commodity hardware
Deploy LangChain runnables as REST APIs
Unified system for large-scale distributed training and inference.
High-level deep learning library making neural nets accessible with best practices.
End-to-end open-source ML platform by Google for training and deployment.
Open-source machine learning framework by Meta with dynamic computation graphs.