question

Luca Martinucci avatar image
Luca Martinucci asked

Session timeout vs intent timeout for Alexa skill

For an Alexa skill that invokes a Lambda function, what is the meaning of the "timeout" setting in the Lambda function?

I wonder whether it is a session timeout, or an intent timeout.

If I set it to 10 seconds, for example, does the skill time out (and raises an exception) if the whole user session exceeds 10 seconds, or if any intent that is invoked in the session exceeds it?

alexa skills kitlambda
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Luca Martinucci avatar image
Luca Martinucci answered

I have realized that it is definetly an intent timeout.

As far as I know, there is no out-of-the-box session timeout in Alexa skills.

If you want to limit the duration of a session, you must implement a timeout handling in the code.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.