Interface CfnKnowledgeBasePropsMixin.RdsFieldMappingProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.RdsFieldMappingProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.RdsFieldMappingProperty
extends software.amazon.jsii.JsiiSerializable
Contains the names of the fields to which to map information about the vector store.
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.*;
RdsFieldMappingProperty rdsFieldMappingProperty = RdsFieldMappingProperty.builder()
.customMetadataField("customMetadataField")
.metadataField("metadataField")
.primaryKeyField("primaryKeyField")
.textField("textField")
.vectorField("vectorField")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKnowledgeBasePropsMixin.RdsFieldMappingPropertystatic final classAn implementation forCfnKnowledgeBasePropsMixin.RdsFieldMappingProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringProvide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.default StringThe name of the field in which Amazon Bedrock stores metadata about the vector store.default StringThe name of the field in which Amazon Bedrock stores the ID for each entry.default StringThe name of the field in which Amazon Bedrock stores the raw text from your data.default StringThe name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCustomMetadataField
Provide a name for the universal metadata field where Amazon Bedrock will store any custom metadata from your data source.- See Also:
-
getMetadataField
The name of the field in which Amazon Bedrock stores metadata about the vector store.- See Also:
-
getPrimaryKeyField
The name of the field in which Amazon Bedrock stores the ID for each entry.- See Also:
-
getTextField
The name of the field in which Amazon Bedrock stores the raw text from your data.The text is split according to the chunking strategy you choose.
- See Also:
-
getVectorField
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.- See Also:
-
builder
-