567-labs/instructor-js
TypeScript library for extracting structured data from LLMs using schema validation with Zod.

Not currently ranked — collecting fresh signals.
star history
Instructor is a TypeScript library that enables structured extraction from large language models by combining OpenAI’s function calling API with Zod for schema validation. It provides type-safe extraction of structured data from model outputs, allowing developers to define schemas and receive strongly-typed responses. The library emphasizes simplicity, transparency, and control in working with LLMs for data extraction tasks.
Frequently asked
- What is 567-labs/instructor-js?
- TypeScript library for extracting structured data from LLMs using schema validation with Zod.
- Is instructor-js open source?
- Yes — 567-labs/instructor-js is open source, released under the MIT license.
- What language is instructor-js written in?
- 567-labs/instructor-js is primarily written in TypeScript.
- How popular is instructor-js?
- 567-labs/instructor-js has 800 stars on GitHub.
- Where can I find instructor-js?
- 567-labs/instructor-js is on GitHub at https://github.com/567-labs/instructor-js.