ParsingConfigurationDict¶
Dictionary Type¶
ParsingConfigurationDict
¶
Bases: TypedDict
Dictionary form of ParsingConfiguration.
Attributes¶
bedrock_data_automation_configuration
instance-attribute
¶
bedrock_data_automation_configuration: BedrockDataAutomationConfiguration | BedrockDataAutomationConfigurationDict | None
If you specify BEDROCK_DATA_AUTOMATION as the parsing strategy for
ingesting your data source, use this object to modify configurations for
using the Amazon Bedrock Data Automation parser.
bedrock_foundation_model_configuration
instance-attribute
¶
bedrock_foundation_model_configuration: BedrockFoundationModelConfiguration | BedrockFoundationModelConfigurationDict | None
If you specify BEDROCK_FOUNDATION_MODEL as the parsing strategy for
ingesting your data source, use this object to modify configurations for
using a foundation model to parse documents.
parsing_strategy
instance-attribute
¶
The parsing strategy for the data source.
For managed knowledge bases, the strategy that you can select depends on the embedding model that your knowledge base uses:
-
If your knowledge base uses a native multimodal embedding model, specify
MULTI_MODAL_EMBEDDINGS. With this strategy, files are sent directly to the embedding model instead of being parsed into text. This is the only strategy that is supported for these knowledge bases. -
Otherwise, specify
SMART_PARSING.
For more information, see Customize ingestion for managed knowledge bases.