Instructor
Also called: Instructor Library
An open-source Python library for structured output generation that enables developers to reliably extract validated data from large language models by defining schemas with Pydantic and automatically parsing model responses into typed objects.
Explore more about Libraries
Related terms
A data validation and settings management library for Python using type annotations.
Function CallingA capability that enables an AI model to identify when an external function or tool should be invoked, generate the required structured arguments, and incorporate the returned results into its workflow or response.
JSON SchemaA declarative specification for describing the structure, data types, constraints, and validation rules of JSON documents, enabling AI systems, APIs, and tools to exchange structured data reliably and validate inputs and outputs.
OutlinesA Python library for guiding language models to generate structured text that follows specified formats, schemas, or constraints.