rasa/core/agent.py
def _are_all_featurizers_using_a_max_history(self):
        """Check if all featurizers are MaxHistoryTrackerFeaturizer."""

        def has_max_history_featurizer(policy):
            return (policy.featurizer and
                    hasattr(policy.featurizer, 'max_history'))

        for p in self.policy_ensemble.policies:
            if p.featurizer and not has_max_history_featurizer(p):
                return False
        return True
Check if all featurizers are MaxHistoryTrackerFeaturizer.
Check if all featurizers are MaxHistoryTrackerFeaturizer.
Check if all featurizers are MaxHistoryTrackerFeaturizer .
def _are_all_featurizers_using_a_max_history(self):
        def has_max_history_featurizer(policy):
            return (policy.featurizer and
                    hasattr(policy.featurizer, 'max_history'))
        for p in self.policy_ensemble.policies:
            if p.featurizer and not has_max_history_featurizer(p):
                return False
        return True
def _are_all_featurizers_using_a_max_history ( self ) : def has_max_history_featurizer ( policy ) : return ( policy . featurizer and hasattr ( policy . featurizer , 'max_history' ) ) for p in self . policy_ensemble . policies : if p . featurizer and not has_max_history_featurizer ( p ) : return False return True
Check if all featurizers are MaxHistoryTrackerFeaturizer.
Check if all featurizers are MaxHistoryTrackerFeaturizer .
"""Check if all featurizers are MaxHistoryTrackerFeaturizer."""
self