I have just migrated my project over to the latest version of Rasa (previous version used was mid 2018), however it seems to have broken some of the old code.
Previously I was creating an instance of RasaNLUInterpreter with
interpreter = RasaNLUInterpreter(interpreter_path),
and an Agent using
agent = Agent.load("bots/responder/models/dialogue/responder_model.tar.gz", interpreter=interpreter)
I then obtained results from the Interpreter using
interpreterOutput = interpreter.parse(msg), which gives me the intent with
However, now I get this error:
TypeError: 'coroutine' object is not subscriptable
Is there documentation for the Python API for the latest version of Rasa? I can’t seem to find it anywhere.
agent.handle_text(text_message=msg, sender_id=interactionID) still work?