/DB_Chat

LangChain implementation of SQL DB Agent with memory

Primary LanguagePython

DB_Chat

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:

  1. Converse with a bot while having access to DB.
  2. 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