Skip to content

Commit

Permalink
ENG-1293: properly add pattern_human_handoff to default `pattern_cl…
Browse files Browse the repository at this point in the history
…arification`
  • Loading branch information
AsadHasan-Rasa committed Sep 16, 2024
1 parent 204b30e commit 4ecfbcd
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions data/flows/patterns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,12 @@ flows:
- if: context.names contains "add a contact"
then:
- link: add_contact
- else: clarify_options
- id: clarify_options
action: utter_clarification_options_rasa

pattern_clarification_with_human_handoff:
description: Conversation repair flow for handling ambiguous requests that could match multiple flows, with handoff to human assistant
name: pattern clarification with human handoff
steps:
- action: action_clarify_flows
- action: action_increase_clarification_count
next:
- if: slots.clarification_count > 2
then:
- link: pattern_human_handoff
- else: clarify_options
- else:
- action: action_increase_clarification_count
next:
- if: slots.clarification_count > 2
then:
- link: pattern_human_handoff
- else: clarify_options
- id: clarify_options
action: utter_clarification_options_rasa

0 comments on commit 4ecfbcd

Please sign in to comment.