Find answers from the community

Updated 9 months ago

hi. 0.10.0 has been really bad for me

hi. 0.10.0 has been really bad for me because the docs are inconsistent and the module imports are all wrong in the docs. Is this getting fixed? Should I submit PRs to fix the import paths in the docs?

Also, is there a way to access the docs for the 0.9.x releases ? I tried https://docs.llamaindex.ai/en/0.9.46 and https://docs.llamaindex.ai/en/v0.9.46 but that doesn't work.
1
W
L
n
13 comments
Hey do you mind showing what imports are faailing, maybe I can help
Also do share the docs where importsare not mentioned correctly.
If you had 0.9.x installed previously please create a fresh env and and then do pip install llama-index
Yea as far as I know, all docs are updated. Happy to fix anything though

You can see older versions of the docs by clicking the read-the-docs logo on the bottom right and selecting a version (I have no idea how it picks versions to save)
https://docs.llamaindex.ai/en/v0.9.15.post2/
I think MockLLM in the docs was wrong IIRC
Try it. I had to import from core.llms.mock because init.py doesn’t mention it
Yeah its not present in the init file 🙏
You can access it like this though if you want to right now:
from llama_index.core.llms.mock import MockLLM

Also if you want you can raise the PR, adding this into init file
Yea, we should add it to the init lol
Added in my current pr 😅
Many pages I was looking at were wrong. Like, the pinecone vector store page, the chroma vector store page, etc. I worked around the problem temporarily by reverting my code to 0.9.x. Looking at the docs, things seem consistent now 🤷‍♂️ . Not sure why things were wrong before. Maybe my browser had cached the wrong old pages and refreshed them since then?? Sorry for any confusion
Add a reply
Sign up and join the conversation on Discord