how can i chat with bot on command line? - Rasa Open Source - Rasa Community Forum

👋 Introducing the Rasa Playground

how can i chat with bot on command line?

post by lmobot on Aug 15, 2019

when i run the def run(), i found the agent.handle_channel is deprecated, and i can’t find the new function to solve it, i don’t want to use ‘rasa shell’, so what can i do?

def run(serve_forever=True):
    agent = Agent.load(“models/dialogue”,
                      interpreter=RasaNLUInterpreter(“models/demo”))
    if serve_forever:
        agent.handle_channel(ConsoleInputChannel())
    return agent

post by SallemiDorsaf on Aug 15, 2019

Heading link Training the NLU model

Since the release of Rasa 1.0, the training of the NLU models became a lot easier with the new CLI. Train the model by running:

rasa train nlu

Once the model is trained, test the model:

rasa shell nlu

Related topics

Topic Replies Views Activity
Command line bot Rasa
Rasa Open Source
1 1.3k Jul 2019
Rasa core 1.1.5 facing issue when channel is command line
Rasa Open Source
3 591 Jul 2019
Rasa train nlu
Rasa Open Source
1 314 Jan 2022
Rasa Python Weather Chatbot
Tutorials, Resources & Videos
1 2.2k Mar 2019
Integrating Rasa Bot with Custom channel
Tutorials, Resources & Videos
5 1.8k Feb 2019