public async Task <string> STT(string inputFilePath) { var rootPath = _hostingEnvironment.ContentRootPath; var text = await SpeechHelper.RecognizeFromAudioAsync(rootPath + "\\" + inputFilePath); return(text); }