@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / CustomDataSourceAssociationProps
Interface to add a new CustomDataSource to an existing KB
readonlyoptionalchunkingStrategy:ChunkingStrategy
The chunking stategy to use for splitting your documents or content. The chunks are then converted to embeddings and written to the vector index allowing for similarity search and retrieval of the content.
ChunkingStrategy.DEFAULT
DataSourceAssociationProps.chunkingStrategy
readonlyoptionalcontextEnrichment:ContextEnrichment
The context enrichment configuration to use.
- No context enrichment is used.
DataSourceAssociationProps.contextEnrichment
readonlyoptionalcustomTransformation:CustomTransformation
The custom transformation strategy to use.
- No custom transformation is used.
DataSourceAssociationProps.customTransformation
readonlyoptionaldataDeletionPolicy:DataDeletionPolicy
The data deletion policy to apply to the data source.
- Sets the data deletion policy to the default of the data source type.
DataSourceAssociationProps.dataDeletionPolicy
readonlyoptionaldataSourceName:string
The name of the data source.
- A new name will be generated.
DataSourceAssociationProps.dataSourceName
readonlyoptionaldescription:string
A description of the data source.
- No description is provided.
DataSourceAssociationProps.description
readonlyoptionalkmsKey:IKey
The KMS key to use to encrypt the data source.
- Service owned and managed key.
DataSourceAssociationProps.kmsKey
readonlyoptionalparsingStrategy:ParsingStrategy
The parsing strategy to use.
- No Parsing Stategy is used.