karen.SkillManager

Translates text commands into skill results.

__init__(self, brain_obj=None, skill_folder=None) special

Skill Manager Initialization

Parameters:
  • brain_obj (object) – The brain object for which to process skills.

  • skill_folder (str) – The path to the folder containing the skill modules. (optional)

initialize(self)

Loads all skills into memory for referencing as required.

parseInput(self, text)

Parses inbound text leveraging skills and fallbacks to produce a response if possible.

Parameters:
  • text (str) – Input text to process for intent.

Returns:
  • (bool) – True on success and False on failure.

stop(self)

Calls the stop method of all opened skills to close any daemon processes opened.

Returns:
  • (bool) – True on success else raises an exception.