LangChain implementation of SQL DB Agent with memory Suprisingly it was very hard to find a Lang chain implementation to do the following three things:
- Converse with a bot while having access to DB.
- Have memory with previous DB queries to have a meaningful conversation.
So after a few trial and error I got to this snipet of code, and here it is just for reference