As the message says,
On 2023-10-27 this module will be be deprecated from langchain
So I added langchain-experimental==0.0.42 to requirements. txt and then replaced langchain.agents with langchain_experimental.agents.agent_toolkits. Bottom line, the three modified files are requirements.txt, utils.py and 06-TabularDataQA.ipynb.
I tested them working even in the backend and frontend apps
The warnings at the bottom show up in 06-TabularDataQA.ipynb and in 09-Smart_Agent.ipynb (that actually uses utils.py that I worked on).
As the message says, On 2023-10-27 this module will be be deprecated from langchain
So I added langchain-experimental==0.0.42 to requirements. txt and then replaced langchain.agents with langchain_experimental.agents.agent_toolkits. Bottom line, the three modified files are requirements.txt, utils.py and 06-TabularDataQA.ipynb.
I tested them working even in the backend and frontend apps