Total number of documents in VectorStore #32378
lorenzo-park
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think it would be nice if we provide the total number of documents embedded in VectorStore.
In my use case, I need to get the total number of documents from loaded InMemoryVectorStore from pickle file, which I don't have the access to the full documents from original source, but pickle file. I could read and count the number of dictionary from the dumped file, but we can support len method in VectorStore.
I will make a PR if you think it is good to go.
Beta Was this translation helpful? Give feedback.
All reactions