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:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnKnowledgeBase.KnowledgeBaseConfigurationProperty
static final class
An implementation forCfnKnowledgeBase.KnowledgeBaseConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Settings for an Amazon Kendra knowledge base.getType()
The type of data that the data source is converted into for the knowledge base.default Object
Contains details about the model that's used to convert the data source into vector embeddings.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of data that the data source is converted into for the knowledge base.- See Also:
-
getKendraKnowledgeBaseConfiguration
Settings for an Amazon Kendra knowledge base.- See Also:
-
getVectorKnowledgeBaseConfiguration
Contains details about the model that's used to convert the data source into vector embeddings.- See Also:
-
builder
-