fix param name
This commit is contained in:
parent
87f16fc9c9
commit
388691323d
@ -161,7 +161,7 @@ class Vector:
|
|||||||
if i < max_batch_documents:
|
if i < max_batch_documents:
|
||||||
self._vector_processor.create(texts=batch_documents, embeddings=batch_embeddings, **kwargs)
|
self._vector_processor.create(texts=batch_documents, embeddings=batch_embeddings, **kwargs)
|
||||||
else:
|
else:
|
||||||
self._vector_processor.add_texts(texts=batch_documents, embeddings=batch_embeddings, **kwargs)
|
self._vector_processor.add_texts(documents=batch_documents, embeddings=batch_embeddings, **kwargs)
|
||||||
|
|
||||||
def add_texts(self, documents: list[Document], **kwargs):
|
def add_texts(self, documents: list[Document], **kwargs):
|
||||||
if kwargs.get("duplicate_check", False):
|
if kwargs.get("duplicate_check", False):
|
||||||
|
Loading…
Reference in New Issue
Block a user