I\'m using the LUIS bot in NodeJS and I am using session.say()
to get the bot the speak but there is not audio output. I am trying to say a list of movies from a li
To use the text to speech feature on the Bot Framework Emulator, the user has to use the microphone on the emulator first. Basically, the bot will only speak to the user if the user speaks to the bot first. Note, there are several steps you need to follow to enable the microphone feature on the emulator:
Once you have your microsoftAppId and microsoftAppPassword, you will have to create a .env
file to store them. It should look like:
MicrosoftAppId=YOUR_MICROSOFT_APP_ID MicrosoftAppPassword=YOURR_MICROSOFT_APP_PASSWORD
Also, make sure you have configured thedotenv
in your app.js
file.
ENDPOINT
section and select Edit Settings
. It should open a prompt where you can fill in the microsoftAppId and microsoftAppPassword.Once you have completed all of the steps above, run your bot and connect to it in the emulator. You should be able to use the microphone to talk to your bot, and the bot should respond by speaking some text. Hope this helps.