qnabot-on-aws
qnabot-on-aws copied to clipboard
QNA Bot with bedrock knowledgebase and connect feature.
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
Logs of empty response:
Connect flow I used:
Additional context Based on testing and log analysis, the response is blank if the Bedrock knowledge base processing time exceeds 6-7 seconds.