Interface CfnKnowledgeBase.KnowledgeBaseConfigurationProperty

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

@Stability(Stable) public static interface CfnKnowledgeBase.KnowledgeBaseConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Configurations to apply to a knowledge base attached to the agent during query.

For more information, see Knowledge base retrieval configurations .

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.*;
 KnowledgeBaseConfigurationProperty knowledgeBaseConfigurationProperty = KnowledgeBaseConfigurationProperty.builder()
         .type("type")
         // the properties below are optional
         .kendraKnowledgeBaseConfiguration(KendraKnowledgeBaseConfigurationProperty.builder()
                 .kendraIndexArn("kendraIndexArn")
                 .build())
         .vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfigurationProperty.builder()
                 .embeddingModelArn("embeddingModelArn")
                 // the properties below are optional
                 .embeddingModelConfiguration(EmbeddingModelConfigurationProperty.builder()
                         .bedrockEmbeddingModelConfiguration(BedrockEmbeddingModelConfigurationProperty.builder()
                                 .dimensions(123)
                                 .build())
                         .build())
                 .supplementalDataStorageConfiguration(SupplementalDataStorageConfigurationProperty.builder()
                         .supplementalDataStorageLocations(List.of(SupplementalDataStorageLocationProperty.builder()
                                 .supplementalDataStorageLocationType("supplementalDataStorageLocationType")
                                 // the properties below are optional
                                 .s3Location(S3LocationProperty.builder()
                                         .uri("uri")
                                         .build())
                                 .build()))
                         .build())
                 .build())
         .build();
 

See Also: