Find answers from the community

Updated 6 months ago

Hello I am just trying out the first

At a glance

The community member is trying to run a starter tutorial for the llama-index library, but the model is being downloaded to a temporary directory that gets erased on reboot. They moved the model file, but couldn't find information in the llama-index documentation on how to set the path to the model. Another community member provided the answer, suggesting that the path is set by the environment variable LLAMA_INDEX_CACHE_DIR. The original community member confirmed that this solution worked.

Hello, I am just trying out the first starter tutorial. I have it running correct, but model downloads into /tmp/llama-index/models which gets erased on reboot. I moved the model file; I cant find anywhere in llama-index docs how to set the path to the model
L
Z
3 comments
the path is set by the env var LLAMA_INDEX_CACHE_DIR
Thanks! I will try that
This worked! ty
Add a reply
Sign up and join the conversation on Discord