runtime error

Exit code: 1. Reason: ted. Please replace deprecated imports: >> from langchain.embeddings import HuggingFaceEmbeddings with new imports of: >> from langchain_community.embeddings import HuggingFaceEmbeddings You can use the langchain cli to **automatically** upgrade many imports. Please see documentation here <https://python.langchain.com/docs/versions/v0_2/> from langchain.embeddings import HuggingFaceEmbeddings /home/user/app/rss_processor.py:33: LangChainDeprecationWarning: The class `HuggingFaceEmbeddings` was deprecated in LangChain 0.2.2 and will be removed in 1.0. An updated version of the class exists in the :class:`~langchain-huggingface package and should be used instead. To use it run `pip install -U :class:`~langchain-huggingface` and import as `from :class:`~langchain_huggingface import HuggingFaceEmbeddings``. embedding_model = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2") Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/langchain_community/embeddings/huggingface.py", line 84, in __init__ import sentence_transformers ModuleNotFoundError: No module named 'sentence_transformers' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/user/app/app.py", line 4, in <module> from rss_processor import fetch_rss_feeds, process_and_store_articles, vector_db, download_from_hf_hub, upload_to_hf_hub, clean_text File "/home/user/app/rss_processor.py", line 33, in <module> embedding_model = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2") File "/usr/local/lib/python3.10/site-packages/langchain_core/_api/deprecation.py", line 224, in warn_if_direct_instance return wrapped(self, *args, **kwargs) File "/usr/local/lib/python3.10/site-packages/langchain_community/embeddings/huggingface.py", line 87, in __init__ raise ImportError( ImportError: Could not import sentence_transformers python package. Please install it with `pip install sentence-transformers`.

Container logs:

Fetching error logs...