Build an open future with us.

Invest in Mycroft and become a community partner.

Phrase with no keywords


#1

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


#2

I believe you need to use MycroftSkill.get_response


#3

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

  • Francis Govers

#4

Great to hear! Happy Hacking!