Find answers from the community

Updated 2 months ago

Is anyone else having issues with the

Is anyone else having issues with the cli tool to upgrade your imports to v0.10+ ?

It runs fine, no errors, I get the following output:
Plain Text
(.venv) @no-dice-io ➜ /workspaces/koda-retriever (main) $ llamaindex-cli upgrade .
Module not found: VectorStoreQueryMode
Switching to core
Module not found: BaseNodePostprocessor
Switching to core
Module not found: QueryType
Switching to core
Module not found: Settings
Switching to core
New installs:
pip install llama-index-llms-openai
pip install llama-index-vector-stores-pinecone
pip install llama-index-embeddings-openai


But none of the imports have actually changed. Am I not using this tool correctly? I did reinstall my .venv with the new imports above
L
n
6 comments
wait, none of the imports changed? πŸ˜… thats kind of sus. It does in-place overwrites
what if you give an actual path instead of . ?

Or use llamaindex-cli upgrade-file <filename> ?
Alright well, I think I was just an idiot because now all my tests are passing so it must've updated the imports without me noticing and I saved
Because we're all good now - apologies, false alarm
lol phew, nice
(glad it worked first try!)
Add a reply
Sign up and join the conversation on Discord