runtime error

deprecated imports: >> from langchain.embeddings import HuggingFaceBgeEmbeddings with new imports of: >> from langchain_community.embeddings import HuggingFaceBgeEmbeddings You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here https://python.langchain.com/v0.2/docs/versions/v0_2/ warn_deprecated( /app/env/lib/python3.9/site-packages/langchain/_api/module_import.py:92: LangChainDeprecationWarning: Importing FAISS from langchain.vectorstores is deprecated. Please replace deprecated imports: >> from langchain.vectorstores import FAISS with new imports of: >> from langchain_community.vectorstores import FAISS You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here https://python.langchain.com/v0.2/docs/versions/v0_2/ warn_deprecated( /app/env/lib/python3.9/site-packages/huggingface_hub/file_download.py:1132: FutureWarning: `resume_download` is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use `force_download=True`. warnings.warn( Traceback (most recent call last): File "/usr/local/lib/python3.9/pathlib.py", line 1323, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: 'vectorstores/db_faiss' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/ingest.py", line 30, in <module> create_vector_db() File "/app/ingest.py", line 27, in create_vector_db db.save_local(DB_FAISS_PATH) File "/app/env/lib/python3.9/site-packages/langchain_community/vectorstores/faiss.py", line 1043, in save_local path.mkdir(exist_ok=True, parents=True) File "/usr/local/lib/python3.9/pathlib.py", line 1327, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/usr/local/lib/python3.9/pathlib.py", line 1323, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: 'vectorstores'

Container logs:

Fetching error logs...