We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2e5671 commit c17603bCopy full SHA for c17603b
libs/langchain-mongodb/langchain_mongodb/vectorstores.py
@@ -451,7 +451,14 @@ def add_documents(
451
)
452
result_ids.extend(
453
bulk_embed_and_insert_texts(
454
- texts=texts, metadatas=metadatas, ids=ids[start:end]
+ embedding_model=self._embedding,
455
+ collection=self._collection,
456
+ text_key=self._text_key,
457
+ embedding_key=self._embedding_key,
458
+ metadata_key=self._metadata_key,
459
+ texts=texts,
460
+ metadatas=metadatas,
461
+ ids=ids[start:end],
462
463
464
start = end
0 commit comments