An Alexa Skill Builder is developing a skill containing a multi-turn dialog that can be invoked with or without a specific intent request. On invocation, the skill needs to retrieve persistent attributes that have been saved by a previous invocation, and then copy them into session attributes.
How should the Builder implement this functionality?
A. Place logic within the skill’s SessionEndedRequest intent handler to copy the persistent attributes into the session attributes.
B. Implement ResponseInterceptor containing logic that takes the current persistent attributes and copies them into session attributes.
C. Include logic within the LaunchRequest intent handler to retrieve persistent attributes and copy them into session attributes.
D. Implement RequestInterceptor containing logic which for new sessions, retrieves persistent attributes and copies them into session attributes
How should the Builder implement this functionality?
A. Place logic within the skill’s SessionEndedRequest intent handler to copy the persistent attributes into the session attributes.
B. Implement ResponseInterceptor containing logic that takes the current persistent attributes and copies them into session attributes.
C. Include logic within the LaunchRequest intent handler to retrieve persistent attributes and copy them into session attributes.
D. Implement RequestInterceptor containing logic which for new sessions, retrieves persistent attributes and copies them into session attributes