core[patch]: Add comment to clarify aadd_documents (#23920)

Add comment to clarify how add documents works
pull/23844/head
Eugene Yurtsev 3 months ago committed by GitHub
parent e0889384d9
commit 5b7d5f7729
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -507,7 +507,7 @@ class VectorStore(ABC):
else:
documents_ = documents
# If upsert has been implemented, we can use it to add documents
# The default implementation of aupsert delegates to upsert.
upsert_response = await self.aupsert(documents_, **kwargs)
return upsert_response["succeeded"]

Loading…
Cancel
Save