I am seeing a difference in the behavior of predicting next actions after migrating from Rasa 0.13.x to Rasa 1.x. In the earlier version, it did not fall back unnecesarily after the converstation was complete.
Below is an example: (It has no slots and just small talk conversations)
Conversation example with Rasa 0.13.2:
- who are you ? (user message)
- I am a bot (Bot response)
- How old are you? (user message)
- I am not that old (bot response) …
Same conversation example with Rasa 1.0.9:
- who are you ? (user message)
- I am a bot (Bot response)
- How old are you? (user message)
- Sorry, please say that again (bot response) - which is the fallback response triggered by action_default_fallback …
Please note that the first prediction is always accurate. From the second response on wards its pretty random. Earlier this was working fine in Rasa 0.13.x.
Below is the dialog policy configuration:
policies: - augmentation_factor: 0 batch_size: 10 epochs: 30 featurizer: - max_history: 5 name: MaxHistoryTrackerFeaturizer state_featurizer: - name: BinarySingleStateFeaturizer name: KerasPolicy validation_split: 0.2 - max_history: 6 name: MemoizationPolicy - core_threshold: 0.3 fallback_action_name: action_default_fallback name: FallbackPolicy nlu_threshold: 0.3 - name: FormPolicy
Below is the story file:
## Generated Story for age * agent_age - utter_agent_age ## Generated Story for information * agent_info - utter_agent_info
The other observation is that if I increase the epoch to 350+ than it starts predicting the next action more accurately. Hence not sure what is the actual reason behind the change in behavior. May be is it due to the upgraded versions of Keras Policy?
Any insight on the changed behavior or any other suggestions is appreciated.