public static class ChatResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ChatResult |
build() |
ChatResult.Builder |
chatResponse(BaseChatResponse chatResponse) |
ChatResult.Builder |
copy(ChatResult model) |
ChatResult.Builder |
modelId(String modelId)
The OCID of the model that’s used in this inference request.
|
ChatResult.Builder |
modelVersion(String modelVersion)
The version of the model.
|
public ChatResult.Builder modelId(String modelId)
The OCID of the model that’s used in this inference request.
modelId
- the value to setpublic ChatResult.Builder modelVersion(String modelVersion)
The version of the model.
modelVersion
- the value to setpublic ChatResult.Builder chatResponse(BaseChatResponse chatResponse)
public ChatResult build()
public ChatResult.Builder copy(ChatResult model)
Copyright © 2016–2024. All rights reserved.