Search code examples
c#botframeworkspeech-to-text

speech to text in microsoft botframework using c#


I created a bot using microsoft botframework in c#. Now I am using speech recognition, in that I want to know one thing, can we control microphone on/off instead of clicking it for every question in webchat if it is not possible then please tell me how can we give speech as input and get output response in text from bot. Now it is giving text as response when I give text as input and speech as response when I give speech as input but I want it should respond in text when I give speech as input. Thanks in advance.


Solution

  • This depends on the SDK version you are using.

    For v3, there are no out-of-the-box solutions you can use. As mentioned in this discussion, you may need to code a custom solution yourself to meet your needs. However, this discussion suggests that there may already be a solution you could possibly adapt to your needs.

    For v4, there is no out-of-the-box solution at this time, but it is under consideration with some development already performed. Read that discussion here.

    Hope of help!