Retrieve relevant memories from Mem0 using powerful semantic and filtered search capabilities.
search
operation allows you to retrieve relevant memories based on a natural language query and optional filters like user ID, agent ID, categories, and more. This is the foundation of giving your agents memory-aware behavior.
Mem0 supports:
Architecture diagram illustrating the memory search process.
version: "v2"
for enhanced resultsrun_id: "*"
) for broader matchestop_k
, threshold
, or rerank
if needed