Time-aware searches
Queries can include expressions such asyesterday, last week, tomorrow, currently, and as of March 2025. Mem0 compares them with dates and date ranges found in stored memories.
Example
Suppose a user has these memories:- “Yesterday I met Maya at the Orion conference in Paris.”
- “Last week I met Maya at the Orion conference in Tokyo.”
- “Last year I met Maya at the Orion conference in Lisbon.”
Which city did I meet Maya in at the Orion conference last week? gives the Tokyo memory a temporal boost and ranks it first.
Search from a specific time
Usereference_date to simulate searching at a specific date and time. Mem0 treats it as the current time for that search.
Parameters
For all search inputs and returned fields, see the Search Memories API reference.
Memory Timestamps
Preserve the original time of imported memories.
Discord
Join our community
GitHub
Ask questions on GitHub
Support
Talk to founders