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
#persist the nodes
#persist the nodes
Inactive
0
Follow
a
anupamaze
11 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
11 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
11 months ago
it worked thanks
Add a reply
Sign up and join the conversation on Discord
Join on Discord