generative-ai-cdk-constructs

@cdklabs/generative-ai-cdk-constructs


@cdklabs/generative-ai-cdk-constructs / mongodbAtlas / MongoDBAtlasVectorStore

Class: MongoDBAtlasVectorStore

Construct for MongoDB Atlas vector store

Constructors

Constructor

new MongoDBAtlasVectorStore(props): MongoDBAtlasVectorStore

Creates a new instance of the MongoDBAtlas class

Parameters

props

MongoDBAtlasVectorStoreProps

The properties for the MongoDB Atlas vector store

Returns

MongoDBAtlasVectorStore

Properties

collectionName

readonly collectionName: string

The name of the collection


credentialsSecretArn

readonly credentialsSecretArn: string

The ARN of the secret containing MongoDB Atlas credentials


databaseName

readonly databaseName: string

The name of the database


endpoint

readonly endpoint: string

The endpoint URL for MongoDB Atlas


endpointServiceName

readonly endpointServiceName: string

The name of the endpoint service


fieldMapping

readonly fieldMapping: MongoDbAtlasFieldMapping

The field mapping for MongoDB Atlas


vectorIndexName

readonly vectorIndexName: string

The name of the vector index