Design a text-only personalization and memory system for an AI chatbot.
The chatbot should use a user's previous conversations, preferences, and feedback to generate more personalized responses in future sessions. The system should support retrieval-augmented generation or a similar approach, but the exact implementation is up to you.
Address the following topics:
-
How would you store user memory from past conversations?
-
How would you retrieve the right memories for a new user query?
-
How would you handle conflicting information in the user's history, such as an old preference contradicting a newer one?
-
If every chatbot response requires retrieval, how can the system be made faster?
-
If a user's history becomes very large, how should the system manage and summarize it?
-
How would you design a feedback loop so the system improves personalization quality over time?