Run add_documents tests.
If this test fails, check that get_by_ids is implemented and returns
documents in the same order as the IDs passed in.
Check also that add_documents will correctly generate string IDs if
none are provided.
get_by_ids was added to the VectorStore interface in
langchain-core version 0.2.11. If difficult to implement, this
test can be skipped by setting the has_get_by_ids property to
False.
@property
def has_get_by_ids(self) -> bool:
return Falsetest_add_documents_documents(
self,
vectorstore: VectorStore,
) -> None