Code: from rasa_core.training.interactive import online
I am getting a following error: cannot import name ‘online’ from 'rasa_core.training.interactive’
Can someone please help me fix the issue?
Code: from rasa_core.training.interactive import online
I am getting a following error: cannot import name ‘online’ from 'rasa_core.training.interactive’
Can someone please help me fix the issue?
What rasa version do you use?
I am using the latest version. However, how can I find exactly what version I am using? Im using Jupyter Notebook.
You can get the current rasa version with rasa.__version__
.
If you are using the latest version, you should use rasa.core
instead of rasa_core
.
There is no online
in rasa.core.training.interactive
. What are you trying to achieve?
Hi Tanja, thank you for such a quick response. My rasa version is 0.15.1 I am trying to create train_online.py for interactive training purpose. Here I am unable to run following command
Error: cannot import name ‘online’ from 'rasa_core.training’
Can you please help me understand what’s going wrong?
Sorry, for the late reply. I’m not sure if we have something like ‘online’ at all. Maybe you want to use rasa_core.training.interactive
?
remove
from rasa_core.training import online
online.serve_agent(agent)
Replace by this
from rasa_core.training import interactive
interactive.run_interactive_learning(agent)
hope it help: