ask-alexa-pykit
ask-alexa-pykit copied to clipboard
Support dialog 'context'
Overview
For example, we want to implement another function when YesIntent is passed. Because Yes is used some situation like Do you want to call to this hotel? or Do you want to book this hotel?. What can we recognize it?
To use context attribute, we can recognize what means 'Yes'.
So I want to add context option like alexa.create_response(text).with_context(context). and something logic for routing intent properly.
What do you think?
Do we need to add this to the library given that Amazon has started supporting this functionality via their skill builder tool? (currently in beta)
Really? I use beta skill builder tools, but can't find it.
I mean context is like below.
https://github.com/alexa/alexa-skills-kit-sdk-for-nodejs#making-skill-state-management-simpler
You mean same?
From what I can see, our lambda should be able to see if the slot has been confirmed etc. I am having a problem whereby alexa is not prompting for the slot I have listed as required. according to the following I should see some kind of DialogState in the inbound object, but I can't see it in the object passed through to my lambda, is there something being modified somewhere before it gets to my main handler method?
https://forums.developer.amazon.com/questions/68664/alexa-fails-to-reprompt-for-slots-flagged-as-requi.html