ChatCompletionChunkToolCall class
A tool call delta in a ChatCompletionChunk.
Wire: {"index","id"?,"type":"function"?,"function":{"name"?,"arguments"?}}.
The type field is JSON "type" (Rust #[serde(rename = "type")]).
- Annotations
-
- @JsonSerializable.new()
Constructors
- ChatCompletionChunkToolCall({required int index, String? id, String? toolType, required ChatCompletionChunkFunction function})
-
ChatCompletionChunkToolCall.fromJson(Map<
String, dynamic> json) -
factory
Properties
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