respond
method
on the Instructor instance. This method takes a string (or an array of
strings in the format of OpenAI chat messages) as input and returns a
data extracted from provided text (or chat) using the LLM inference.
Returned object will contain the values of fields extracted from the text.
The format of the extracted data is defined by the response model, which
in this case is a simple PHP class with some public properties.