public static class CohereChatBotMessage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CohereChatBotMessage |
build() |
CohereChatBotMessage.Builder |
copy(CohereChatBotMessage model) |
CohereChatBotMessage.Builder |
message(String message)
Contents of the chat message.
|
CohereChatBotMessage.Builder |
toolCalls(List<CohereToolCall> toolCalls)
A list of tool calls generated by the model.
|
public CohereChatBotMessage.Builder message(String message)
Contents of the chat message.
message
- the value to setpublic CohereChatBotMessage.Builder toolCalls(List<CohereToolCall> toolCalls)
A list of tool calls generated by the model.
toolCalls
- the value to setpublic CohereChatBotMessage build()
public CohereChatBotMessage.Builder copy(CohereChatBotMessage model)
Copyright © 2016–2024. All rights reserved.