alexa-samples / skill-sample-nodejs-city-guide

An Alexa Skill Sample showing how to build a skill featuring a single city's landmarks and news.
Other
197 stars 223 forks source link

Session ends after giving an attraction #7

Closed chaanmaan closed 7 years ago

chaanmaan commented 7 years ago

I would like the session to remain open after the Guide returns an Attraction. For instance, I can ask for the Top Five, and after they are listed, I can still say Help, or express another Intent, and the Guide will respond because the session is still open. But after getting an Attraction, the session ends, and I have to "open city guide" again. Any code modifications you can share to make this happen?

soldierscoach commented 7 years ago

Reaching back to an Alexa dev .....​

On Thu, Jun 15, 2017 at 11:10 AM, chaanmaan notifications@github.com wrote:

I would like the session to remain open after the Guide returns an Attraction. For instance, I can ask for the Top Five, and after they are listed, I can still say Help, or express another Intent, and the Guide will respond because the session is still open. But after getting an Attraction, the session ends, and I have to "open city guide" again. Any code modifications you can share to make this happen?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alexa/skill-sample-nodejs-city-guide/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AVMR4C-uM3ihDTjH7fHyVhiRMs4v0_dmks5sEVdogaJpZM4N7bpi .

-- Jody W. Burnett (210) 413-0662

chaanmaan commented 7 years ago

I found the tellWithCard method in response.js in the node_modules folder and changed shouldEndSession to false. This seems to fix my problem.