interface MongoDbAtlasFieldMappingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnKnowledgeBasePropsMixin_MongoDbAtlasFieldMappingProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnKnowledgeBasePropsMixin » MongoDbAtlasFieldMappingProperty |
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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const mongoDbAtlasFieldMappingProperty: bedrock_mixins.CfnKnowledgeBasePropsMixin.MongoDbAtlasFieldMappingProperty = {
metadataField: 'metadataField',
textField: 'textField',
vectorField: 'vectorField',
};
Properties
| Name | Type | Description |
|---|---|---|
| metadata | string | The name of the field in which Amazon Bedrock stores metadata about the vector store. |
| text | string | The name of the field in which Amazon Bedrock stores the raw text from your data. |
| vector | string | The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. |
metadataField?
Type:
string
(optional)
The name of the field in which Amazon Bedrock stores metadata about the vector store.
textField?
Type:
string
(optional)
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.
vectorField?
Type:
string
(optional)
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.

.NET
Go
Java
Python
TypeScript