Class SystemLanguageModelSchema
Constructor
constructor
Create new instance.
Parameters
- name: string
Human-readable name for property
- description: string
Detail regarding the use of the property
Returns SystemLanguageModelSchema
- name: string
Staticcreate
Create new instance
Parameters
- name: string
Human-readable name for property
- description: string
Detail regarding the use of the property
Returns SystemLanguageModelSchema
- name: string
Values
add Boolean
Add a boolean type property
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string
add Boolean Array
Add an array of boolean type properties
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string
add Int
Add an integer type property
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string
add Int Array
Add an array of integer type properties
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string
add Number
Add a number type property
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string
add Number Array
Add an array of number type properties
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string
add String
Add a string type property
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string
Add a string type property
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string
add String Array
Add an array of strings type properties
Parameters
- name: string
Human-readable name for property. This will translate to a key for the value in returned object.
- description: string
Details on the usage and meaning of the property to guide the model in creation of results.
Returns void
- name: string

Create generable schema to provide to SystemLanguageModel objects to get back structured, non-string responses.
Example
Getting Structured Responses