ChatGPT class
Constructors
- ChatGPT()
Properties
- client ↔ Client
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → String
-
final
-
requestHeaders
↔ Map<
String, String> -
getter/setter pair
- requestUrl → Uri
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretToken → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
{Map< String, String> ? headers, Object? body}) → Future<Response> -
sendMessage(
List< ChatCompletionMessage> message) → Future<String> -
toString(
) → String -
A string representation of this object.
inherited
-
transformHttpResponse(
Response rawResponse) → ChatResponse
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited