How to configure configure_app for command line interface

Hi All,

How to call rasa.core.run.configure_app with all required parameters . I would like to configure for command line interface.

I m using below code but it is not working for rasa 1.1.5 def run_restaurant_bot(serve_forever=True): interpreter = RasaNLUInterpreter(’./models/nlu/restaurantnlu’) agent = Agent.load(’./models/dialogue’, interpreter = interpreter)

    if serve_forever:
        print("server is ready")
        #agent.handle_channels(CmdlineInput())
        #await agent.handle_text("hello?")
        rasa_core.run.configure_app(CmdlineInput())

    return agent

Regards Kajal

Hi @kajagupt2019 you can use the run method defined here

Alternatively you can also start your bot directly from the commandline with rasa shell