functions.argument
The argument
object is used to define the input data that will be passed to the function.
Name | Type | Default | Description |
---|---|---|---|
argument Required | object | - | An object that contains the argument Parameters . |
argument Parameters
Name | Type | Default | Description |
---|---|---|---|
type Required | string | - | The type of argument the AI is passing to the function. Possible Values: "string" , "object" . |
properties Required | object | - | An object that contains the properties Parameters . |
properties
The properties
object is used to define the properties of the argument.
A user-defined key is used to define the property, and the value is an object that defines the type
and description
of the argument.
properties Parameters
Name | Type | Default | Description |
---|---|---|---|
[key: string] Required | object | - | The user-defined key for the property. |
[key: string].type Required | string | - | The type of the property. Possible Values: "string" , "object" . |
[key: string].description Required | string | - | A description of the property. |