fix: add new API locations for Microsoft Azure

pull/321/head
dessant 3 years ago
parent da8266bf73
commit bce1cbb36c

@ -110,7 +110,7 @@
},
"optionValue_microsoftSpeechApiLoc_centralIn": {
"message": "India Central",
"message": "Central India",
"description": "Value of the option."
},
@ -119,11 +119,26 @@
"description": "Value of the option."
},
"optionValue_microsoftSpeechApiLoc_westJp": {
"message": "Japan West",
"description": "Value of the option."
},
"optionValue_microsoftSpeechApiLoc_southBr": {
"message": "Brazil South",
"description": "Value of the option."
},
"optionValue_microsoftSpeechApiLoc_centralKr": {
"message": "Korea Central",
"description": "Value of the option."
},
"optionValue_microsoftSpeechApiLoc_northCh": {
"message": "Switzerland North",
"description": "Value of the option."
},
"optionValue_microsoftSpeechApiLoc_northCentralUs": {
"message": "North Central US",
"description": "Value of the option."
@ -134,6 +149,11 @@
"description": "Value of the option."
},
"optionValue_microsoftSpeechApiLoc_westCentralUs": {
"message": "West Central US",
"description": "Value of the option."
},
"optionValue_microsoftSpeechApiLoc_southUk": {
"message": "UK South",
"description": "Value of the option."

@ -288,9 +288,13 @@ export default {
'centralFr',
'centralIn',
'eastJp',
'westJp',
'southBr',
'centralKr',
'northCh',
'northCentralUs',
'southCentralUs',
'westCentralUs',
'southUk',
'eastUs',
'eastUs2',

@ -346,12 +346,20 @@ const microsoftSpeechApiUrls = {
'https://centralindia.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
eastJp:
'https://japaneast.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
westJp:
'https://japanwest.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
southBr:
'https://brazilsouth.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
centralKr:
'https://koreacentral.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
northCh:
'https://switzerlandnorth.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
northCentralUs:
'https://northcentralus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
southCentralUs:
'https://southcentralus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
westCentralUs:
'https://westcentralus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
southUk:
'https://uksouth.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1',
eastUs:

Loading…
Cancel
Save