You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Is their any way to pull my vectors out of an index with the python client? #127
We don't have a bulk export functionality today. Can you describe a bit more how often you would want to do these exports and how large the underlying indexes are.
I have a vector visualization tool that I want to use to visualize my
embeddings in pinecone. I precondition is that I can extract all vectors
I've added to my pinecone instance so I can load them into the
visualization tool.
I have the same question, for the same purpose. Currently I am getting the index statistics and then using the number of entries to guess at the ids, and do a fetch that way. Clearly this is not ideal, as I assume ids may change if an item is deleted!
On Tue, Feb 21, 2023, 5:24 PM coyotespike ***@***.***> wrote:
I have the same question, for the same purpose. Currently I am getting the
index statistics and then using the number of entries to guess at the ids,
and do a fetch that way. Clearly this is not ideal, as I assume ids may
change if an item is deleted!
—
Reply to this email directly, view it on GitHub
<#127 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADJ4TBTXHNBNKDDJR46YSALWYU6DRANCNFSM6AAAAAAUMX4Z4Y>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
We don't have a bulk export functionality today. Can you describe a bit more how often you would want to do these exports and how large the underlying indexes are.
I have a batch job daily that updates the vectors I store. Right now I'm using a very hacky solution by making dummy requests ([0] * 1536) and getting top_k of my index size.
Agreed, especially important as you make schema changes to the data stored in pinecone. Right now we have to recompute all the embeddings, which is slow and expensive. What I would prefer is being able to bulk export all the data, apply the necessary transforms, and then put it back in the same or a different index.
Activity
gdj0nes commentedon Feb 1, 2023
We don't have a bulk export functionality today. Can you describe a bit more how often you would want to do these exports and how large the underlying indexes are.
edoliberty commentedon Feb 11, 2023
Do you mean something like fetch?
https://github.com/pinecone-io/pinecone-python-client/blob/f9c7c2c6375e3e315fb8a894b10f9ddc022e1ae3/pinecone/index.py#L216
https://docs.pinecone.io/reference/fetch
AndriyMulyar commentedon Feb 11, 2023
coyotespike commentedon Feb 21, 2023
I have the same question, for the same purpose. Currently I am getting the index statistics and then using the number of entries to guess at the ids, and do a fetch that way. Clearly this is not ideal, as I assume ids may change if an item is deleted!
AndriyMulyar commentedon Feb 21, 2023
adri1wald commentedon Mar 30, 2023
Haystack has a pretty funky approach to this: https://github.com/deepset-ai/haystack/blob/main/haystack/document_stores/pinecone.py#L549-L606
philipk19238 commentedon May 17, 2023
I have a batch job daily that updates the vectors I store. Right now I'm using a very hacky solution by making dummy requests ([0] * 1536) and getting top_k of my index size.
100% need a way to fetch all the IDs from the DB.
adri1wald commentedon May 17, 2023
Agreed, especially important as you make schema changes to the data stored in pinecone. Right now we have to recompute all the embeddings, which is slow and expensive. What I would prefer is being able to bulk export all the data, apply the necessary transforms, and then put it back in the same or a different index.
daverigby commentedon May 3, 2024
For serverless indexes you can use the new
listandlist_pagnatedAPIs as of client v3.1.0.feat(assistant)!: one ASSISTANT_API_VERSION at 2026-07 (pinecone-io#93)…
feat(assistant)!: 2026-07 chat/chat_completions/context conformance (p…
test(assistant): pin the async chat/context surface to 2026-07 (pinec…