JustinaPetr / Weatherbot_Tutorial

275 stars 447 forks source link

Error while running python dialogue_management_model.py #23

Closed SreenijaK closed 5 years ago

SreenijaK commented 5 years ago

While running the file gives, Traceback (most recent call last): File "train_online.py", line 39, in run_weather_online(nlu_interpreter) File "train_online.py", line 32, in run_weather_online online.serve_agent(agent) AttributeError: module 'rasa_core.training.online' has no attribute 'serve_agent'

I believe server_agent doesnt exisit in online now

touhi99 commented 5 years ago

I checked one example from rasa_core git, it works now with online.run_online_learning(agent)

JustinaPetr commented 5 years ago

Hey @SreenijaK, yes - this is due to the most recent changes to Rasa Core. I have pushed a fix for it to the repo :)