public static class PreTrainedSummarization.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PreTrainedSummarization |
build() |
PreTrainedSummarization.Builder |
copy(PreTrainedSummarization model) |
PreTrainedSummarization.Builder |
languageCode(String languageCode) |
PreTrainedSummarization.Builder |
version(String version)
Optional pre trained model version.
|
public PreTrainedSummarization.Builder languageCode(String languageCode)
public PreTrainedSummarization.Builder version(String version)
Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType}
version
- the value to setpublic PreTrainedSummarization build()
public PreTrainedSummarization.Builder copy(PreTrainedSummarization model)
Copyright © 2016–2024. All rights reserved.