Skip to content

Instructor

Open source

Jason Liu & community · LLM & RAG frameworks · Since 2023

Pydantic-typed structured outputs from any LLM.

Overview

Patches LLM clients so responses are parsed and validated into Pydantic models, with automatic retries on validation errors; ports exist for TypeScript, Go, Ruby and more.

  • Pydantic validation
  • Automatic retries
  • Streaming partial objects