Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
๐
๐
๐
Powered by
Hall
Inactive
Updated 2 months ago
0
Follow
Hi, how do I see the embeddings that are
Hi, how do I see the embeddings that are
Inactive
0
Follow
d
dhiraj
12 months ago
ยท
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
L
d
4 comments
Share
Open in Discord
L
Logan M
12 months ago
embeddings are stored in the vector store.
index.vector_store._data.embedding_dict
is a dict mapping node node_ids -> embedding vectors
d
dhiraj
12 months ago
Thanks @Logan M.
d
dhiraj
12 months ago
However the
index.index_struct.nodes_dict
seems to store the mapping between node ids to itself. This made things confusing.
L
Logan M
12 months ago
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
Join on Discord