CustomizationModelDetails¶
- class oci.ai_speech.models.CustomizationModelDetails(**kwargs)¶
Bases:
objectDetails of the base ASR model to train a Customization for.
Attributes:
A constant which can be used with the domain property of a CustomizationModelDetails.
A constant which can be used with the domain property of a CustomizationModelDetails.
Gets the domain of this CustomizationModelDetails.
Gets the language_code of this CustomizationModelDetails.
Methods:
__init__(**kwargs)Initializes a new CustomizationModelDetails object with values from keyword arguments.
- DOMAIN_GENERIC = 'GENERIC'¶
A constant which can be used with the domain property of a CustomizationModelDetails. This constant has a value of “GENERIC”
- DOMAIN_MEDICAL = 'MEDICAL'¶
A constant which can be used with the domain property of a CustomizationModelDetails. This constant has a value of “MEDICAL”
- __init__(**kwargs)¶
Initializes a new CustomizationModelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
domain (str) – The value to assign to the domain property of this CustomizationModelDetails. Allowed values for this property are: “GENERIC”, “MEDICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
language_code (str) – The value to assign to the language_code property of this CustomizationModelDetails.
- property domain¶
Gets the domain of this CustomizationModelDetails. Domain of the ASR model
Allowed values for this property are: “GENERIC”, “MEDICAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The domain of this CustomizationModelDetails.
- Return type
str
- property language_code¶
Gets the language_code of this CustomizationModelDetails. Locale value as per given in [https://datatracker.ietf.org/doc/html/rfc5646]. - en-US: English - United States - es-ES: Spanish - Spain - pt-BR: Portuguese - Brazil - en-GB: English - Great Britain - en-AU: English - Australia - en-IN: English - India - hi-IN: Hindi - India - fr-FR: French - France - de-DE: German - Germany - it-IT: Italian - Italy
- Returns
The language_code of this CustomizationModelDetails.
- Return type
str