This is legacy documentation for Mem0 v0.x. For the latest features, please refer to v1.0 Beta documentation.
Installation
Basic Usage
Initialize Mem0
Add Memories
Search Memories
Get All Memories
Configuration (v0.x)
Basic Configuration
Supported Parameters (v0.x)
Parameter | Type | Description | v0.x Support |
---|---|---|---|
output_format | str | Response format (“v1.0” or “v1.1”) | ✅ Yes |
version | str | API version | ✅ Yes |
async_mode | bool | Enable async processing | ✅ Optional |
API Differences
v0.x Features
1. Output Format Control
2. Version Parameter
3. Optional Async Mode
Response Formats
v1.0 Format (v0.x default)
v1.1 Format (v0.x optional)
Limitations in v0.x
- No reranking support
- Basic metadata filtering only
- Limited async optimization
- No enhanced prompt features
- No advanced memory operations
Migration Path
To upgrade to v1.0 Beta:-
Remove deprecated parameters:
-
Update response handling:
-
Upgrade installation:
Examples
Personal Assistant
Customer Support
Next Steps
Core Concepts
Understand memory types and operations
Open Source Guide
Self-host Mem0 with full control
Ready to upgrade? Check out the migration guide to move to v1.0 Beta and access new features like reranking and enhanced filtering.