from llama_index.embeddings.openai import OpenAIEmbedding
[ERROR] OSError: [Errno 30] Read-only file system: '/var/task/llama_index/core/_static/nltk_cache/corpora' Traceback (most recent call last): File "/var/lang/lib/python3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load ...
nltk
to the requirements.txt
for my container, and it appears not to force download when calling from llama_index.embeddings.openai import OpenAIEmbedding
.openai >= 1.2.3 llama-index-llms-openai == 0.1.1 llama-index-embeddings-openai llama-index-core == 0.10.5 llama-index-vector-stores-opensearch == 0.1.2 opensearch-py nltk
llama-index
and llama-index-core
in this requirements.txt file??llama-index
includes things needed to get started quickly. It has similar requirements to the old llama-index
package.llama-index-core
is more barebones, with no included integrations