[Solved ] How to configure tracker.store in custom code bot.py

bot.py

	interpreter = RasaNLUInterpreter('./models/nlu/current')
	action_endpoint = EndpointConfig(url="http://localhost:5055/webhook")
	agent = Agent.load('./models/dialogue', interpreter=interpreter, action_endpoint=action_endpoint)
	rasa_core.run.serve_application(agent ,channel='cmdline')

how to do the a below code in bot.py endpoint.yml

action_endpoint:
    url: http://localhost:5055/webhook

tracker_store:
    store_type: redis
    url: localhost
    port: 6379
    db: 13
interpreter = RasaNLUInterpreter('./models/nlu/Auto/Auto')
	domain = TemplateDomain.load("models/dialogue/domain.yml")
	action_endpoint = EndpointConfig(url="http://localhost:5055/webhook")
        tracker_store = RedisTrackerStore(domain,host="localhost", port=6379, db= 13)

	agent = Agent.load('./models/dialogue', interpreter=interpreter, action_endpoint=action_endpoint,tracker_store=tracker_store)
       
	rasa_core.run.serve_application(agent ,channel='cmdline')
``