mem0ai / mem0

The Memory layer for your AI apps
https://mem0.ai
Apache License 2.0
21.61k stars 1.97k forks source link

Retrieving chat history from interaction between a user and chatbot #1551

Open rferrazd opened 1 month ago

rferrazd commented 1 month ago

🐛 Describe the bug

Is it possible to retrieve the chat history from a session between a user and chatbot conversation? I implemented mem0's memory feature to a chatbot, but it appear that the questions to the chatbot and the anwers are not being stored. Can we only store memories in vector databases? These memories seem to be more of a list of insights and notes from the conversation between the user and chatbot.

Dev-Khant commented 1 month ago

Hey @rferrazd Thanks for asking this question. You can use a platform wherein if you want to retrieve the chat you can do it along with the memories. There in the fields you can define what keys you want in the output. Refer to docs: https://docs.mem0.ai/platform/quickstart#4-2-search-relevant-memories.

Let us know if this doesn't solve your problem or want more clarity on it.