In this tutorial, we have demonstrated how you can use interceptors to fetch data from each response and pass it to the repeat intent handler using session attributes whenever required. Without using interceptors, we were required to pass both the responses(speech output & reprompt message) as session attributes with each handler function. But now, we can simplify that mechanism using interceptors and reduce the amount of effort required to manage the responses as we only need to define the repeat interceptor once and it will do the rest.
GitHub repo used in the video:
https://github.com/dabblelab/1-python...
If you have any questions, feel free to ask them in the comments section and we will try to get back to you as soon as possible.
≡≡ 100+ MORE TUTORIALS ≡≡
GitHub - https://github.com/dabblelab
Free Tutorials - https://dabblelab.com/tutorials
Alexa Skill Templates - https://dabblelab.com/templates
Alexa Courses - https://dabblelab.com/courses
≡≡ CONNECT WITH US ≡≡
website - http://dabblelab.com
twitter - / dabblelab
facebook - / dabblelab