Skip to content

Is their any way to pull my vectors out of an index with the python client? #127

Closed

Description

@AndriyMulyar
No description provided.

Activity

  1. gdj0nes commented on Feb 1, 2023

    @gdj0nes
    Contributor

    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.

  2. AndriyMulyar commented on Feb 11, 2023

    @AndriyMulyar
    Author
  3. coyotespike commented on Feb 21, 2023

    @coyotespike

    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!

  4. AndriyMulyar commented on Feb 21, 2023

    @AndriyMulyar
    Author
  5. adri1wald commented on Mar 30, 2023

    @adri1wald
  6. philipk19238 commented on May 17, 2023

    @philipk19238

    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.

    100% need a way to fetch all the IDs from the DB.

  7. adri1wald commented on May 17, 2023

    @adri1wald

    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.

  8. daverigby commented on May 3, 2024

    @daverigby
    Contributor

    For serverless indexes you can use the new list and list_pagnated APIs as of client v3.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions