Instrument & test instructor
code with Parea AI
instructor
integration provides these features:
p.wrap_openai_client(client, "instructor")
.
Finally, you can use instructor.patch
/ instructor.from_openai
to patch the OpenAI client with Instructor.
In a single code snippet:
instructor
templated_inputs
as inputs and the created Email
object as outputEmail
function schema we passed to OpenAI.