Cannot import name 'online' from 'rasa_core.training.interactive'

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

  1. from rasa_core.training import online

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?