Class SupportedFeatures
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SupportedFeatures
extends com.ibm.cloud.sdk.core.service.model.GenericModel
-
Constructor Summary
Constructors Constructor Description SupportedFeatures()
-
Method Summary
Modifier and Type Method Description Boolean
isCustomLanguageModel()
Gets the customLanguageModel.Boolean
isLowLatency()
Gets the lowLatency.Boolean
isSpeakerLabels()
Gets the speakerLabels.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
SupportedFeatures
public SupportedFeatures()
-
-
Method Details
-
isCustomLanguageModel
Gets the customLanguageModel.Indicates whether the customization interface can be used to create a custom language model based on the language model.
- Returns:
- the customLanguageModel
-
isSpeakerLabels
Gets the speakerLabels.Indicates whether the `speaker_labels` parameter can be used with the language model.
**Note:** The field returns `true` for all models. However, speaker labels are supported as beta functionality only for the following languages and models: * For previous-generation models, the parameter can be used for Australian English, US English, German, Japanese, Korean, and Spanish (both broadband and narrowband models) and UK English (narrowband model) transcription only. * For next-generation models, the parameter can be used for English (Australian, Indian, UK, and US), German, Japanese, Korean, and Spanish transcription only.
Speaker labels are not supported for any other models.
- Returns:
- the speakerLabels
-
isLowLatency
Gets the lowLatency.Indicates whether the `low_latency` parameter can be used with a next-generation language model. The field is returned only for next-generation models. Previous-generation models do not support the `low_latency` parameter.
- Returns:
- the lowLatency
-