For now I am using pinecone since 2 mounths and I really like it ! I saw in the doc that you can only fetch a maximum of 1000 vectors or metadata and it is only possible by IDs, but in my case I need (not often) to get all the vectors from a namespace for doing my own math… There is another possibility where I create a collection every time I want that (but it wil create a collection for every namespaces), or I duplicate on another third party my vectors, but it is really not optimised and it can led to errors and stuffs…
We are working on a brand new architecture which will have many more import/export features over the next several months. We are aware of this kind of request from customers and are developing solutions as we speak.
However, this functionality is not available today/yet.
@kbutler will these updates also allow users to fetch all the data in an index to see what exists? The challenge I’m finding is not knowing what’s in my indexes
// Get all the vectors from the vector store
const allVectorsRequest = {
topK: 10000,
vector: new Array(1536).fill(0),
namespace: namespace,
includeMetadata: true,
includeValues: false,
};
const queryResponse = await pineconeIndex.query({
queryRequest: allVectorsRequest,
});
The function works, but Pinecone should implement a cleaner way of incorporating it into their API.