mycroft.skills package¶
Subpackages¶
mycroft.skills.mycroft_skill module¶
-
class
mycroft.skills.mycroft_skill.
MycroftSkill
(intent_manager)[source]¶ Bases:
object
Base class for all Mycroft skills
-
add_result
(key, value)[source]¶ - Adds a result from the skill. For example:
- self.add_result(‘time’, ‘11:45 PM’)
- Except, of course, ‘11:45 PM’ would be something generated from an API
- Results can be both general and granular. Another example:
- self.add_result(‘time_seconds’, 23)
-