Capture the whole sentence in Alexa

amazon-alexa

#1

Hi everyone,

I want to know if there is a way, in Alexa, to capture what the user says, the whole sentence.
For example an user says “The cat is on the table”, is there a way to get all the string?

Thank you.


#2

Hi @UmbertoTruscello,

Unfortunately, Alexa does not provide the raw transcript of what the user said.

However, there is a Search Query (AMAZON.SearchQuery) slot type that can be used: https://developer.amazon.com/en-US/docs/alexa/custom-skills/slot-type-reference.html#searchquery

It’s not ideal, every utterance needs to contain a so called carrier phrase like “search for”, but it’s a good start.


#3

Hi jan,
thank you for your prompt reply.
It’s unfortunate that alexa doesn’t provide the entire transcript, it would be really helpful in some cases.

Thank you again. :slight_smile: