TranscriptionModelDetails¶
-
class
oci.ai_speech.models.TranscriptionModelDetails(**kwargs)¶ Bases:
objectModel details.
Attributes
DOMAIN_GENERICA constant which can be used with the domain property of a TranscriptionModelDetails. LANGUAGE_CODE_AFA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ARA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_AUTOA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_AZA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_BEA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_BGA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_BSA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_CAA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_CSA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_CYA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_DAA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_DEA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_DE_DEA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ELA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ENA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_EN_AUA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_EN_GBA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_EN_INA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_EN_USA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ESA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ES_ESA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ETA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_FAA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_FIA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_FRA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_FR_FRA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_GLA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_HEA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_HIA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_HI_INA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_HRA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_HUA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_HYA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_IDA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ISA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ITA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_IT_ITA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_JAA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_KKA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_KNA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_KOA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_LTA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_LVA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_MIA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_MKA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_MRA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_MSA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_NEA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_NLA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_NOA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_PLA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_PTA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_PT_BRA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ROA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_RUA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_SKA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_SLA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_SRA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_SVA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_SWA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_TAA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_THA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_TLA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_TRA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_UKA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_URA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_VIA constant which can be used with the language_code property of a TranscriptionModelDetails. LANGUAGE_CODE_ZHA constant which can be used with the language_code property of a TranscriptionModelDetails. domainGets the domain of this TranscriptionModelDetails. language_codeGets the language_code of this TranscriptionModelDetails. model_typeGets the model_type of this TranscriptionModelDetails. transcription_settingsGets the transcription_settings of this TranscriptionModelDetails. Methods
__init__(**kwargs)Initializes a new TranscriptionModelDetails object with values from keyword arguments. -
DOMAIN_GENERIC= 'GENERIC'¶ A constant which can be used with the domain property of a TranscriptionModelDetails. This constant has a value of “GENERIC”
-
LANGUAGE_CODE_AF= 'af'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “af”
-
LANGUAGE_CODE_AR= 'ar'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ar”
-
LANGUAGE_CODE_AUTO= 'auto'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “auto”
-
LANGUAGE_CODE_AZ= 'az'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “az”
-
LANGUAGE_CODE_BE= 'be'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “be”
-
LANGUAGE_CODE_BG= 'bg'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “bg”
-
LANGUAGE_CODE_BS= 'bs'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “bs”
-
LANGUAGE_CODE_CA= 'ca'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ca”
-
LANGUAGE_CODE_CS= 'cs'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “cs”
-
LANGUAGE_CODE_CY= 'cy'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “cy”
-
LANGUAGE_CODE_DA= 'da'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “da”
-
LANGUAGE_CODE_DE= 'de'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “de”
-
LANGUAGE_CODE_DE_DE= 'de-DE'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “de-DE”
-
LANGUAGE_CODE_EL= 'el'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “el”
-
LANGUAGE_CODE_EN= 'en'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “en”
-
LANGUAGE_CODE_EN_AU= 'en-AU'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “en-AU”
-
LANGUAGE_CODE_EN_GB= 'en-GB'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “en-GB”
-
LANGUAGE_CODE_EN_IN= 'en-IN'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “en-IN”
-
LANGUAGE_CODE_EN_US= 'en-US'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “en-US”
-
LANGUAGE_CODE_ES= 'es'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “es”
-
LANGUAGE_CODE_ES_ES= 'es-ES'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “es-ES”
-
LANGUAGE_CODE_ET= 'et'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “et”
-
LANGUAGE_CODE_FA= 'fa'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “fa”
-
LANGUAGE_CODE_FI= 'fi'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “fi”
-
LANGUAGE_CODE_FR= 'fr'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “fr”
-
LANGUAGE_CODE_FR_FR= 'fr-FR'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “fr-FR”
-
LANGUAGE_CODE_GL= 'gl'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “gl”
-
LANGUAGE_CODE_HE= 'he'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “he”
-
LANGUAGE_CODE_HI= 'hi'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “hi”
-
LANGUAGE_CODE_HI_IN= 'hi-IN'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “hi-IN”
-
LANGUAGE_CODE_HR= 'hr'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “hr”
-
LANGUAGE_CODE_HU= 'hu'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “hu”
-
LANGUAGE_CODE_HY= 'hy'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “hy”
-
LANGUAGE_CODE_ID= 'id'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “id”
-
LANGUAGE_CODE_IS= 'is'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “is”
-
LANGUAGE_CODE_IT= 'it'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “it”
-
LANGUAGE_CODE_IT_IT= 'it-IT'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “it-IT”
-
LANGUAGE_CODE_JA= 'ja'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ja”
-
LANGUAGE_CODE_KK= 'kk'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “kk”
-
LANGUAGE_CODE_KN= 'kn'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “kn”
-
LANGUAGE_CODE_KO= 'ko'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ko”
-
LANGUAGE_CODE_LT= 'lt'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “lt”
-
LANGUAGE_CODE_LV= 'lv'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “lv”
-
LANGUAGE_CODE_MI= 'mi'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “mi”
-
LANGUAGE_CODE_MK= 'mk'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “mk”
-
LANGUAGE_CODE_MR= 'mr'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “mr”
-
LANGUAGE_CODE_MS= 'ms'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ms”
-
LANGUAGE_CODE_NE= 'ne'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ne”
-
LANGUAGE_CODE_NL= 'nl'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “nl”
-
LANGUAGE_CODE_NO= 'no'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “no”
-
LANGUAGE_CODE_PL= 'pl'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “pl”
-
LANGUAGE_CODE_PT= 'pt'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “pt”
-
LANGUAGE_CODE_PT_BR= 'pt-BR'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “pt-BR”
-
LANGUAGE_CODE_RO= 'ro'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ro”
-
LANGUAGE_CODE_RU= 'ru'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ru”
-
LANGUAGE_CODE_SK= 'sk'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “sk”
-
LANGUAGE_CODE_SL= 'sl'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “sl”
-
LANGUAGE_CODE_SR= 'sr'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “sr”
-
LANGUAGE_CODE_SV= 'sv'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “sv”
-
LANGUAGE_CODE_SW= 'sw'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “sw”
-
LANGUAGE_CODE_TA= 'ta'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ta”
-
LANGUAGE_CODE_TH= 'th'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “th”
-
LANGUAGE_CODE_TL= 'tl'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “tl”
-
LANGUAGE_CODE_TR= 'tr'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “tr”
-
LANGUAGE_CODE_UK= 'uk'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “uk”
-
LANGUAGE_CODE_UR= 'ur'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “ur”
-
LANGUAGE_CODE_VI= 'vi'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “vi”
-
LANGUAGE_CODE_ZH= 'zh'¶ A constant which can be used with the language_code property of a TranscriptionModelDetails. This constant has a value of “zh”
-
__init__(**kwargs)¶ Initializes a new TranscriptionModelDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - model_type (str) – The value to assign to the model_type property of this TranscriptionModelDetails.
- domain (str) – The value to assign to the domain property of this TranscriptionModelDetails. Allowed values for this property are: “GENERIC”, ‘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 TranscriptionModelDetails. Allowed values for this property are: “en-US”, “es-ES”, “pt-BR”, “en-GB”, “en-AU”, “en-IN”, “hi-IN”, “fr-FR”, “de-DE”, “it-IT”, “auto”, “af”, “ar”, “az”, “be”, “bg”, “bs”, “ca”, “cs”, “cy”, “da”, “de”, “el”, “en”, “es”, “et”, “fa”, “fi”, “fr”, “gl”, “he”, “hi”, “hr”, “hu”, “hy”, “id”, “is”, “it”, “ja”, “kk”, “kn”, “ko”, “lt”, “lv”, “mi”, “mk”, “mr”, “ms”, “ne”, “nl”, “no”, “pl”, “pt”, “ro”, “ru”, “sk”, “sl”, “sr”, “sv”, “sw”, “ta”, “th”, “tl”, “tr”, “uk”, “ur”, “vi”, “zh”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- transcription_settings (oci.ai_speech.models.TranscriptionSettings) – The value to assign to the transcription_settings property of this TranscriptionModelDetails.
-
domain¶ Gets the domain of this TranscriptionModelDetails. Domain for input files.
Allowed values for this property are: “GENERIC”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The domain of this TranscriptionModelDetails. Return type: str
-
language_code¶ Gets the language_code of this TranscriptionModelDetails. Oracle supported language codes are (Oracle models are locale specific). - en-US: English - United States (default) - 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
Whisper supported language codes are (Whisper models are locale agnostic). - auto: Auto-detect language - af: Afrikaans - ar: Arabic - az: Azerbaijani - be: Belarusian - bg: Bulgarian - bs: Bosnian - ca: Catalan - cs: Czech - cy: Welsh - da: Danish - de: German - el: Greek - en: English (default) - es: Spanish - et: Estonian - fa: Persian - fi: Finnish - fr: French - gl: Galician - he: Hebrew - hi: Hindi - hr: Croatian - hu: Hungarian - hy: Armenian - id: Indonesian - is: Icelandic - it: Italian - ja: Japanese - kk: Kazakh - kn: Kannada - ko: Korean - lt: Lithuanian - lv: Latvian - mi: Maori - mk: Macedonian - mr: Marathi - ms: Malay - ne: Nepali - nl: Dutch - no: Norwegian - pl: Polish - pt: Portuguese - ro: Romanian - ru: Russian - sk: Slovak - sl: Slovenian - sr: Serbian - sv: Swedish - sw: Swahili - ta: Tamil - th: Thai - tl: Tagalog - tr: Turkish - uk: Ukrainian - ur: Urdu - vi: Vietnamese - zh: Chinese
Allowed values for this property are: “en-US”, “es-ES”, “pt-BR”, “en-GB”, “en-AU”, “en-IN”, “hi-IN”, “fr-FR”, “de-DE”, “it-IT”, “auto”, “af”, “ar”, “az”, “be”, “bg”, “bs”, “ca”, “cs”, “cy”, “da”, “de”, “el”, “en”, “es”, “et”, “fa”, “fi”, “fr”, “gl”, “he”, “hi”, “hr”, “hu”, “hy”, “id”, “is”, “it”, “ja”, “kk”, “kn”, “ko”, “lt”, “lv”, “mi”, “mk”, “mr”, “ms”, “ne”, “nl”, “no”, “pl”, “pt”, “ro”, “ru”, “sk”, “sl”, “sr”, “sv”, “sw”, “ta”, “th”, “tl”, “tr”, “uk”, “ur”, “vi”, “zh”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The language_code of this TranscriptionModelDetails. Return type: str
-
model_type¶ Gets the model_type of this TranscriptionModelDetails. Select a model to use for generating transcriptions. Currently supported models are: - ORACLE - WHISPER_MEDIUM - WHISPER_LARGE_V2 (upon service request)
Returns: The model_type of this TranscriptionModelDetails. Return type: str
-
transcription_settings¶ Gets the transcription_settings of this TranscriptionModelDetails.
Returns: The transcription_settings of this TranscriptionModelDetails. Return type: oci.ai_speech.models.TranscriptionSettings
-