Fix Padatious to load intents and entities
Doesn't make sense to add intents since no sample lines are provided
@@ -90,10 +90,10 @@ class PadatiousService(FallbackSkill):
self.wait_and_train()
def register_intent(self, message):
- self._register_object(message, 'intent', self.container.add_intent)
+ self._register_object(message, 'intent', self.container.load_intent)
def register_entity(self, message):
- self._register_object(message, 'entity', self.container.add_entity)
+ self._register_object(message, 'entity', self.container.load_entity)
def handle_fallback(self, message):
utt = message.data.get('utterance')
