public static class TranscriptionModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TranscriptionModelDetails |
build() |
TranscriptionModelDetails.Builder |
copy(TranscriptionModelDetails model) |
TranscriptionModelDetails.Builder |
domain(TranscriptionModelDetails.Domain domain)
Domain for input files.
|
TranscriptionModelDetails.Builder |
languageCode(TranscriptionModelDetails.LanguageCode languageCode)
Oracle supported language codes are (Oracle models are locale specific).
|
TranscriptionModelDetails.Builder |
modelType(String modelType)
Select a model to use for generating transcriptions.
|
TranscriptionModelDetails.Builder |
transcriptionSettings(TranscriptionSettings transcriptionSettings) |
public TranscriptionModelDetails.Builder modelType(String modelType)
Select a model to use for generating transcriptions. Currently supported models are: - ORACLE - WHISPER_MEDIUM - WHISPER_LARGE_V2 (upon service request)
modelType
- the value to setpublic TranscriptionModelDetails.Builder domain(TranscriptionModelDetails.Domain domain)
Domain for input files.
domain
- the value to setpublic TranscriptionModelDetails.Builder languageCode(TranscriptionModelDetails.LanguageCode languageCode)
Oracle supported language codes are (Oracle models are locale specific). - en-US: English
Whisper supported language codes are (Whisper models are locale agnostic). - 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
languageCode
- the value to setpublic TranscriptionModelDetails.Builder transcriptionSettings(TranscriptionSettings transcriptionSettings)
public TranscriptionModelDetails build()
public TranscriptionModelDetails.Builder copy(TranscriptionModelDetails model)
Copyright © 2016–2024. All rights reserved.