Create new instance.
Human-readable name for property
Detail regarding the use of the property
StaticcreateCreate new instance
Human-readable name for property
Detail regarding the use of the property
Add a boolean type property
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Add an array of boolean type properties
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Add an integer type property
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Add an array of integer type properties
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Add a number type property
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Add an array of number type properties
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Add a string type property
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Add a string type property
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Add an array of strings type properties
Human-readable name for property. This will translate to a key for the value in returned object.
Details on the usage and meaning of the property to guide the model in creation of results.
Create generable schema to provide to SystemLanguageModel objects to get back structured, non-string responses.
Example
Getting Structured Responses