Class CohereChatBotMessage.Builder
- java.lang.Object
-
- com.oracle.bmc.generativeaiinference.model.CohereChatBotMessage.Builder
-
- Enclosing class:
- CohereChatBotMessage
public static class CohereChatBotMessage.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
message
public CohereChatBotMessage.Builder message(String message)
Contents of the chat message.- Parameters:
message
- the value to set- Returns:
- this builder
-
toolCalls
public CohereChatBotMessage.Builder toolCalls(List<CohereToolCall> toolCalls)
A list of tool calls generated by the model.- Parameters:
toolCalls
- the value to set- Returns:
- this builder
-
build
public CohereChatBotMessage build()
-
copy
public CohereChatBotMessage.Builder copy(CohereChatBotMessage model)
-
-