I am trying to add the ability for using the direct line voice channel in my dialog bot. I was reading the tutorial from Microsoft on how to do this, but they just use the echo bot. I want to be able to use the dialog bot and return the voice. I have already created a speech resource in azure, as well as implemented the direct line speech channel in the bot resource on azure. Has any one been successful in adding voice to a dialog bot? I was reading that there would be prompt options for speech, but I can not find that property in my PromptOptions object.
Adding directline voice to waterfall dialog bot using Microsoft bot framework
444 views Asked by JPiasente At
1
There are 1 answers
Related Questions in BOTFRAMEWORK
- No responses from google places text search api
- compare python requests with curl
- file_get_contents not working on my server but works fine anywhere else?
- Converting curl command to iOS
- cURL PHP code redirect after success
- curl command cannot get contents from api.github, but the network is fine
- PHP cURL Request for Web Service Returning Error
- How to convert CURL command to Swift
- curl command don't work in some cases
- Silence output curl_setopt_array
Related Questions in CHATBOT
- No responses from google places text search api
- compare python requests with curl
- file_get_contents not working on my server but works fine anywhere else?
- Converting curl command to iOS
- cURL PHP code redirect after success
- curl command cannot get contents from api.github, but the network is fine
- PHP cURL Request for Web Service Returning Error
- How to convert CURL command to Swift
- curl command don't work in some cases
- Silence output curl_setopt_array
Related Questions in SPEECH-TO-TEXT
- No responses from google places text search api
- compare python requests with curl
- file_get_contents not working on my server but works fine anywhere else?
- Converting curl command to iOS
- cURL PHP code redirect after success
- curl command cannot get contents from api.github, but the network is fine
- PHP cURL Request for Web Service Returning Error
- How to convert CURL command to Swift
- curl command don't work in some cases
- Silence output curl_setopt_array
Related Questions in DIRECT-LINE-BOTFRAMEWORK
- No responses from google places text search api
- compare python requests with curl
- file_get_contents not working on my server but works fine anywhere else?
- Converting curl command to iOS
- cURL PHP code redirect after success
- curl command cannot get contents from api.github, but the network is fine
- PHP cURL Request for Web Service Returning Error
- How to convert CURL command to Swift
- curl command don't work in some cases
- Silence output curl_setopt_array
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
How speech is configured depends on the type you mean to use, which also means possibly updating your bot as well as the client you are using.
A quick note about clients (i.e. channels) - the channel is what determines whether speech is supported or not. For instance:
Regarding DL Speech, you need to add / update your bot's
index.js
code to include the following:And, then in Web Chat, you would pass in the following. (You can reference the below code in this DL Speech sample. Also, note that you will want to update the "fetch" address to an API of your own for generating a token.):
Here are some addition resources to help you better understand DL Speech:
Regarding CS Speech, you need to have an active Cognitive Services subscription. Once you have your speech service setup in Azure, you use the subscription key to generate the token used for enabling CS Speech (you can also reference this Web Chat sample. Not changes in your bot are necessary for enabling. (Again, you will want to set up an API for generating a token as best practice is to NOT include any keys in the HTML. This is what I do in this example for getting a DL token):
Additional resources:
Hope of help!