Find answers from the community

Updated 12 months ago

Is the `poetry.lock` correctly updated?

Is the poetry.lock correctly updated? It lists the openai dependency as openai = ">=0.27.8" while pyproject.toml lists it as openai = ">=1.1.0"
L
2 comments
I think you need to check where you look.

I see openai = ">=0.27.8" listed under the deps for guidenace in our poetry.lock

The actual listing in the poetry.lock for openai is here
https://github.com/run-llama/llama_index/blob/8fbaf0df2f4aceb84b26056231490aae0b083d9c/poetry.lock#L3805
And this makes sense. When you install llama-index, it will install the proper version of openai. If you try to install openai<1.0, after installing llama-index, pip will complain
Add a reply
Sign up and join the conversation on Discord