Rasa Python Weather Chatbot - Getting Started with Rasa / Tutorials, Resources & Videos - Rasa Community Forum
Rasa Python Weather Chatbot
post by MartinGentleman on Aug 8, 2018
I want to share my own Medium post about building a chatbot on Rasa platform. Let me know what you think, I will be grateful for any feedback: https://medium.com/@martinnovk_22870/rasa-python-weather-chatbot-51fc218d346d
post by bniswonger on Feb 28, 2019
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 it's 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')