Find answers from the community

Updated 2 years ago

Loading indexz

At a glance
Here is the document data, not the json vector data. What I mean is, I have already generated the json file, and I just want to collect the json file for search. I don’t know if I didn’t express it clearly, but thank you for your patience.
L
1 comment
So, you can load a single index like this

index = GPTSimpleVectorIndex.load_from_disk("index.json", service_context=service_context)

(The service context is optional)

If you have multiple saved indexes and want to query them all at the same time, you'll have to follow the docs that the other user shared earlier
Add a reply
Sign up and join the conversation on Discord