Wrong action is getting called in between a story

i used slots that defines the specific path and memoisation policy with a slight tuning of max_history and I dropped keras policy . Why i choose this approach was coz , it suited our needs