Skip to content

AWS Bedrock Knowledge Base Datasource UI Documents is broken

0

Enter image description here

look at the image, 7 files added...documents show 1.

I spent 2 days doubting my code, inspecting every line of it to realize the UI is broken on Bedrock AWS Console. And this issue has existed for MONTHS.

🤬🤬🤬🤬🤬🤬🤬🤬🤬

1 Answer
-2

I understand your frustration with the discrepancy you're seeing in the AWS Bedrock Knowledge Base UI. Based on the image you shared showing 7 files added but only 1 document displayed, this appears to be an issue that could have several potential causes:

  1. File format compatibility: Some of your files may be in formats not supported by Bedrock Knowledge Base. The system might be ignoring files with unsupported formats without clearly indicating which ones failed.

  2. Ingestion failures: There could be issues with the ingestion process for some of your documents. This might happen due to:

  • File size limitations
  • Permission issues with your S3 bucket (even with AdministratorAccess role, Bedrock service needs specific permissions to access your S3 bucket)
  • Issues with the embedding model access
  1. Sync process issues: Sometimes the console may not reflect the actual state of operations and might need refreshing or additional time to update.

To troubleshoot this issue:

  • Check if you're using supported file formats
  • Verify S3 bucket permissions are properly configured to allow Bedrock to read from your bucket
  • Ensure you have access to the embedding model being used (often Titan)
  • Look in CloudWatch logs for more detailed error messages
  • Try clicking into the Data Source tab which should show you either failed jobs or succeeded ones with the number of documents ingested

For a more immediate solution, you could try adding documents directly through the console by selecting "Add documents directly" option in the Documents section of your knowledge base.
Sources
Issue related to AWS Bedrock Knowledge Base - File format not supported | AWS re:Post
Bedrock Knowledge Base Creation: Failure to Ingest from S3 | AWS re:Post
Bedrock knowledge base data source sync is not working | AWS re:Post
Ingest documents directly into a knowledge base - Amazon Bedrock

answered a year 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.