Type that defines the arguments required to initialize the MongoDBAtlasVectorSearch class. It includes the MongoDB collection, index name, text key, embedding key, primary key, and overwrite flag.
MongoDB collection to store the vectors.
A Collections Index Name.
Corresponds to the plaintext of 'pageContent'.
Key to store the embedding under.
The Key to use for upserting documents.
Readonly
Optional
Type that defines the arguments required to initialize the MongoDBAtlasVectorSearch class. It includes the MongoDB collection, index name, text key, embedding key, primary key, and overwrite flag.
Param: collection
MongoDB collection to store the vectors.
Param: indexName
A Collections Index Name.
Param: textKey
Corresponds to the plaintext of 'pageContent'.
Param: embeddingKey
Key to store the embedding under.
Param: primaryKey
The Key to use for upserting documents.