-
Notifications
You must be signed in to change notification settings - Fork 201
Closed
Labels
Description
Priority
P3-Medium
OS type
Ubuntu
Hardware type
Xeon-GNR
Installation method
- Pull docker images from hub.docker.com
- Build docker images from source
- Other
Deploy method
- Docker
- Docker Compose
- Kubernetes Helm Charts
- Other
Running nodes
Single Node
What's the version?
docker image latest tag
Description
There are deprecation warnings in logs service logs
data-prep
Reproduce steps
Start ChatQnA and check data-prep logs
docker compose up -d
Raw log
/usr/local/lib/python3.11/site-packages/langchain/__init__.py:30: UserWarning: Importing LLMChain from langchain root module is no longer supported. Please use langchain.chains.LLMChain instead.
warnings.warn(
/usr/local/lib/python3.11/site-packages/langchain/__init__.py:30: UserWarning: Importing PromptTemplate from langchai n root module is no longer supported. Please use langchain_core.prompts.PromptTemplate instead.
[2025-03-14 01:58:16,648] [ INFO] - opea_dataprep_microservice - OPEA Dataprep Microservice is starting...
[2025-03-14 02:00:38,356] [ INFO] - redis_dataprep - [ redis ingest] File /home/xiguiwan/OPEA/GenAIExamples/AgentQnA/example_data/0.txt does not exist.
/home/user/comps/dataprep/src/integrations/redis.py:210: LangChainDeprecationWarning: The class `HuggingFaceBgeEmbeddings` 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``.
embedder = HuggingFaceBgeEmbeddings(model_name=EMBED_MODEL)
Attachments
No response