aws-genai-llm-chatbot icon indicating copy to clipboard operation
aws-genai-llm-chatbot copied to clipboard

Langchain deprecation warning in Lambda functions

Open massi-ang opened this issue 11 months ago • 1 comments

Currently getting the following in the lambda functions using langchain:

/opt/python/langchain/llms/__init__.py:548: LangChainDeprecationWarning: Importing LLMs from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
`from langchain_community.llms import SagemakerEndpoint`.
To install langchain-community run `pip install -U langchain-community`.

massi-ang avatar Mar 06 '24 15:03 massi-ang

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar May 06 '24 01:05 github-actions[bot]