Auto Detect language from list of Language Configs is giving result only in the last element of the Source Language Configuration List

arvind prajapati 5 Reputation points
2023-07-25T10:43:26.11+00:00

I'm using Azure Speech to Text SDK version 1.21 in Golang. Here I'm adding a feature of Auto-detect language for the audio file using

speech.NewAutoDetectSourceLanguageConfigFromLanguageConfigs(sourceLanguageConfigs)

I'm giving a list of Source Language Configurations for multiple languages including a configuration for a Custom Model with an endpoint.

This feature gives a wrong result. It returns transcribed text using the last element of the Language Configuration List. It's not identifying the correct language. I've checked it multiple times by reordering the list and I'm getting the transcribed text in the last source language config only.

Why is it happening, can anyone help with it?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,274 questions
{count} votes