Find answers from the community

Updated 2 months ago

VectorStoreIndex

Hi I'm not sure why I'm getting this error when I try to import VectorStoreIndex?
Attachment
Screenshot_2023-12-07_at_1.06.13_PM.png
W
e
L
15 comments
What is the version that you are trying with?
The latest version
Just tried running on colab, worked for me fine!
Could you try killing the current session and run again
Yeah I tried to restart my kernel several times but still same error. I'm using the Google Vertex AI notebook btw, with python: 3.10.12
Oh I see that LlamaIndex PyPi's page that it requires 3.8.1 and higher could that be the issue?
No I don't think so
Can you. Check openai version?
With latest installation, openai version for me is 1.3.7
Yes I've upgraded OpenAI version to 1.3.7 as well but it's still outputting the same error. I'm using the Colab now and it's working fine as well for me
I'm not sure why Vertex AI doesn't seem to work
The error above is coming from the gaurdrails package
my guess is gaurdrails is not supporting the latest openai client
I see, but why does it work on Colab?
Ok I just remembered that I installled guardrails a long time ago in the VertexAI notebook so after uninstalling it, it now works. Sorry about that! And thank you for helping!
Add a reply
Sign up and join the conversation on Discord