I have a Lex bot that is called from Amazon Connect. I have figured out how to allow barge-in from the Connect Get Customer Input. However, that's where it ends. When my Lexbot prompts for my slots, it isn't allowing the caller to barge-in. I figured that the session attribute set in Connect would carry the barge-in to the slots, but it doesn't. Is there a way to allow our callers to barge-in with the slot prompts?
You should be able to barge-in either using DTMF or voice. No configuration is required for DTMF and it should interrupt the prompt.
For voice barge-in, you need to set the session attributes in the Get Customer Input
block as defined here. That is, the following attribute needs to be specified:
Key: x-amz-lex:barge-in-enabled:[intentName]:[slotToElicit]
Value: true
Specify the intentName
and slotToElicit
in the above key for which this functionality should be enabled. Note, wildcards (*
) can be used here to enable this for multiple slots/intents.