qnabot-on-aws icon indicating copy to clipboard operation
qnabot-on-aws copied to clipboard

QNA Bot with bedrock knowledgebase and connect feature.

Open dangollayan opened this issue 4 months ago • 4 comments

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 avatar Oct 07 '24 00:10 dangollayan