) {
                alert("Please enter your Cognitive Services Speech subscription key!");
                return undefined;
            } else {
                headers["Ocp-Apim-Subscription-Key"] = key.value;
            }

            const sessionId = uuid.v4().replace(/-/g, "");

            const url = `https://${regionOptions.value}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1` +
                        `?format=detailed&language=${languageOptions.value}&X-Connectio