Reputation: 33
I am trying to create a simple survey skill in Amazon Alexa where Alexa asks the user a question and they respond in any manner they feel like (open-ended). For example, if Alexa asks "Do you cook?", a user may respond in many ways such as "Yes I do cook", "My son does the cooking" etc.
The issue I am getting is that the questions can have similar responses so when I create an utterance in the Alexa dev console they overlap (utterance conflicts) and I am redirected to the error handler. (note each question has its own intent)
The reason being I want to store the user's response in a database.
Upvotes: 3
Views: 256
Reputation: 8441
Unfortunately, Alexa Skills aren't designed to do Speech To Text.
When a user talks to a device, the request goes through multiple steps:
Speech To Text
.Although, the intent AMAZON.SearchQuery will do the job but you will have to use a prefix: My answer is {query}
and not directly {query}
because all requests will be redirected to this intent otherwise. It will not look like a good & smooth user experience.
Upvotes: 1