Parsing options for your data source
Amazon Bedrock Knowledge Bases offers the following options for parsing your data source during ingestion:
-
Amazon Bedrock default parser – This parser doesn't incur any charges when it's used.
-
Foundation models – Processes data using a foundation model or inference profile. This parser allows you to optionally customize the prompt used for data extraction. Anthropic Claude 3.5 Sonnet and Anthropic Claude 3 Haiku models support parsing. The cost of this parser depends on the number of tokens processed by the foundation model.
When selecting how to parse your data, you should consider the following:
-
Whether you want the option to customize the prompt that is used to instruct the model on how to parse your data.
-
The cost of the parser. For more information, see Amazon Bedrock Pricing
.
There are limits for the types of files and total data that can be parsed using advanced parsing. For information on the file types for advanced parsing, see Supported document formats and limits for knowledge base data. For information on the total data that can be parsed using advanced parsing, see Amazon Bedrock endpoints and quotas in the AWS General Reference.
To learn how to configure how your knowledge base is parsed, see the connection configuration for a supported data source in Connect a data source to your knowledge base.