From bac0ce84a307fc1fb71e44c4b8f5751252397dfd Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Sun, 1 Aug 2021 18:26:11 +0200 Subject: [PATCH] return "i didn't understand" when intent isn't recognized --- jarvis/skills/intent_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jarvis/skills/intent_manager.py b/jarvis/skills/intent_manager.py index 5fb48a9..41fa213 100644 --- a/jarvis/skills/intent_manager.py +++ b/jarvis/skills/intent_manager.py @@ -124,4 +124,5 @@ def recognise(sentence, client_ip=None, client_port=None): else: pass # print("No match... (Padatious)") - print() + + return "I didn't understrand..."