Add a memory
Add conversation memories
Add structured data
Search memories
Search with filters
Semantic search
Mem[v] uses semantic search to find relevant memories even when exact keywords don’t match:Common patterns
Store user preferences
Build conversation history
Get relevant context for AI
Best practices
Add context with metadata
Add context with metadata
Include relevant metadata to make memories more searchable:
Use clear, descriptive content
Use clear, descriptive content
Write memory content that is self-contained and easy to understand.Good:
"User prefers email notifications for important updates only"Less good: "email - important only"Search with specific queries
Search with specific queries
More specific queries return more relevant results.Specific:
"What is the user's preferred framework for backend development?"Vague: "framework"Error handling
Next steps
Files
Upload files to extract memories
Knowledge graphs
Build knowledge graphs from memories