instructor
PyPI 包 中按月下载量排名第 20 / 共 54
17.3M 月下载量
structured outputs for llm
项目介绍
Get reliable JSON from any LLM. Built on Pydantic for validation, type safety, and IDE support.
That's it. No JSON parsing, no error handling, no retries. Just define a model and get structured data.
Use Instructor for fast extraction, reach for PydanticAI when you need agents. Instructor keeps schema-first flows simple and cheap. If your app needs richer agent runs, built-in observability, or shareable traces, try PydanticAI. PydanticAI is the official agent runtime from the Pydantic team, adding typed tools, replayable datasets, evals, and production dashboards while using the same Pydantic models. Dive into the PydanticAI docs to see how it extends Instructor-style workflows.
Getting…
最新指标
| 月下载量 | 17.3M | 2026-07-16 |
|---|---|---|
| 周下载量 | 4.3M | 2026-07-16 |
| 日下载量 | 680.1k | 2026-07-16 |