From 0c9794fa2b61179cd358cae3e3531bf92c4ad906 Mon Sep 17 00:00:00 2001 From: Tanja Bunk Date: Wed, 7 Aug 2024 09:35:00 +0200 Subject: [PATCH] link to add_contact in pattern_clarification --- data/flows/patterns.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/data/flows/patterns.yml b/data/flows/patterns.yml index a164c4c..8a6a960 100644 --- a/data/flows/patterns.yml +++ b/data/flows/patterns.yml @@ -51,4 +51,17 @@ flows: name: pattern completed steps: - action: utter_can_do_something_else - - action: action_reset_routing \ No newline at end of file + - action: action_reset_routing + + pattern_clarification: + description: Conversation repair flow for handling ambiguous requests that could match multiple flows + name: pattern clarification + steps: + - action: action_clarify_flows + next: + - if: context.names contains "add a contact" + then: + - link: add_contact + - else: clarify_options + - id: clarify_options + action: utter_clarification_options_rasa \ No newline at end of file