MongoDBAtlasVectorSearchLibArgs: {
    collection: Collection<MongoDBDocument>;
    embeddingKey?: string;
    indexName?: string;
    textKey?: string;
}

Type that defines the arguments required to initialize the MongoDBAtlasVectorSearch class. It includes the MongoDB collection, index name, text key, and embedding key.

Type declaration

  • Readonly collection: Collection<MongoDBDocument>
  • Optional Readonly embeddingKey?: string
  • Optional Readonly indexName?: string
  • Optional Readonly textKey?: string

Generated using TypeDoc