Instructor
class is being replaced with StructuredOutput
class; the old class will be kept for some time to allow for a smooth transition.StructuredOutput
class and recommended create(), generate() methodsStructuredOutput
class and its usageStructuredOutputResponse::response()
or StructuredOutputResponse::stream()
do not cause re-processing (deserialization, validation, transformation) of the response valueinput
argument from StructuredOutput methods and StructuredOutputRequest class - use messages
instead - (examples) Added StructuredOutput fluent API examplewithDebug()
support to Embeddings class