What is Instructor?
Instructor is a library that allows you to get structured, validated data from multiple types of inputs: text, chat messages, or images. It is powered by Large Language Models (LLMs). The library is inspired by the Instructor for Python created by Jason Liu.How it works
Instructor uses Large Language Models (LLMs) to process data and return structured information you can easily use in your code.
Instructor in action
Here’s a simple CLI demo app using Instructor to extract structured data from text: