ChatCompletionRequestMessage class abstract
ChatCompletionRequestMessage
Properties:
- Annotations
-
- @BuiltValue()
Constructors
- ChatCompletionRequestMessage([void updates(ChatCompletionRequestMessageBuilder b)])
-
factory
Properties
- content → String
-
The contents of the message
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
The name of the user in a multi-user chat
no setter
- role → ChatCompletionRequestMessageRoleEnum
-
The role of the author of this message.
no setter
- 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
-
rebuild(
dynamic updates(ChatCompletionRequestMessageBuilder)) → ChatCompletionRequestMessage -
Rebuilds the instance.
inherited
-
toBuilder(
) → ChatCompletionRequestMessageBuilder -
Converts the instance to a builder
B
.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
serializer
→ Serializer<
ChatCompletionRequestMessage> -
no setter