Find answers from the community

Updated 2 months ago

Hey Very important to me Is it possible

Hey! Very important to me: Is it possible to get a portion of the embeddings of an already built simple vector index?
L
A
4 comments
what do you mean by a portion of the embeddings? Can you give an example?
very hacky, but if you know the node_id (I think you can get this from response.source_nodes), you could do something like

index._index_struct.embeddings_dict[<node_id>]
Ok I change my question. I can merge two simple vector indices? Or can I take a portion of the json of a built index? Eg I have 1 big index, with data from 2023 and 2022. Can i split them in two indices?
I don't think there is a way to split or merge them once they've been built πŸ€” At least not easily. Maybe raise a github issue for this

Currently, the closest thing to merging is using composability and combining both vector indexes into a list index
Add a reply
Sign up and join the conversation on Discord