From Dev.to
Add long-term memory to a LangChain chatbot in Python (no vector DB)
Most chat apps already store the conversation in their own database. The hard part is deciding which old messages to send to the model when the history gets long. Here is a small Python setup that kee...
