-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'Document' from 'llama_index' (unknown location) #152
Comments
Hey, what version of |
@bclavie LlamaIndex maintainer here -- v0.10.x is a bit of a breaking change in terms of imports. Let me know if you need a hand with handling any migration :) |
Hey @logan-markewich, thanks a lot! I think all we're really using right now is the document splitter & the |
Probably just need a try except
That should work for both v0.10.x and older versions |
Thanks! Fixed in #155 (0.0.7post5) |
Hi, I'm encountering the same issue with the error: |
Hi @RibinMTC , I too faced similar issue. Here's how i fixed it
|
Yea, either that or starting with a fresh venv is probably the ideal solution here |
For me I just had to make sure |
Now the error looks like this -
Just adding it so people searching it will be able to find this thread. Also, to get it working, I changed ( in the package ) i.e From : To:
|
Still running into the See this PR: #227 |
https://github.com/bclavie/RAGatouille/blob/main/ragatouille/data/preprocessors.py
The text was updated successfully, but these errors were encountered: