public static class PreTrainedPiiModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PreTrainedPiiModelDetails |
build() |
PreTrainedPiiModelDetails.Builder |
copy(PreTrainedPiiModelDetails model) |
PreTrainedPiiModelDetails.Builder |
languageCode(String languageCode) |
PreTrainedPiiModelDetails.Builder |
version(String version)
Optional pre trained model version.
|
public PreTrainedPiiModelDetails.Builder languageCode(String languageCode)
public PreTrainedPiiModelDetails.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 PreTrainedPiiModelDetails build()
public PreTrainedPiiModelDetails.Builder copy(PreTrainedPiiModelDetails model)
Copyright © 2016–2024. All rights reserved.