Phrase with no keywords

I’m working on a skill that receives knock knock jokes. The first part is going well - the user says “hey mycroft - knock knock”, and Mycroft replies “who is there”. Then the user is going to say some name, which will not have any keywords on it. How do I handle just taking some phrase and working with whatever it is? I don’t want it triggering another skill. Do I use conversational contexts?

Thanks,
Francis Govers

I believe you need to use MycroftSkill.get_response

1 Like

That worked perfectly - really cut down on my code, so thanks very much!

  • Francis Govers

Great to hear! Happy Hacking!

1 Like