From the course: Developing Skills for AWS Alexa

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Remembering key information with long-term persistence

Remembering key information with long-term persistence - Amazon Web Services (AWS) Tutorial

From the course: Developing Skills for AWS Alexa

Start my 1-month free trial

Remembering key information with long-term persistence

- [Instructor] So maybe you've got a favorite restaurant, one you visit every week, where you know the owners. They know what you like, you don't even have to say it. That kind of familiarity is what keeps you coming back. It's the same with our skill. Wouldn't it be cool to be able to say to Pizza Dog, hey, I'll have the usual? In order to do that, this Alexa skill needs more than just session attributes. It needs long-term persistence. Luckily we've got access to something called a persistence adapter, similar to the session adapter, that let's us keep data in the S3 bucket associated with our Alexa-backed skill. So here's what we're going to do. First we'll add and configure the persistence adapter in our code. Then later we'll add a prompt after confirming a pizza order and ask if they want to save their order as the usual. Then we'll add an intent that let's them order the usual. All right, let's go. First thing is…

Contents