Sorry if this is noobish, but I’ve spent a lot of time looking at the adapt documentation, but am having trouble fitting it into my skill.
I’m working on a skill that does some home automation. I have two intent handlers configured as shown below. While I am inside one of these handlers, how can I access the other parts of the utterance? I tried reading from the variable ‘message’, but it is not a neatly formatted JSON object as I am expecting returned from adapt.
@intent_handler(IntentBuilder("OnIntent").require("OnKeyword")) def handle_on_intent(self, message): #do some stuff @intent_handler(IntentBuilder("OffIntent").require("OffKeyword")) def handle_off_intent(self, message): #do some stuff