GptResponse class
A response from the GPT API.
Constructors
Properties
- completionTokens → int
-
The number of output tokens.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
jsonMessage
→ Map<
String, dynamic> -
The parsed prompt answer.
final
- promptTokens → int
-
The number of input tokens.
final
- rawMessage → String
-
The raw prompt answer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalTokens → int
-
The total number of tokens.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited