Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QNA Bot with bedrock knowledgebase and connect feature. #773

Open
dangollayan opened this issue Oct 7, 2024 · 4 comments
Open

QNA Bot with bedrock knowledgebase and connect feature. #773

dangollayan opened this issue Oct 7, 2024 · 4 comments
Assignees
Labels

Comments

@dangollayan
Copy link

Describe the bug
The bot sometimes returns a blank response when using the Bedrock knowledge base as a fallback feature.

To Reproduce
Ask the bot a question that triggers the Bedrock knowledge base fallback feature.

Expected behavior
The bot should display the results retrieved from the Bedrock knowledge base.

Please complete the following information about the solution:

  • [v6.1.1] Version:

  • [ap-southeast-2] Region

  • [No] Was the solution modified from the version published on this repository?

  • [N/A] If the answer to the previous question was yes, are the changes available on GitHub?

  • [Yes ] Have you checked your service quotas for the services this solution uses?

  • [No] Were there any errors in the CloudWatch Logs?

Screenshots
Sample screenshot of empty response
image
Logs of empty response:
image
Connect flow I used:
image

Additional context
Based on testing and log analysis, the response is blank if the Bedrock knowledge base processing time exceeds 6-7 seconds.

@dangollayan dangollayan added the bug label Oct 7, 2024
@fhoueto-amz
Copy link
Member

Thanks. We will revert back.

@abhirpat
Copy link
Member

abhirpat commented Oct 10, 2024

Hi @dangollayan, thank you for reporting this. To help further investigate it -

  1. You mentioned you see response blank in connect. Could you please try comparing in QnABot's chat client? Does it show blank as well?
  2. Also, in your logs, could you also please provide an expansive screenshot of last line that says "INFO final:". It's the final response that is sent to clients that we need to look at.
  3. Have you checked logs from connect chat side to see if there any errors? You can also try to see browser console logs in chrome developer tools and network logs.

@abhirpat
Copy link
Member

Hi @dangollayan wanted to check-in to see if you had a chance to see my previous message.

@dangollayan
Copy link
Author

Hi @dangollayan wanted to check-in to see if you had a chance to see my previous message.

Hi, sorry for the late response and thank you for looking out for our problem

  1. Yes, it shows blank also
  2. in the screenshot I sent, in the cloudwatch logs, there's "final:" part
  3. I'll get back to you ASAP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants