I was wondering, if it is possible, to keep a skill alive after invoking it to get a kind of dialog with Mycroft.
This would mean that the skill remains active and I wouldn’t have to use the wake word again to continue the conversation and previous variables are still available.
What I mean is that if I have a skill which for example provides the user information about the weather from a certain location at a certain date, the user should also be able to invoke the skill with incomplete information (only date, only location, none of them).
A simple example:
User says: Hey Mycroft, what’s the weather for Seattle.
Mycroft replies: At what date and time?
User says: Tomorrow at 10:00.
Mycroft replies: The weather for Seattle at 10am tomorrow will be the following: …
Basically Mycroft replies with the full response - Seattle stored from previous request.
This is just an example, I’m not planning to make a weather skill but I found it easier to explain with this sample.
I already looked through the documentation and the sample- / third party skills but none seem to have this feature.
Is there a way to realize this and if it is possible, how do I have to do it?
I know, that several intents are needed to get full information for the complete request but how are the session variables stored and how do I keep the skill active (no wake-word needed).