Interface CfnDataSource.VectorIngestionConfigurationProperty

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

@Stability(Stable) public static interface CfnDataSource.VectorIngestionConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Contains details about how to ingest the documents in a data source.

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.bedrock.*;
 VectorIngestionConfigurationProperty vectorIngestionConfigurationProperty = VectorIngestionConfigurationProperty.builder()
         .chunkingConfiguration(ChunkingConfigurationProperty.builder()
                 .chunkingStrategy("chunkingStrategy")
                 // the properties below are optional
                 .fixedSizeChunkingConfiguration(FixedSizeChunkingConfigurationProperty.builder()
                         .maxTokens(123)
                         .overlapPercentage(123)
                         .build())
                 .hierarchicalChunkingConfiguration(HierarchicalChunkingConfigurationProperty.builder()
                         .levelConfigurations(List.of(HierarchicalChunkingLevelConfigurationProperty.builder()
                                 .maxTokens(123)
                                 .build()))
                         .overlapTokens(123)
                         .build())
                 .semanticChunkingConfiguration(SemanticChunkingConfigurationProperty.builder()
                         .breakpointPercentileThreshold(123)
                         .bufferSize(123)
                         .maxTokens(123)
                         .build())
                 .build())
         .customTransformationConfiguration(CustomTransformationConfigurationProperty.builder()
                 .intermediateStorage(IntermediateStorageProperty.builder()
                         .s3Location(S3LocationProperty.builder()
                                 .uri("uri")
                                 .build())
                         .build())
                 .transformations(List.of(TransformationProperty.builder()
                         .stepToApply("stepToApply")
                         .transformationFunction(TransformationFunctionProperty.builder()
                                 .transformationLambdaConfiguration(TransformationLambdaConfigurationProperty.builder()
                                         .lambdaArn("lambdaArn")
                                         .build())
                                 .build())
                         .build()))
                 .build())
         .parsingConfiguration(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())
         .build();
 

See Also: