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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnKnowledgeBase.ParsingConfigurationProperty
static final class
An implementation forCfnKnowledgeBase.ParsingConfigurationProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getParsingStrategy
The parsing strategy for the data source.- See Also:
-
getBedrockFoundationModelConfiguration
Settings for a foundation model used to parse documents for a data source.- See Also:
-
builder
-