- Newest
- Most votes
- Most comments
The issue you're experiencing with barge-in functionality in your Amazon Q in Connect self-service bot is likely related to how the bot handles interruptions during its responses.
When unexpected behavior occurs during self-service bot interactions, it's often due to one of several possible causes:
-
The model may not be producing a valid
tool_useresponse forSELF_SERVICE_PRE_PROCESSwhen the interruption occurs. This can cause the bot to reset to its initial state rather than responding to the interruption. -
If you're using Claude 3 Haiku for self-service pre-processing, there's a known issue where it might generate the
tool_useJSON as text, resulting in astop_reasonofend_turninstead oftool_use. This could affect how interruptions are handled. -
The custom prompts you've created to handle interruptions may need to be adjusted. For effective barge-in handling, you should ensure your AI Prompts specifically instruct the model on how to respond to interruptions.
To troubleshoot and fix this issue:
-
Enable logging for Amazon Q in Connect self-service interactions using CloudWatch Logs to see what's happening when the interruption occurs.
-
Check if your custom prompt needs to wrap the
tool_useJSON string inside<tool>tags to ensure proper processing. -
Review your AI Agent configuration to ensure it's properly set up to handle interruptions. You may need to create specific AI Prompts for handling barge-in scenarios and associate them with your AI Agent.
-
Verify that the language settings match between your Connect instance and Lex bot, as mismatches can cause unexpected behavior.
-
Simplify your prompts if the bot is timing out while processing the interruption (there's a 10-second limit).
By addressing these potential issues, you should be able to improve the barge-in functionality so that your bot responds appropriately to user interruptions rather than restarting from the beginning.
Sources
Troubleshoot Amazon Q in Connect self-service issues - Amazon Connect
Personalize agent assistance with Amazon Q in Connect | AWS Contact Center
Lex v2 with Connect not working | AWS re:Post
answered 10 months ago
Hi,
Based on the latest update from the internal team, we need to inform you of two important points:
- There is a known issue with Q in Connect (QiC) intent barge-in handling
- Barge-in functionality is currently not supported by Q in Connect intent
Status Update:
- The internal team is actively working on resolving the barge-in handling issue
- Development is in progress to implement proper barge-in support
- This explains the unexpected behavior where the system returns to the beginning of the FAQ instead of responding to interruptions
We recommend keeping an eye on AWS News for updates regarding this functionality.
answered 10 months ago
Relevant content
asked 2 years ago
