Interface CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.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.cfnpropertymixins.services.bedrock.*;
VectorKnowledgeBaseConfigurationProperty vectorKnowledgeBaseConfigurationProperty = VectorKnowledgeBaseConfigurationProperty.builder()
.embeddingModelArn("embeddingModelArn")
.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())
.supplementalDataStorageConfiguration(SupplementalDataStorageConfigurationProperty.builder()
.supplementalDataStorageLocations(List.of(SupplementalDataStorageLocationProperty.builder()
.s3Location(S3LocationProperty.builder()
.uri("uri")
.build())
.supplementalDataStorageLocationType("supplementalDataStorageLocationType")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.default ObjectThe embeddings model configuration details for the vector model used in Knowledge Base.default ObjectIf you include multimodal data from your data source, use this object to specify configurations for the storage location of the images extracted from your documents.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.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.EmbeddingModelConfigurationProperty- See Also:
-
getSupplementalDataStorageConfiguration
If you include multimodal data from your data source, use this object to specify configurations for the storage location of the images extracted from your documents.These images can be retrieved and returned to the end user. They can also be used in generation when using RetrieveAndGenerate .
Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.SupplementalDataStorageConfigurationProperty- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBasePropsMixin.VectorKnowledgeBaseConfigurationProperty.Builder builder()
-