mycroft.engines package¶
mycroft.engines.intent_engine module¶
-
class
mycroft.engines.intent_engine.
IntentEngine
(path_manager)[source]¶ Bases:
object
Interface for intent engines
-
calc_intents
(query)[source]¶ Run the intent engine to determine the probability of each intent against the query :param query: input sentence as a single string :return: dict of intent: intent_data where
Example return data: { ‘name’: ‘TimeSkill:time.ask’, ‘confidence’: ‘0.65’, ‘matches’: {‘location’: ‘new york’} }
-
-
mycroft.engines.intent_engine.
extract_intent_name
(namespaced_name)[source]¶ Ex. TimeSkill:time.ask -> time.ask
mycroft.engines.padatious_engine module¶
-
class
mycroft.engines.padatious_engine.
PadatiousEngine
(path_manager)[source]¶ Bases:
mycroft.engines.intent_engine.IntentEngine
Interface for Padatious intent engine
-
GIT_BRANCH
= 'feature/mycroft-simple'¶
-
GIT_URL
= 'https://github.com/MatthewScholefield/padatious-mycroft.git'¶
-
HOST
= '127.0.0.1'¶
-
PORT
= 8014¶
-