Skip to content

Issue related to AWS Bedrock Knowledge Base - File format not supported

0

Encountered error: Ignored files as their file format was not supported. [Files: .] Call to Amazon S3 Source did not succeed.

AWS
asked 2 years ago2K views
1 Answer
1

Hello.

Are you using a file format supported by Bedrock Knowledge Base?
The following document describes the file formats supported by the Knowledge Base.
https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html
a

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years ago
  • Hi, based on this list, it's useful to preprocess the files of your datasource: either you remove them when their internal format is really not text or you convert their name when they indeed contain text (abcd.log -> abcd.log.txt)

  • Our team is also getting this same error for cpp files that we batch renamed from filename.cpp -> filename_cpp.txt since the contents are in fact plain text. .h files are getting converted correctly, however, where we maintained the same batch rename process - filename.h -> filename_h.txt

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.