Closed rkkumar16 closed 5 years ago
I finally fixed this issue by changing the interpreter. earlier i was using it like this
interpreter = Interpreter.load("./project/default/current")
agent = Agent.load(utils.CORE_MODEL,interpreter=interpreter)
Now I changed it to
interpreter = Interpreter.load("./project/default/current")
agent = Agent.load(utils.CORE_MODEL,interpreter=RasaNLUInterpreter("./project/default/current"))
Though I could not figure out the reason behind this. But it works
Because the RasaNLUInterpreter is required to load an NLU model, the other Interpreter acts as a regex