Vapi-ai/web does not have types for Azure transcri...
# support
m
https://github.com/VapiAI/client-sdk-web/issues/99 I made a github issue to explain this one in detail w screenshots. 🙂 I want to be able to add some hard to transcribe words explicitly to its vocabulary. However, it is unclear how to do so or even if this is possible due to a lack of types. https://cdn.discordapp.com/attachments/1341522069946499093/1341522070260944988/Screenshot_2025-02-18_at_2.28.11_pm.png?ex=67b64d49&is=67b4fbc9&hm=05c01df0fab4bd3954548bfd9d6d8e9bed0a15e6c9819ccd8924041974aa95d0&
@Vapi @VAPI Tech
k
Hey Muad'Dib, you can use the following type and feel free to raise the PR .
Copy code
export interface AzureSpeechTranscriber {
  /** This is the transcription provider that will be used. */
  provider: 'azure';

  /** 
   * This is the language that will be set for the transcription. 
   * The list of languages Azure supports can be found here: 
   * https://learn.microsoft.com/en-us/azure/ai-services/speech-service/language-support?tabs=stt 
   */
  language?: 
    | 'af-ZA' | 'am-ET' | 'ar-AE' | 'ar-BH' | 'ar-DZ' | 'ar-EG' | 'ar-IL' 
    | 'ar-IQ' | 'ar-JO' | 'ar-KW' | 'ar-LB' | 'ar-LY' | 'ar-MA' | 'ar-OM' 
    | 'ar-PS' | 'ar-QA' | 'ar-SA' | 'ar-SY' | 'ar-TN' | 'ar-YE' | 'az-AZ' 
    | 'bg-BG' | 'bn-IN' | 'bs-BA' | 'ca-ES' | 'cs-CZ' | 'cy-GB' | 'da-DK' 
    | 'de-AT' | 'de-CH' | 'de-DE' | 'el-GR' | 'en-AU' | 'en-CA' | 'en-GB' 
    | 'en-GH' | 'en-HK' | 'en-IE' | 'en-IN' | 'en-KE' | 'en-NG' | 'en-NZ' 
    | 'en-PH' | 'en-SG' | 'en-TZ' | 'en-US' | 'en-ZA' | 'es-AR' | 'es-BO' 
    | 'es-CL' | 'es-CO' | 'es-CR' | 'es-CU' | 'es-DO' | 'es-EC' | 'es-ES' 
    | 'es-GQ' | 'es-GT' | 'es-HN' | 'es-MX' | 'es-NI' | 'es-PA' | 'es-PE' 
    | 'es-PR' | 'es-PY' | 'es-SV' | 'es-US' | 'es-UY' | 'es-VE' | 'et-EE' 
    | 'eu-ES' | 'fa-IR' | 'fi-FI' | 'fil-PH' | 'fr-BE' | 'fr-CA' | 'fr-CH' 
    | 'fr-FR' | 'ga-IE' | 'gl-ES' | 'gu-IN' | 'he-IL' | 'hi-IN' | 'hr-HR' 
    | 'hu-HU' | 'hy-AM' | 'id-ID' | 'is-IS' | 'it-CH' | 'it-IT' | 'ja-JP' 
    | 'jv-ID' | 'ka-GE' | 'kk-KZ' | 'km-KH' | 'kn-IN' | 'ko-KR' | 'lo-LA' 
    | 'lt-LT' | 'lv-LV' | 'mk-MK' | 'ml-IN' | 'mn-MN' | 'mr-IN' | 'ms-MY' 
    | 'mt-MT' | 'my-MM' | 'nb-NO' | 'ne-NP' | 'nl-BE' | 'nl-NL' | 'pa-IN' 
    | 'pl-PL' | 'ps-AF' | 'pt-BR' | 'pt-PT' | 'ro-RO' | 'ru-RU' | 'si-LK' 
    | 'sk-SK' | 'sl-SI' | 'so-SO' | 'sq-AL' | 'sr-RS' | 'sv-SE' | 'sw-KE' 
    | 'sw-TZ' | 'ta-IN' | 'te-IN' | 'th-TH' | 'tr-TR' | 'uk-UA' | 'ur-IN' 
    | 'uz-UZ' | 'vi-VN' | 'wuu-CN' | 'yue-CN' | 'zh-CN' | 'zh-CN-shandong' 
    | 'zh-CN-sichuan' | 'zh-HK' | 'zh-TW' | 'zu-ZA';
}
Let me know your thoughts on this.