567-labs/instructor-js

structured extraction for llms

44
/ 100
Emerging

Leverages OpenAI's function calling and tool APIs (or JSON modes for other providers) combined with Zod schemas to enforce type-safe structured outputs with full TypeScript inference. Supports multiple extraction modes—TOOLS, FUNCTIONS, JSON, MD_JSON, and JSON_SCHEMA—enabling flexibility across different LLM providers while maintaining streaming capabilities for real-time partial extraction and automatic retry logic for robustness.

781 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 18 / 25

How are scores calculated?

Stars

781

Forks

72

Language

TypeScript

License

MIT

Last pushed

Jan 27, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/567-labs/instructor-js"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.