Find answers from the community

Updated 4 months ago

llama_index/llama-index-core/llama_index...

Recently I am getting this error for llama-index when it is used aws lambda.

The error is happening mainly due to punkt_download
After going through the llamaindex code, the error is happening due to this following dld
https://github.com/run-llama/llama_index/blob/main/llama-index-core/llama_index/core/utils.py
Attachment
image.png
L
S
12 comments
punkt_tab is bundled with the wheel, and the code is already setup to look for it
what version of llama-index are you using?
I am using llamaindex0.11. If it is bundled to look for it, it is causing error to run in AWS lambdas
0.11.what though? 0.11.0? 0.11.1? There was some bug in the initial 0.11 versions for this
llama-index-core==0.11.5 should be working fine
I have 0.11.2
Should we upgrade to 0.11.5
Hey @Logan M was this something introduced in the latest llamaindex version v0.11 or It was there in the earlier version too?
Because we have been using llamaindex in aws lambda for quite a long time. We haven't faced this error.
nltk had a CVE, and there was some nonsense while nltk was fixing that
Add a reply
Sign up and join the conversation on Discord