- Newest
- Most votes
- Most comments
Currently, Amazon Bedrock Knowledge Bases primarily supports text-based document formats. While it can ingest various file types including PDFs, Word documents, and spreadsheets, there isn't explicit support for processing images and graphs within these documents as part of the knowledge base creation process.
The advanced parsing feature you mentioned does offer some capability to extract information from PDFs, which might include some basic image analysis, but as you correctly pointed out, it has significant limitations. The quota for advanced parsing is indeed small, with a maximum of 100 MB of data that can be parsed using this method.
For documents containing both text and images, the text content would be ingested and processed, but the image content would not be directly analyzed or included in the knowledge base in a way that allows for image-based querying or retrieval.
As for best practices for ingesting image data, given the current limitations of Amazon Bedrock Knowledge Bases, there isn't a straightforward method within the service itself. If working with documents that contain important visual information, you might need to consider alternative approaches:
-
Pre-processing: You could use external tools or services to analyze images and graphs in your documents, extract relevant textual descriptions or metadata, and include this information in the text of the document before ingesting it into the knowledge base.
-
Separate image processing pipeline: You might need to set up a separate workflow for processing and storing image data, potentially using other AWS services that are more suited to image analysis and storage.
-
Text-based representation: Where possible, ensure that important information conveyed in images or graphs is also represented in text form within your documents.
At present, there are no other alternatives within Amazon Bedrock Knowledge Bases for directly ingesting and processing image data at scale. The service is primarily designed for text-based information retrieval and generation. If extensive image processing is a critical requirement for your use case, you may need to explore additional services or custom solutions to complement the text-based capabilities of Amazon Bedrock Knowledge Bases.
Sources
Prerequisites for your Amazon Bedrock knowledge base data - Amazon Bedrock
Quotas for Amazon Bedrock - Amazon Bedrock
Prerequisites for creating an Amazon Bedrock knowledge base - Amazon Bedrock
Short answer is yes, but you probably need to pre-process your content with a multi-model FM like Claude. Very detailed explanation can be found it this AWS Blog: https://aws.amazon.com/blogs/machine-learning/amazon-bedrock-knowledge-bases-now-supports-advanced-parsing-chunking-and-query-reformulation-giving-greater-control-of-accuracy-in-rag-based-applications/
answered 2 years ago
Relevant content
- AWS OFFICIALUpdated 2 years ago

Unfortunately support is limited for advanced parsing with LLMS, the advanced parsing total size is only 100 MB, and you can only ingest up to 100 files per KB (https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html) . Those cannot be adjusted. If you have documents with images that exceed these limits, as mentioned by the re:Post Agent, you'll be better of implementing a custom pre-processing solution. You could leverage the same prompt used for advanced parsing, and, using AWS services such as Bedrock Batch Inference, you could prepare your data for ingestion via Knowledge Base.