Fixed domain using fixed string instead of parameter domain

This commit is contained in:
Mathieu B 2021-07-28 23:13:53 +02:00
parent 5513268a97
commit 5d7ff0c15c

View File

@ -18,7 +18,7 @@ def register_regex(regex, domain):
def register_intent(intent, domain):
engine.register_intent_parser(intent, domain='WikipediaSkill')
engine.register_intent_parser(intent, domain=domain)
print("[Adapt]: Registered new intent " + intent.name + " for skill " + domain)