Interface CfnKnowledgeBase.ManagedKnowledgeBaseConfigurationProperty

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

@Stability(Stable) public static interface CfnKnowledgeBase.ManagedKnowledgeBaseConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Contains details about the model used to create vector embeddings for a managed knowledge base.

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.*;
 ManagedKnowledgeBaseConfigurationProperty managedKnowledgeBaseConfigurationProperty = ManagedKnowledgeBaseConfigurationProperty.builder()
         .embeddingModelArn("embeddingModelArn")
         // the properties below are optional
         .embeddingModelConfiguration(EmbeddingModelConfigurationProperty.builder()
                 .bedrockEmbeddingModelConfiguration(BedrockEmbeddingModelConfigurationProperty.builder()
                         .audio(List.of(AudioConfigurationProperty.builder()
                                 .segmentationConfiguration(AudioSegmentationConfigurationProperty.builder()
                                         .fixedLengthDuration(123)
                                         .build())
                                 .build()))
                         .dimensions(123)
                         .embeddingDataType("embeddingDataType")
                         .video(List.of(VideoConfigurationProperty.builder()
                                 .segmentationConfiguration(VideoSegmentationConfigurationProperty.builder()
                                         .fixedLengthDuration(123)
                                         .build())
                                 .build()))
                         .build())
                 .build())
         .embeddingModelType("embeddingModelType")
         .serverSideEncryptionConfiguration(ManagedKnowledgeBaseServerSideEncryptionConfigurationProperty.builder()
                 .kmsKeyArn("kmsKeyArn")
                 .build())
         .build();
 

See Also: