@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / ParsingStrategy
Represents an advanced parsing strategy configuration for Knowledge Base ingestion.
https://docs.aws.amazon.com/bedrock/latest/userguide/kb-chunking-parsing.html#kb-advanced-parsing
new ParsingStrategy():
ParsingStrategy
ParsingStrategy
abstractconfiguration:ParsingConfigurationProperty
The CloudFormation property representation of this configuration
abstractgeneratePolicyStatements():PolicyStatement[]
PolicyStatement[]
staticbedrockDataAutomation():ParsingStrategy
Creates a Bedrock Data Automation-based parsing strategy for processing multimodal data. It leverages generative AI to automate the transformation of multi-modal data into structured formats. If the parsing fails, the Amazon Bedrock default parser is used instead.
ParsingStrategy
staticfoundationModel(props):ParsingStrategy
Creates a Foundation Model-based parsing strategy for extracting non-textual information from documents such as tables and charts.
FoundationModelParsingStrategyProps
ParsingStrategy
https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html#kb-ds-supported-doc-formats-limits