서우 AgentOffice
← 라이브러리
ai-research

Instructor

원문: instructor

Extract structured data from LLM responses with Pydantic validation, retry failed extractions automatically, parse complex JSON with type safety, and stream partial results with Instructor - battle-tested structured output library

무엇을 하나요

Instructor: Structured LLM Outputs When to Use This Skill Use Instructor when you need to: Extract structured data from LLM responses reliably Validate outputs against Pydantic schemas automatically Retry failed extractions with automatic error handling Parse complex JSON with type safety and validation Stream partial results for real time processing Support multiple LLM providers with consistent API GitHub Stars : 15,000+ | Battle tested : 100,000+ developers Installation Quick Start Basic Example: Extract User Data With OpenAI Core Concepts 1. Response Models (Pydantic) Response models define the structure and validation rules for LLM outputs. Basic Model Benefits: Type safety with Python

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.