How can I add 'Memory' to a LangChain agent so it remembers user preferences across sessions?
I'm creating a personalized travel agent bot. I want it to remember that a user prefers "window seats" and "vegetarian meals" even if they come back a week later. I've tried ConversationBufferMemory, but it clears when the script ends. How do I implement a persistent database-backed memory?
Write a Comment
Your email address will not be published. Required fields are marked (*)