Find answers from the community

Updated 2 months ago

Hi, how do I see the embeddings that are

Hi, how do I see the embeddings that are generated by the VectorStoreIndex for each of the nodes?
When I iterate over the nodes of the index, I find that the TextNode object has embeddings=None.
Now, I am wondering where the embeddings are stored.
Attachment
285792449-48da80d5-4fcc-4d52-a8e7-731e2091ce54.png
L
d
4 comments
embeddings are stored in the vector store.

index.vector_store._data.embedding_dict is a dict mapping node node_ids -> embedding vectors
Thanks @Logan M.
However the index.index_struct.nodes_dict seems to store the mapping between node ids to itself. This made things confusing.
Yea it used to be a mapping of different ids, bit really it just just be a list now instead of dict.
Add a reply
Sign up and join the conversation on Discord