Deprecation Warnings #237
-
I ran the following code successfully: from autollm import AutoQueryEngine, read_files_as_documents documents = read_files_as_documents(input_dir="data") response = query_engine.query("Summarize this essay.") However, I'm getting the following warnings (mostly deprecation warnings): `LangChainDeprecationWarning: Importing chat models from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
To install langchain-community run
To install langchain-community run
To install langchain-community run
To install langchain-community run
To install langchain-community run
To install langchain-community run
To install langchain-community run
To install langchain-community run |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @schengal4, Thanks for your message. The deprecation warnings you're seeing are due to older import paths from You can safely continue using |
Beta Was this translation helpful? Give feedback.
Hi @schengal4,
Thanks for your message. The deprecation warnings you're seeing are due to older import paths from
langchain
. However,autollm
primarily usesllama-index
for its operations, and these warnings do not impact its core functionality.You can safely continue using
autollm
as these warnings are more about future compatibility and don't affect the current operations. We'll ensure to update these dependencies in future releases to align withlangchain-community
standards.