public static class ChatDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ChatDetails |
build() |
ChatDetails.Builder |
chatRequest(BaseChatRequest chatRequest) |
ChatDetails.Builder |
compartmentId(String compartmentId)
The OCID of compartment in which to call the Generative AI service to chat.
|
ChatDetails.Builder |
copy(ChatDetails model) |
ChatDetails.Builder |
servingMode(ServingMode servingMode) |
public ChatDetails.Builder compartmentId(String compartmentId)
The OCID of compartment in which to call the Generative AI service to chat.
compartmentId
- the value to setpublic ChatDetails.Builder servingMode(ServingMode servingMode)
public ChatDetails.Builder chatRequest(BaseChatRequest chatRequest)
public ChatDetails build()
public ChatDetails.Builder copy(ChatDetails model)
Copyright © 2016–2024. All rights reserved.