Find answers from the community

Updated 6 months ago

so after the recent llama-index refactor

At a glance

The community member is experiencing an issue after a refactor of the llama-index library, where they are getting an error that llama_index.llms.gemini does not exist. They are unsure how they are supposed to know that they need the separate package llama-index-llms-gemini, and how they are supposed to keep all of these packages updated.

In the comments, another community member suggests using a package manager like Poetry to manage the dependencies. Another community member advises against randomly updating packages, and instead recommends locking to specific versions to avoid breaking code.

so after the recent llama-index refactor, ill get an error like 'llama_index.llms.gemini' does not exist. How am i supposed to know that i need the separate package llama-index-llms-gemini? How am i supposed to keep all of these updated?
L
2 comments
Right, its an individual package

I would use a package manager like poetry
Really, you don't want to be randomly updating your packages unless you need to -- I typically lock to specific versions to avoid breaking code
Add a reply
Sign up and join the conversation on Discord