What I Learned Adding Memory to a LangChain Chatbot

Last week I was debugging a support chatbot that had a very human-sounding failure mode: it kept forgetting what we had just talked about.