- Newest
- Most votes
- Most comments
Did your problem get resolved?
In addition the following may help.
- Trying different file formats that Bedrock explicitly supports (beyond just converting to .txt)
- Validating the text encoding of the file (ensuring it's UTF-8 or another supported encoding)
- Checking if there are any special characters or formatting in the SRT file that might be causing issues
answered a year ago
When AWS Bedrock Knowledge Base fails to ingest files with the error "Ignored files as their file format was not supported," the issue may not be with the file extension itself but rather with the content structure or formatting within the file.
SRT files contain a specific format with numbered entries, timestamps, and transcript text. Even when converting to .TXT format, this structure remains and might be causing the ingestion issue. Bedrock Knowledge Base has specific requirements for supported file formats and content.
There are several potential solutions to try:
-
Preprocessing the file: Remove the numbered entries and timestamps, keeping only the actual transcript text. This would transform the content into more natural language text that Bedrock might better recognize.
-
Enable chunking: If you're using "No chunking" as your strategy, try enabling chunking instead. This can help process files by breaking them into smaller, more manageable sections.
-
Check file size: Ensure your file isn't exceeding size limitations. Even files with only 600 words have been reported to cause errors when chunking is disabled.
-
Verify permissions: Ensure that the Bedrock service has the necessary permissions to access your S3 bucket where the files are stored.
-
Split larger files: If your transcript files are lengthy, consider breaking them into smaller files to stay within processing limits.
The issue is likely related to how Bedrock processes the structured content within SRT files rather than the file extension itself. The timestamps and entry numbers may be interfering with Bedrock's ability to process the content as natural language text.
Sources
Issue related to AWS Bedrock Knowledge Base - File format not supported | AWS re:Post
Resolve file sync failures with Amazon Bedrock Knowledge Bases | AWS re:Post
Bedrock KB data source sync error with no chunking and file of 600 words | AWS re:Post
Bedrock Knowledge Base Creation: Failure to Ingest from S3 | AWS re:Post
answered a year ago
Relevant content
asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
