Skip to content

Q in Connect Barge In Not Working as expected

0

We have a self-service answer bot created using LEX and Q in Connect. While barge-in works, the behavior is not as expected. The AI Agent should respond to what the caller interrupted with, but instead just goes back to the beginning of the FAQ that it was reading.

Have tried to put rules in place telling it to react when interrupted, but those rules seem to be ignored.

asked 10 months ago207 views

2 Answers
0

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:

  1. The model may not be producing a valid tool_use response for SELF_SERVICE_PRE_PROCESS when the interruption occurs. This can cause the bot to reset to its initial state rather than responding to the interruption.

  2. If you're using Claude 3 Haiku for self-service pre-processing, there's a known issue where it might generate the tool_use JSON as text, resulting in a stop_reason of end_turn instead of tool_use. This could affect how interruptions are handled.

  3. 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:

  1. Enable logging for Amazon Q in Connect self-service interactions using CloudWatch Logs to see what's happening when the interruption occurs.

  2. Check if your custom prompt needs to wrap the tool_use JSON string inside <tool> tags to ensure proper processing.

  3. 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.

  4. Verify that the language settings match between your Connect instance and Lex bot, as mismatches can cause unexpected behavior.

  5. 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

0

Hi,

Based on the latest update from the internal team, we need to inform you of two important points:

  1. There is a known issue with Q in Connect (QiC) intent barge-in handling
  2. 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

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.