⚠️ Deprecated ⚠️

This feature is deprecated and will be removed in the future.

It is not recommended for use.

Install and import from the "@langchain/mongodb" integration package instead. 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

MongoDB collection to store the vectors.

Param

A Collections Index Name.

Param

Corresponds to the plaintext of 'pageContent'.

Param

Key to store the embedding under.

Param

The Key to use for upserting documents.

Hierarchy

  • Toolkit
    • MongoDBAtlasVectorSearchLibArgs

Properties

collection: Collection<Document>
embeddingKey?: string
indexName?: string
primaryKey?: string
textKey?: string

Generated using TypeDoc