----------------------
To see how many documents you have added to a Property Graph Index, you can use the
count_documents
method if you are using MongoDB as your vector store, or the
count
method if you are using BagelIndex. Here are examples of how to use these methods:
If you are using MongoDB:
print(store._collection.count_documents({}))
Source ()
If you are using BagelIndex:
print("Count of documents:", cluster.count())
Source ()
Please replace
store
and
cluster
with your actual instances.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------