Interface CfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBase
@Stability(Stable)
public static interface CfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains details about the model used to create vector embeddings for the 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.*;
VectorKnowledgeBaseConfigurationProperty vectorKnowledgeBaseConfigurationProperty = VectorKnowledgeBaseConfigurationProperty.builder()
.embeddingModelArn("embeddingModelArn")
// the properties below are optional
.embeddingModelConfiguration(EmbeddingModelConfigurationProperty.builder()
.bedrockEmbeddingModelConfiguration(BedrockEmbeddingModelConfigurationProperty.builder()
.dimensions(123)
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEmbeddingModelArn
The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.- See Also:
-
getEmbeddingModelConfiguration
The embeddings model configuration details for the vector model used in Knowledge Base.- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBase.VectorKnowledgeBaseConfigurationProperty.Builder builder()
-