Subject
2 entries
Structured Output
Bookmarks
Batch classification with Instructor
An Instructor example showing how to classify multiple items in a single batched LLM call using Pydantic schemas — more efficient than sequential one-at-a-time classification, and type-safe by construction.
Outlines: Guided Text Generation
Outlines is a Python library for guided LLM text generation — constraining model outputs to match JSON schemas, regex patterns, or context-free grammars. It was one of the first production-quality structured generation libraries before OpenAI's own structured outputs feature.
