You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cdk-lib/bedrock/data-sources/README.md
+21-3
Original file line number
Diff line number
Diff line change
@@ -453,24 +453,42 @@ two parsing strategies:
453
453
454
454
-**Foundation Model Parsing Strategy**: This strategy uses a foundation model to describe
455
455
the contents of the document. It is particularly useful for improved processing of PDF files
456
-
with tables and images. To use this strategy, set the `parsingStrategy` in a data source as below.
456
+
with tables and images. To use this strategy, set the `parsingStrategy` in a data source as below.
457
+
For the list of supported models, please refer to the [documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html#knowledge-base-supported-parsing)
-**Bedrock Data Automation**: A fully-managed service that effectively processes multimodal data, without the need to provide any additional prompting. The cost of this parser depends on the number of pages in the document or number of images to be processed. Currently, only documents and images are supported, using standard output.
If the chosen parsing strategy fails to parse a file, the Amazon Bedrock default parser is used as a fallback.
488
+
489
+
> warning
490
+
> If you choose Amazon Bedrock Data Automation or foundation models as a parser, the method that you choose will be used to parse all .pdf files in your data source, even if the .pdf files contain only text. The default parser won’t be used to parse these .pdf files. Your account incurs charges for the use of Amazon Bedrock Data Automation or the foundation model in parsing these files.
491
+
474
492
For additional information regarding parsing, please refer to the [parsing documentation](https://docs.aws.amazon.com/bedrock/latest/userguide/kb-advanced-parsing.html)
`arn:${Aws.PARTITION}:bedrock:*:${Aws.ACCOUNT_ID}:data-automation-profile/us.data-automation-v1`,// see https://docs.aws.amazon.com/bedrock/latest/userguide/bda-cris.html
0 commit comments