Type alias MongoDBAtlasVectorSearchLibArgs
MongoDBAtlasVectorSearchLibArgs: {
collection: Collection<MongoDBDocument>;
embeddingKey?: string;
indexName?: string;
textKey?: string;
}
Type declaration
-
Readonly
collection: Collection<MongoDBDocument>
-
Optional
Readonly
embeddingKey?: string
-
Optional
Readonly
indexName?: string
-
Optional
Readonly
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.