runtime error

ython3.9/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/local/lib/python3.9/site-packages/torch/onnx/__init__.py", line 57, in <module> from ._internal.onnxruntime import ( File "/usr/local/lib/python3.9/site-packages/torch/onnx/_internal/onnxruntime.py", line 35, in <module> import onnxruntime # type: ignore[import] File "/usr/local/lib/python3.9/site-packages/onnxruntime/__init__.py", line 23, in <module> from onnxruntime.capi._pybind_state import ExecutionMode # noqa: F401 File "/usr/local/lib/python3.9/site-packages/onnxruntime/capi/_pybind_state.py", line 32, in <module> from .onnxruntime_pybind11_state import * # noqa AttributeError: _ARRAY_API not found Traceback (most recent call last): File "/code/code/modules/vector_db.py", line 225, in <module> vector_db.create_database() File "/code/code/modules/vector_db.py", line 164, in create_database self.initialize_database( File "/code/code/modules/vector_db.py", line 128, in initialize_database self.vector_db = FAISS.from_documents( File "/usr/local/lib/python3.9/site-packages/langchain_core/vectorstores.py", line 550, in from_documents return cls.from_texts(texts, embedding, metadatas=metadatas, **kwargs) File "/usr/local/lib/python3.9/site-packages/langchain_community/vectorstores/faiss.py", line 930, in from_texts embeddings = embedding.embed_documents(texts) File "/usr/local/lib/python3.9/site-packages/langchain_community/embeddings/huggingface.py", line 98, in embed_documents embeddings = self.client.encode( File "/usr/local/lib/python3.9/site-packages/sentence_transformers/SentenceTransformer.py", line 416, in encode all_embeddings = np.asarray([emb.numpy() for emb in all_embeddings]) File "/usr/local/lib/python3.9/site-packages/sentence_transformers/SentenceTransformer.py", line 416, in <listcomp> all_embeddings = np.asarray([emb.numpy() for emb in all_embeddings]) RuntimeError: Numpy is not available

Container logs:

Fetching error logs...