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 3 months ago
0
Follow
#persist the nodes
#persist the nodes
Inactive
0
Follow
a
anupamaze
12 months ago
Β·
#persist the nodes
index.storage_context.persist()
....
load the persist nodes
index = load_index_from_storage(StorageContext.from_defaults(), service_context=service_context)
get nodes
nodes = index.docstore.docs
#use it further in your retriever
L
a
2 comments
Share
Open in Discord
L
Logan M
12 months ago
what line causes this error?
I think how you get nodes is incorrect
It should be
nodes = index.docstore.docs.values()
a
anupamaze
12 months ago
it worked thanks
Add a reply
Sign up and join the conversation on Discord
Join on Discord