Skip to content

Commit

Permalink
Merge pull request #12714 from RasaHQ/remove-intents-from-default-flows
Browse files Browse the repository at this point in the history
rm affirm/deny mappings in default correction flow
  • Loading branch information
tmbo authored Aug 11, 2023
2 parents 4bae431 + c678efd commit a6f7b75
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions rasa/core/policies/default_flows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ responses:
utter_ask_confirm_correction:
- text: "Do you want to update your information?"
buttons:
- payload: /affirm
- payload: yes
title: Yes
- payload: /deny
- payload: no
title: No, please keep the previous information
metadata:
rephrase: True
Expand Down Expand Up @@ -38,18 +38,9 @@ responses:

slots:
confirm_correction:
type: text
type: bool
mappings:
- intent: affirm
type: from_intent
value: "True"
conditions:
- active_loop: question_confirm_correction
- intent: deny
type: from_intent
value: "False"
conditions:
- active_loop: question_confirm_correction
- type: custom

flows:
pattern_continue_interrupted:
Expand Down

0 comments on commit a6f7b75

Please sign in to comment.