Instructor
JSON →Structured data extraction from LLMs via Pydantic models. Patches or wraps provider clients (OpenAI, Anthropic, Gemini, Cohere, Mistral, Groq, Ollama, and 15+ others) to add response_model, automatic validation, and retry logic. Uses tool-calling or JSON mode depending on provider. Core interface: client.chat.completions.create(response_model=MyModel, ...) returns a validated Pydantic instance. Maintained by Jason Liu / jxnl.
Traffic · last 30 days ↑0% vs prev 7d
total hits 34
actors 7 distinct systems
last hit 1d ago GPTBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · VN
Resources
homepagepython.useinstructor.com ↗
API endpoints
full doc /v1/registry/instructor
install /v1/registry/instructor/install
compatibility /v1/registry/instructor/compatibility