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 11 months ago
0
Follow
Hi - I want to get all nodes from my
Hi - I want to get all nodes from my
Inactive
0
Follow
H
Harrison
11 months ago
Β·
Hi - I want to get all nodes from my index, just in their raw format so I can log node_id and corresponding text for later evaluation
GPTVectorStoreIndex.from_vector_store
How do I do this?
W
H
4 comments
Share
Open in Discord
W
WhiteFang_Jr
11 months ago
Are you using third party vector_store? If not then you can fetch all the nodes from Docstore like:
nodes = index.docstore.docs
H
Harrison
11 months ago
Ah yes, I am using Chroma!
W
WhiteFang_Jr
11 months ago
Chroma does not provide the way to extract nodes in their Vector Store code:
https://github.com/run-llama/llama_index/blob/main/llama_index/vector_stores/chroma.py
But if you are ingesting for the first time then it can be extracted like this
H
Harrison
11 months ago
ok great thank you
Add a reply
Sign up and join the conversation on Discord
Join on Discord