fix param name

This commit is contained in:
rayshaw001 2025-02-11 19:48:24 +08:00 committed by GitHub
parent 87f16fc9c9
commit 388691323d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -161,7 +161,7 @@ class Vector:
if i < max_batch_documents:
self._vector_processor.create(texts=batch_documents, embeddings=batch_embeddings, **kwargs)
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):
if kwargs.get("duplicate_check", False):