Skip to main content
Ryan Orban

Ryan Orban

Subject
2 entries

Structured Output

Bookmarks

  1. 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.

  2. 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.

All bookmarks