Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]Deprecation warnings in logs service logs #1434

Open
2 of 7 tasks
xiguiw opened this issue Mar 20, 2025 · 0 comments
Open
2 of 7 tasks

[Bug]Deprecation warnings in logs service logs #1434

xiguiw opened this issue Mar 20, 2025 · 0 comments
Assignees
Labels
A1 high prority bug Something isn't working

Comments

@xiguiw
Copy link
Collaborator

xiguiw commented Mar 20, 2025

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

@xiguiw xiguiw added the bug Something isn't working label Mar 20, 2025
@yinghu5 yinghu5 added the A1 high prority label Mar 20, 2025
@ZePan110 ZePan110 mentioned this issue Mar 24, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A1 high prority bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants