Memory Scopes
| Scope | Description | Visibility |
|---|---|---|
| USER_GLOBAL | User’s private memories across all chats | User only |
| USER_CHAT | User’s private memories for a specific chat | User only, per-chat |
| ORG_CHAT | Shared memories for a specific chat | All chat participants |
| ORG_GLOBAL | Organization-wide memories (admin-managed) | All users |
Provider Options
| Provider | Description |
|---|---|
| Mem0 Cloud | Managed SaaS — configure mem0ApiKey and mem0BaseUrl |
| Mem0 OSS | Self-hosted — configure embedding model, vector store (Qdrant, Chroma, Weaviate, or in-memory) |
Per-Chat Memory Configuration
Each chat can independently configure:- Enable/disable memory (
memoryEnabled) - Read scopes — Which memory scopes to query (
memoryReadScopes) - Write scope — Where new memories are stored (
memoryWriteScope) - Token budget — Max tokens/percentage for memory context injection
- Retrieval strategy —
semantic,recency,hybrid,semantic_keyword, orall - Source locks — Prevent users from disabling specific memory sources per-chat
Admin Configuration
Configure in Admin → Memory ([#/admin/memory], setting key memorySettings):
- Global enable/disable
- Provider selection and credentials
- Default retention, search limits, and similarity thresholds
- Organization vs personal memory toggles
- Memory extraction instructions for quality tuning
- Cleanup scheduler for expired memories