A chat-completion model.
- Implementers
Properties
Methods
-
close(
) → void - Releases network resources.
-
complete(
List< ChatMessage> messages, {String? system, int? maxTokens}) → Future<ChatResponse> -
Generates a complete response to
messages. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stream(
List< ChatMessage> messages, {String? system, int? maxTokens}) → Stream<String> -
Streams the response to
messagesas text deltas. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited