ChatFunctionCall class

Annotations
  • @freezed

Constructors

ChatFunctionCall({required String name, required String arguments})
const
factory
ChatFunctionCall.fromJson(Map<String, Object?> json)
factory

Properties

arguments String
The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
no setterinherited
copyWith → $ChatFunctionCallCopyWith<ChatFunctionCall>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the function to call.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited