aws-genai-llm-chatbot
aws-genai-llm-chatbot copied to clipboard
Langchain deprecation warning in Lambda functions
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`.
This issue is stale because it has been open for 60 days with no activity.