Skip to main content

Overview

Instructor can extract data from the LLM response and use it to instantiate an object via setter methods. If given property is not public and has no matching constructor params Instructor will use the setter method parameter nullability and default value to determine if property is required.

Example