Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Message |
build() |
Message.Builder |
content(List<ChatContent> content)
Contents of the chat message.
|
Message.Builder |
copy(Message model) |
Message.Builder |
role(String role)
Indicates who is giving the current message.
|
public Message.Builder role(String role)
Indicates who is giving the current message.
role
- the value to setpublic Message.Builder content(List<ChatContent> content)
Contents of the chat message.
content
- the value to setpublic Message build()
public Message.Builder copy(Message model)
Copyright © 2016–2024. All rights reserved.