Weatherbot: Error while running dialogue_management_model.py file

Error while running dialogue_management_model.py file:

I tried to create my own sample data and trained the model. When I ran the script in ‘dialogue_management_model.py’, it throws the following error.

My bad. The error message says it all. Removing ‘max.history’ from ‘agent.train’ solved the issue.