cognesy/instructor-struct

Structured data extraction in PHP, powered by LLMs - core library

v1.0.0-RC13 2025-06-25 20:58 UTC

README

Instructor for PHP is a library that provides a developer friendly way to get structured responses from LLM inference, validate returned data, and automate retries in case of errors when LLM responds with invalid data.