Find answers from the community

Updated 4 months ago

Streamlit demo

At a glance
Going to jump on the issue bandwagon. Trying to launch the Streamlit demo on Streamlit cloud but running into a dictionary issue:

File "/home/appuser/venv/lib/python3.10/site-packages/llama_index/docstore/registry.py", line 36, in load_docstore_from_dict

type = docstore_dict[TYPE_KEY]

KeyError: 'type'
L
E
9 comments
Which streamlit demo?
The streamlit_vector demo
I think you maybe have an older saved index.json, can you delete it and try running again?
I definitely could do. What is odd is it runs fine locally with the latest version of llamaindex.
I did rebuild the index after the update from a few days ago
Do you have the same llama index version locally where it works?

Around 0.5.9 I think there was a change that caused this
Has anyone told you they love you today? Because I am damn well close...

That was the exact issue, as soon as I unpinned my version it cropped up. I'll rebuild again. Thank you
Haha no worries πŸ˜„ good find!
And it works, thank you again!
Add a reply
Sign up and join the conversation on Discord