AttributeError : object has no attribute 'core_endpoint'

hi

How can I initialise remote(rasa_core/remot.py) object in rasa_core?I want to invoke tracker_json method to get current state of conversation in json format. It seems remote object needs core_endpoint which is of type EndpointConfig. I don’t have any clue how to initialise remote object and get this tracker_json invoked.

https://github.com/RasaHQ/rasa_core/blob/master/rasa_core/remote.py

here is the ss of the error

image