Interface CfnKnowledgeBase.ParsingConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnKnowledgeBase.ParsingConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnKnowledgeBase

@Stability(Stable) public static interface CfnKnowledgeBase.ParsingConfigurationProperty extends software.amazon.jsii.JsiiSerializable
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.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.wisdom.*;
 ParsingConfigurationProperty parsingConfigurationProperty = ParsingConfigurationProperty.builder()
         .parsingStrategy("parsingStrategy")
         // the properties below are optional
         .bedrockFoundationModelConfiguration(BedrockFoundationModelConfigurationProperty.builder()
                 .modelArn("modelArn")
                 // the properties below are optional
                 .parsingPrompt(ParsingPromptProperty.builder()
                         .parsingPromptText("parsingPromptText")
                         .build())
                 .build())
         .build();
 

See Also: