From c4105cac719a15791fbde45edfed740914bb5693 Mon Sep 17 00:00:00 2001 From: Angelo Paparazzi Date: Thu, 17 Oct 2024 10:01:56 -0500 Subject: [PATCH] feat(stt): add new speech models This commit also readds the lowLatency and interimResults params used by recognizeUsingWebsockets --- speech-to-text/v1-generated.ts | 35 ++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/speech-to-text/v1-generated.ts b/speech-to-text/v1-generated.ts index b8d6cf9474..c85f9375bc 100644 --- a/speech-to-text/v1-generated.ts +++ b/speech-to-text/v1-generated.ts @@ -4079,19 +4079,25 @@ namespace SpeechToTextV1 { EN_US_SHORTFORM_NARROWBANDMODEL = 'en-US_ShortForm_NarrowbandModel', EN_US_TELEPHONY = 'en-US_Telephony', EN_WW_MEDICAL_TELEPHONY = 'en-WW_Medical_Telephony', + ES_AR = 'es-AR', ES_AR_BROADBANDMODEL = 'es-AR_BroadbandModel', ES_AR_NARROWBANDMODEL = 'es-AR_NarrowbandModel', + ES_CL = 'es-CL', ES_CL_BROADBANDMODEL = 'es-CL_BroadbandModel', ES_CL_NARROWBANDMODEL = 'es-CL_NarrowbandModel', + ES_CO = 'es-CO', ES_CO_BROADBANDMODEL = 'es-CO_BroadbandModel', ES_CO_NARROWBANDMODEL = 'es-CO_NarrowbandModel', + ES_ES = 'es-ES', ES_ES_BROADBANDMODEL = 'es-ES_BroadbandModel', ES_ES_NARROWBANDMODEL = 'es-ES_NarrowbandModel', ES_ES_MULTIMEDIA = 'es-ES_Multimedia', ES_ES_TELEPHONY = 'es-ES_Telephony', ES_LA_TELEPHONY = 'es-LA_Telephony', + ES_MX = 'es-MX', ES_MX_BROADBANDMODEL = 'es-MX_BroadbandModel', ES_MX_NARROWBANDMODEL = 'es-MX_NarrowbandModel', + ES_PE = 'es-PE', ES_PE_BROADBANDMODEL = 'es-PE_BroadbandModel', ES_PE_NARROWBANDMODEL = 'es-PE_NarrowbandModel', FR_CA = 'fr-CA', @@ -4123,6 +4129,7 @@ namespace SpeechToTextV1 { NL_NL_MULTIMEDIA = 'nl-NL_Multimedia', NL_NL_NARROWBANDMODEL = 'nl-NL_NarrowbandModel', NL_NL_TELEPHONY = 'nl-NL_Telephony', + PT_BR = 'pt-BR', PT_BR_BROADBANDMODEL = 'pt-BR_BroadbandModel', PT_BR_MULTIMEDIA = 'pt-BR_Multimedia', PT_BR_NARROWBANDMODEL = 'pt-BR_NarrowbandModel', @@ -4467,19 +4474,25 @@ namespace SpeechToTextV1 { EN_US_SHORTFORM_NARROWBANDMODEL = 'en-US_ShortForm_NarrowbandModel', EN_US_TELEPHONY = 'en-US_Telephony', EN_WW_MEDICAL_TELEPHONY = 'en-WW_Medical_Telephony', + ES_AR = 'es-AR', ES_AR_BROADBANDMODEL = 'es-AR_BroadbandModel', ES_AR_NARROWBANDMODEL = 'es-AR_NarrowbandModel', + ES_CL = 'es-CL', ES_CL_BROADBANDMODEL = 'es-CL_BroadbandModel', ES_CL_NARROWBANDMODEL = 'es-CL_NarrowbandModel', + ES_CO = 'es-CO', ES_CO_BROADBANDMODEL = 'es-CO_BroadbandModel', ES_CO_NARROWBANDMODEL = 'es-CO_NarrowbandModel', + ES_ES = 'es-ES', ES_ES_BROADBANDMODEL = 'es-ES_BroadbandModel', ES_ES_NARROWBANDMODEL = 'es-ES_NarrowbandModel', ES_ES_MULTIMEDIA = 'es-ES_Multimedia', ES_ES_TELEPHONY = 'es-ES_Telephony', ES_LA_TELEPHONY = 'es-LA_Telephony', + ES_MX = 'es-MX', ES_MX_BROADBANDMODEL = 'es-MX_BroadbandModel', ES_MX_NARROWBANDMODEL = 'es-MX_NarrowbandModel', + ES_PE = 'es-PE', ES_PE_BROADBANDMODEL = 'es-PE_BroadbandModel', ES_PE_NARROWBANDMODEL = 'es-PE_NarrowbandModel', FR_CA = 'fr-CA', @@ -4511,6 +4524,7 @@ namespace SpeechToTextV1 { NL_NL_MULTIMEDIA = 'nl-NL_Multimedia', NL_NL_NARROWBANDMODEL = 'nl-NL_NarrowbandModel', NL_NL_TELEPHONY = 'nl-NL_Telephony', + PT_BR = 'pt-BR', PT_BR_BROADBANDMODEL = 'pt-BR_BroadbandModel', PT_BR_MULTIMEDIA = 'pt-BR_Multimedia', PT_BR_NARROWBANDMODEL = 'pt-BR_NarrowbandModel', @@ -4930,19 +4944,25 @@ namespace SpeechToTextV1 { EN_US_SHORTFORM_NARROWBANDMODEL = 'en-US_ShortForm_NarrowbandModel', EN_US_TELEPHONY = 'en-US_Telephony', EN_WW_MEDICAL_TELEPHONY = 'en-WW_Medical_Telephony', + ES_AR = 'es-AR', ES_AR_BROADBANDMODEL = 'es-AR_BroadbandModel', ES_AR_NARROWBANDMODEL = 'es-AR_NarrowbandModel', + ES_CL = 'es-CL', ES_CL_BROADBANDMODEL = 'es-CL_BroadbandModel', ES_CL_NARROWBANDMODEL = 'es-CL_NarrowbandModel', + ES_CO = 'es-CO', ES_CO_BROADBANDMODEL = 'es-CO_BroadbandModel', ES_CO_NARROWBANDMODEL = 'es-CO_NarrowbandModel', + ES_ES = 'es-ES', ES_ES_BROADBANDMODEL = 'es-ES_BroadbandModel', ES_ES_NARROWBANDMODEL = 'es-ES_NarrowbandModel', ES_ES_MULTIMEDIA = 'es-ES_Multimedia', ES_ES_TELEPHONY = 'es-ES_Telephony', ES_LA_TELEPHONY = 'es-LA_Telephony', + ES_MX = 'es-MX', ES_MX_BROADBANDMODEL = 'es-MX_BroadbandModel', ES_MX_NARROWBANDMODEL = 'es-MX_NarrowbandModel', + ES_PE = 'es-PE', ES_PE_BROADBANDMODEL = 'es-PE_BroadbandModel', ES_PE_NARROWBANDMODEL = 'es-PE_NarrowbandModel', FR_CA = 'fr-CA', @@ -4974,6 +4994,7 @@ namespace SpeechToTextV1 { NL_NL_MULTIMEDIA = 'nl-NL_Multimedia', NL_NL_NARROWBANDMODEL = 'nl-NL_NarrowbandModel', NL_NL_TELEPHONY = 'nl-NL_Telephony', + PT_BR = 'pt-BR', PT_BR_BROADBANDMODEL = 'pt-BR_BroadbandModel', PT_BR_MULTIMEDIA = 'pt-BR_Multimedia', PT_BR_NARROWBANDMODEL = 'pt-BR_NarrowbandModel', @@ -5084,19 +5105,25 @@ namespace SpeechToTextV1 { EN_US_SHORTFORM_NARROWBANDMODEL = 'en-US_ShortForm_NarrowbandModel', EN_US_TELEPHONY = 'en-US_Telephony', EN_WW_MEDICAL_TELEPHONY = 'en-WW_Medical_Telephony', + ES_AR = 'es-AR', ES_AR_BROADBANDMODEL = 'es-AR_BroadbandModel', ES_AR_NARROWBANDMODEL = 'es-AR_NarrowbandModel', + ES_CL = 'es-CL', ES_CL_BROADBANDMODEL = 'es-CL_BroadbandModel', ES_CL_NARROWBANDMODEL = 'es-CL_NarrowbandModel', + ES_CO = 'es-CO', ES_CO_BROADBANDMODEL = 'es-CO_BroadbandModel', ES_CO_NARROWBANDMODEL = 'es-CO_NarrowbandModel', + ES_ES = 'es-ES', ES_ES_BROADBANDMODEL = 'es-ES_BroadbandModel', ES_ES_NARROWBANDMODEL = 'es-ES_NarrowbandModel', ES_ES_MULTIMEDIA = 'es-ES_Multimedia', ES_ES_TELEPHONY = 'es-ES_Telephony', ES_LA_TELEPHONY = 'es-LA_Telephony', + ES_MX = 'es-MX', ES_MX_BROADBANDMODEL = 'es-MX_BroadbandModel', ES_MX_NARROWBANDMODEL = 'es-MX_NarrowbandModel', + ES_PE = 'es-PE', ES_PE_BROADBANDMODEL = 'es-PE_BroadbandModel', ES_PE_NARROWBANDMODEL = 'es-PE_NarrowbandModel', FR_CA = 'fr-CA', @@ -5128,6 +5155,7 @@ namespace SpeechToTextV1 { NL_NL_MULTIMEDIA = 'nl-NL_Multimedia', NL_NL_NARROWBANDMODEL = 'nl-NL_NarrowbandModel', NL_NL_TELEPHONY = 'nl-NL_Telephony', + PT_BR = 'pt-BR', PT_BR_BROADBANDMODEL = 'pt-BR_BroadbandModel', PT_BR_MULTIMEDIA = 'pt-BR_Multimedia', PT_BR_NARROWBANDMODEL = 'pt-BR_NarrowbandModel', @@ -5610,16 +5638,22 @@ namespace SpeechToTextV1 { EN_US_BROADBANDMODEL = 'en-US_BroadbandModel', EN_US_NARROWBANDMODEL = 'en-US_NarrowbandModel', EN_US_SHORTFORM_NARROWBANDMODEL = 'en-US_ShortForm_NarrowbandModel', + ES_AR = 'es-AR', ES_AR_BROADBANDMODEL = 'es-AR_BroadbandModel', ES_AR_NARROWBANDMODEL = 'es-AR_NarrowbandModel', + ES_CL = 'es-CL', ES_CL_BROADBANDMODEL = 'es-CL_BroadbandModel', ES_CL_NARROWBANDMODEL = 'es-CL_NarrowbandModel', + ES_CO = 'es-CO', ES_CO_BROADBANDMODEL = 'es-CO_BroadbandModel', ES_CO_NARROWBANDMODEL = 'es-CO_NarrowbandModel', + ES_ES = 'es-ES', ES_ES_BROADBANDMODEL = 'es-ES_BroadbandModel', ES_ES_NARROWBANDMODEL = 'es-ES_NarrowbandModel', + ES_MX = 'es-MX', ES_MX_BROADBANDMODEL = 'es-MX_BroadbandModel', ES_MX_NARROWBANDMODEL = 'es-MX_NarrowbandModel', + ES_PE = 'es-PE', ES_PE_BROADBANDMODEL = 'es-PE_BroadbandModel', ES_PE_NARROWBANDMODEL = 'es-PE_NarrowbandModel', FR_CA_BROADBANDMODEL = 'fr-CA_BroadbandModel', @@ -5634,6 +5668,7 @@ namespace SpeechToTextV1 { KO_KR_NARROWBANDMODEL = 'ko-KR_NarrowbandModel', NL_NL_BROADBANDMODEL = 'nl-NL_BroadbandModel', NL_NL_NARROWBANDMODEL = 'nl-NL_NarrowbandModel', + PT_BR = 'pt-BR', PT_BR_BROADBANDMODEL = 'pt-BR_BroadbandModel', PT_BR_NARROWBANDMODEL = 'pt-BR_NarrowbandModel', ZH_CN_BROADBANDMODEL = 'zh-CN_BroadbandModel',