Structured data processing in PHP, powered by LLMs. Designed for simplicity, transparency, and control.
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.
Check how to set up Instructor in your project and start processing data with LLMs
Read more about basic concepts behind Instructor
Learn Instructor features and capabilities
Browse examples to see Instructor in action and find out how to use it in your projects
Deep dive into Instructor internals and low level mechanisms
Instructor is designed to make it easy to process data with LLMs in PHP. Here are some of the key features of the library:
Instructor has been implemented in various technology stacks. Check out implementations in other languages below:
If you want to port Instructor to another language, please reach out to us on Twitter we’d love to help you get started!
Structured data processing in PHP, powered by LLMs. Designed for simplicity, transparency, and control.
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.
Check how to set up Instructor in your project and start processing data with LLMs
Read more about basic concepts behind Instructor
Learn Instructor features and capabilities
Browse examples to see Instructor in action and find out how to use it in your projects
Deep dive into Instructor internals and low level mechanisms
Instructor is designed to make it easy to process data with LLMs in PHP. Here are some of the key features of the library:
Instructor has been implemented in various technology stacks. Check out implementations in other languages below:
If you want to port Instructor to another language, please reach out to us on Twitter we’d love to help you get started!