Rasa 1.0 python library not working properly

Based on this documentation link Agent when I tried running this simple code with an existing trained model, returns just None as output

Previous versions were good and documentation isnt clear now, please help, thanks

import asyncio
from rasa.core.agent import Agent
from rasa.core.interpreter import RasaNLUInterpreter

async def process(msg):
    agent = Agent.load("models/current")
    output = await agent.handle_text(msg)
    print(output)
    return output

asyncio.run(process("hi"))

Hi @karthikbalu, I had the same a similar problem here. You can also benefit from the example of restaurant bot from rasa.

1 Like