Script interactive training

hello i am doing a script on python for launch my bot with interactive learning but i face with an error all time and i can’t solve it, please someone can help me?

error: TypeError: train() missing 1 required positional argument: ‘domain’

file: train_online.py (1.1 KB)

well i advance a bit but now i dont know what code is for launch the agent in interactive learning.

i am using the latest rasa_core version

new file: train_online.py (1.1 KB)