I want to share my own Medium post about building a chatbot on Rasa platform. Let me know what you think, I will be greatful for any feedback: https://medium.com/@martinnovk_22870/rasa-python-weather-chatbot-51fc218d346d
Hello, I am new to Rasa Stack and using your example to get started. I have made it through your weather app tutorial until the part:
$ python bot.py run
Whenever I run this script the bot acts like its starting up, and then hangs indefinitely after the following message:
INFO rasa_nlu.components - Added ânlp_spacyâ to component cache. Key ânlp_spacy-enâ.
Training the bot yields the expected models files, so I donât think I messed up there. I have my files set up exactly like your tutorial except instead of the âConsoleInputChannel()â in bot.py I am using â[CmdlineInput()]â. Any insight on a solution would be greatly appreciated. Thank you.
SOLVED: I solved this issue. The run method in âbot.pyâ should contain the following:
interpreter = NaturalLanguageInterpreter.create(âmodels/nlu/default/currentâ) agent = Agent.load(âmodels/dialogueâ, interpreter=interpreter) rasa_core.run.serve_application(agent,channel=âcmdlineâ)