public static class SummarizeTextResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SummarizeTextResult |
build() |
SummarizeTextResult.Builder |
copy(SummarizeTextResult model) |
SummarizeTextResult.Builder |
id(String id)
A unique identifier for this SummarizeTextResult.
|
SummarizeTextResult.Builder |
input(String input)
The original input.
|
SummarizeTextResult.Builder |
modelId(String modelId)
The OCID of the model used in this inference request.
|
SummarizeTextResult.Builder |
modelVersion(String modelVersion)
The version of the model.
|
SummarizeTextResult.Builder |
summary(String summary)
Summary result corresponding to input.
|
public SummarizeTextResult.Builder id(String id)
A unique identifier for this SummarizeTextResult.
id
- the value to setpublic SummarizeTextResult.Builder input(String input)
The original input. Only included if “isEcho” set to true.
input
- the value to setpublic SummarizeTextResult.Builder summary(String summary)
Summary result corresponding to input.
summary
- the value to setpublic SummarizeTextResult.Builder modelId(String modelId)
The OCID of the model used in this inference request.
modelId
- the value to setpublic SummarizeTextResult.Builder modelVersion(String modelVersion)
The version of the model.
modelVersion
- the value to setpublic SummarizeTextResult build()
public SummarizeTextResult.Builder copy(SummarizeTextResult model)
Copyright © 2016–2024. All rights reserved.