Bot not forgetting previous entities

hi, I am having a similar but different need, namely how to remove slot values within 3 turns of dialog, like I said in this example.:

In a multi-turn dialog, how to determine what slot values should be carried over to the next utterance? A simple rule may be to let the robot memorize the most 3 recent dialogs. Anything more than that will be destroyed. Is there a way to achieve that? The approaches discussed above seems not working, since it has nothing to do with a particular intent. It is a general rule.