public class UpgradeAcousticModelOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
UpgradeAcousticModelOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
customizationId()
Gets the customizationId.
|
String |
customLanguageModelId()
Gets the customLanguageModelId.
|
Boolean |
force()
Gets the force.
|
UpgradeAcousticModelOptions.Builder |
newBuilder()
New builder.
|
public UpgradeAcousticModelOptions.Builder newBuilder()
public String customizationId()
The customization ID (GUID) of the custom acoustic model that is to be used for the request. You must make the request with credentials for the instance of the service that owns the custom model.
public String customLanguageModelId()
If the custom acoustic model was trained with a custom language model, the customization ID (GUID) of that custom language model. The custom language model must be upgraded before the custom acoustic model can be upgraded. The custom language model must be fully trained and available. The credentials specified with the request must own both custom models.
public Boolean force()
If `true`, forces the upgrade of a custom acoustic model for which no input data has been modified since it was last trained. Use this parameter only to force the upgrade of a custom acoustic model that is trained with a custom language model, and only if you receive a 400 response code and the message `No input data modified since last training`. See [Upgrading a custom acoustic model](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-custom-upgrade#custom-upgrade-acoustic).
Copyright © 2021 IBM Cloud. All rights reserved.