Fixed domain using fixed string instead of parameter domain
This commit is contained in:
parent
5513268a97
commit
5d7ff0c15c
@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user