menu
chat_gpt_sdk package
documentation
chat_gpt_sdk.dart
FunctionData class
FunctionData class
dark_mode
light_mode
FunctionData
class
Constructors
FunctionData
({
required
String
name
,
String
?
description
,
Map
<
String
,
dynamic
>
?
parameters
})
Properties
description
→
String
?
The description of what the function does.
description
final
hashCode
→
int
The hash code for this object.
no setter
inherited
name
→
String
The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
name
final
parameters
→
Map
<
String
,
dynamic
>
?
parameters object Optional The parameters the functions accepts, described as a JSON Schema object. See the
guide
for examples, and the
JSON Schema reference
for documentation about the format.
parameters
final
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson
(
)
→
Map
<
String
,
dynamic
>
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
chat_gpt_sdk package
documentation
chat_gpt_sdk
FunctionData class
chat_gpt_sdk library