How to transfer text from alexa / echo to server

I want to create a simple skill that uses alexa voice to translate text and then passes the text to another service. This is similar to what I'm looking for: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/alexa-skills-kit-interface-reference , but nowhere in the request / response example it does not have the text form of the user's request to alexa. Someone managed to extract the text data of the custom voice commands, it would be very helpful to me.

+3


source to share


1 answer


It is not easy, unfortunately also by design.



Custom responses are stored in the word "slots" in the interaction model. This is how Alexa analyzes speech and executes commands based on user utterances. Without knowing every variation of the possible word slot and writing that into your interaction model, you cannot store free-form text in a variable and "pass it".

+1


source







All Articles