Lightlines
By orchestra-research

instructor

orchestra-research898 installs

Build reliable, typed data extraction from LLMs.

What it does

Guides developers in implementing typed, validated LLM outputs with automatic retries and streaming using Instructor.

When to use it

Use when implementing structured extraction, schema validation, automatic retries, typed JSON parsing, streaming, or support for multiple LLM providers.

How to use it

It changes how the agent implements structured LLM outputs by defining Pydantic response models and applying Instructor's validation, retry, and streaming patterns.

What you provide

  • An existing project

Latest review

What you need · 2

The guide is about the instructor library, which its Python examples import and use to wrap LLM clients.

The examples use Pydantic models to define and validate structured responses.


Access · 0

No additional actions listed.