Stories not working in dialogue flow

I am using rasa version 0.14.0 and using the below config file for training.

below is my config.yml file.

language: en pipeline: supervised_embeddings

policies:

  • name: MemoizationPolicy
  • name: KerasPolicy
  • name: MappingPolicy
  • name: FallbackPolicy nlu_threshold: 0.3 core_threshold: 0.3 fallback_action_name: utter_default_action

with this this my rasa core actions which are defined in stories file was not working. i am trying to add max_history property to the memoization policy but training is failing . what could be the solution here to make sure rasa core identifies the correct action every time.