Find answers from the community

Updated 2 years ago

Key load errors

Hey guys! I noticed that when there are llama-index updates, the following error is pretty common when trying to query an index:
Plain Text
KeyError: '__type__'[ERROR] KeyError: '__type__'
...
File "/home/app/llama_index/docstore/registry.py", line 36, in load_docstore_from_dict     type = docstore_dict[TYPE_KEY]

The only way I know of to fix it is to rebuild the index. Is there another way to address the issue?

The error happens when I call GPTSimpleVectorIndex.load_from_string(b, service_context=service_context)
L
1 comment
I think this shouldn't technically happen too often. Just a few unlucky changes lately 🫠😞
Add a reply
Sign up and join the conversation on Discord