Hi @Technicator ,
Thank you for reaching out to Microsoft Q&A with your question regarding confidence scores in Azure's Speech to Text service.
You are on the right track. To obtain confidence scores for recognized events, you should configure the SpeechConfig with the appropriate output format. Specifically, set
OutputFormat.Detailed. Once configured, you can access the best possible recognitions, including the Confidence Score, using the
please refer the following Speech recognition samples that can help you.
Dealing with non-speech noise can be challenging. According to official documentation, it's recommended to ensure the user tries again or uses better recording conditions to avoid recognition of noise as speech. If this cannot be avoided, you can base it off the confidence score, but there is no guidance on the limit or cutoff. Depending on the quality of the speech, you could decide to ignore text below a certain threshold and can determine when to interrupt the chatbot.
Here are some Speech recognition samples that can help you:
Hope this helps.
If this answers your query, do click
Accept Answer and
Yes for was this answer helpful. And, if you have any further query do let us know.