Find answers from the community

Updated 5 months ago

[Question]: exceeded call rate limit of ...

At a glance

The community member has a question about how to update their LlamaIndex Python module after making changes to the LlamaIndex code. They cloned the LlamaIndex repository and followed the installation instructions, but are unsure how to apply their code changes and use the updated LlamaIndex in their application.

In the comments, another community member suggests that when installing from source with pip install -e ., any changes made to the source code are immediately reflected. They also mention that the recommended poetry installation works in a similar way.

Another community member asks how to create a release file from the test code, and the response is that poetry build will generate the .whl file and a zipped build.

The original community member thanks the others for the guidance, and indicates that the suggested approach works well.

Useful resources
[Question - How to make new LlamaIndex after changing the LlamaIndex code? ]

Hi all,

I try to apply the below solution to solve rate limit issue.
https://github.com/run-llama/llama_index/issues/6398

My question is how to apply this change with my LlamaIndex Python module?
Do I need to build LlamaIndex code and install it to my python moudle to apply this change?

I clone the LlamaIndex code from https://github.com/run-llama/llama_index and follow this instraction. ( https://docs.llamaindex.ai/en/stable/getting_started/installation.html#installation-from-source )

But I dont' know now to apply my code change to apply and use the updated llamaindex with my code change in my application.

Would you please share how to develope Llamaindex with my code change to apply it?

thanks for your help.
L
Z
5 comments
When you install from source with pip install -e ., any changes that you make to the source code are immediately reflected the next time you run any tests. I think the poetry install recommended in the setup works in a similar way
Thanks @Logan M Do you know how to make release file from the test code?
poetry build will generate the .whl file and a zipped build
Thanks @Logan M Let me try it. πŸ™‚
Thanks so much your guide. It works well. πŸ™‚
Add a reply
Sign up and join the conversation on Discord