How to set Max History in Policy

Hello, I have a question here, may I know how to set the max history on MemoizationPolicy and also TEDPolicy?

Here is my policy.

My story path have the intent with choice which is yes or no options. If I choose option No, the next action rasa will trigger the wrong story path. So how do I set my max history in policy to make sure it does not trigger the wrong next action?

@Alvin The next Rasa action is not much depends on Max history, it is depend basically from training data and stories. Policies . For Yes | No make sure you set the right payload, with right story and utterance separately. Tip more you set the history more the model will confuse as it depends on max confidence score.

Noted. May I ask what is your suggestion on the max history in policy?