

# ParsingConfiguration


Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.

## Contents


 ** parsingStrategy **   <a name="connect-Type-amazon-q-connect_ParsingConfiguration-parsingStrategy"></a>
The parsing strategy for the data source.  
Type: String  
Valid Values: `BEDROCK_FOUNDATION_MODEL`   
Required: Yes

 ** bedrockFoundationModelConfiguration **   <a name="connect-Type-amazon-q-connect_ParsingConfiguration-bedrockFoundationModelConfiguration"></a>
Settings for a foundation model used to parse documents for a data source.  
Type: [BedrockFoundationModelConfigurationForParsing](API_amazon-q-connect_BedrockFoundationModelConfigurationForParsing.md) object  
Required: No

## See Also


For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/qconnect-2020-10-19/ParsingConfiguration) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/qconnect-2020-10-19/ParsingConfiguration) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/qconnect-2020-10-19/ParsingConfiguration) 