Hi there team!
I am a little confused by how I can set up a rules policy…
The current set up I have always defaults to my fallback_action (action_listen) rather than follow the rule I have set in the rules.yml file
They are as follows:
policies:
- name: MemoizationPolicy
- name: RulePolicy
core_fallback_threshold: 0.3
core_fallback_action_name: action_listen
enable_fallback_prediction: true
and the rule:
- rule: Submit prediction form
condition:
- active_loop: prediction_form
steps:
- action: prediction_form
- active_loop: null
- slot_was_set:
- requested_slot: null
- action: action_submit_slot_data
- action: action_ask_survey
wait_for_user_input: true
the story is as follows:
steps:
- intent: greet
- action: action_run_analysis
- action: prediction_form
- active_loop: prediction_form
- slot_was_set:
- requested_slot: accurate_prediction
- slot_was_set:
- accurate_prediction: yes
- slot_was_set:
- requested_slot: null
- active_loop: null
- action: action_submit_slot_data
- action: action_ask_survey
thanks for any support!