From dd3e5363dd6fc8034578016fe43a3d4019b06c60 Mon Sep 17 00:00:00 2001
From: Prateek Chhikara <46902268+prateekchhikara@users.noreply.github.com>
Date: Mon, 20 Oct 2025 16:12:11 -0700
Subject: [PATCH] Update docs (#3636)
---
docs/docs.json | 1 -
docs/platform/features/selective-memory.mdx | 105 --------------------
2 files changed, 106 deletions(-)
delete mode 100644 docs/platform/features/selective-memory.mdx
diff --git a/docs/docs.json b/docs/docs.json
index cc00db004..f55271c3f 100644
--- a/docs/docs.json
+++ b/docs/docs.json
@@ -68,7 +68,6 @@
"platform/features/advanced-retrieval",
"platform/features/criteria-retrieval",
"platform/features/multimodal-support",
- "platform/features/selective-memory",
"platform/features/custom-categories",
"platform/features/custom-instructions",
"platform/features/direct-import",
diff --git a/docs/platform/features/selective-memory.mdx b/docs/platform/features/selective-memory.mdx
deleted file mode 100644
index 8c7653a45..000000000
--- a/docs/platform/features/selective-memory.mdx
+++ /dev/null
@@ -1,105 +0,0 @@
----
-title: Memory Customization
-description: 'Mem0 supports customizing the memories you store, allowing you to focus on pertinent information while omitting irrelevant data.'
-icon: "filter"
-iconType: "solid"
----
-
-## Benefits of Memory Customization
-
-Memory customization offers several key benefits:
-
-- **Focused Storage**: Store only relevant information for a streamlined system.
-- **Improved Accuracy**: Curate memories for more accurate and relevant retrieval.
-- **Enhanced Privacy**: Exclude sensitive information for better privacy control.
-- **Resource Efficiency**: Optimize storage and processing by keeping only pertinent data.
-- **Personalization**: Tailor the experience to individual user preferences.
-- **Contextual Relevance**: Improve effectiveness in specialized domains or applications.
-
-These benefits allow users to fine-tune their memory systems, creating a more powerful and personalized AI assistant experience.
-
-
-## Memory Inclusion
-
-Users can define specific kinds of memories to store. This feature enhances memory management by focusing on relevant information, resulting in a more efficient and personalized experience.
-
-```python
-import os
-from mem0 import MemoryClient
-
-os.environ["MEM0_API_KEY"] = "your-api-key"
-
-m = MemoryClient()
-
-# Define what to include
-includes = "sports related things"
-
-messages = [
- {"role": "user", "content": "Hi, my name is Alice and I love to play badminton"},
- {"role": "assistant", "content": "Nice to meet you, Alice! Badminton is a great sport."},
- {"role": "user", "content": "I love music festivals"},
- {"role": "assistant", "content": "Music festivals are exciting! Do you have a favorite one?"},
- {"role": "user", "content": "I love eating spicy food"},
- {"role": "assistant", "content": "Spicy food is delicious! What's your favorite spicy dish?"},
- {"role": "user", "content": "I love playing baseball with my friends"},
- {"role": "assistant", "content": "Baseball with friends sounds fun!"},
-]
-```
-
-
-```python Code
-client.add(messages, user_id="alice", includes=includes)
-```
-
-```json Stored Memories
-User's name is Alice.
-Alice loves to play badminton.
-User loves playing baseball with friends.
-```
-
-
-
-
-
-## Memory Exclusion
-
-In addition to specifying what to include, users can also define exclusion rules for their memory management. This feature allows for fine-tuning the memory system by instructing it to omit certain types of information.
-
-```python
-from mem0 import MemoryClient
-
-m = MemoryClient(api_key="xxx")
-
-# Define what to exclude
-excludes = "food preferences"
-
-messages = [
- {"role": "user", "content": "Hi, my name is Alice and I love to play badminton"},
- {"role": "assistant", "content": "Nice to meet you, Alice! Badminton is a great sport."},
- {"role": "user", "content": "I love music festivals"},
- {"role": "assistant", "content": "Music festivals are exciting! Do you have a favorite one?"},
- {"role": "user", "content": "I love eating spicy food"},
- {"role": "assistant", "content": "Spicy food is delicious! What's your favorite spicy dish?"},
- {"role": "user", "content": "I love playing baseball with my friends"},
- {"role": "assistant", "content": "Baseball with friends sounds fun!"},
-]
-```
-
-
-```python Code
-client.add(messages, user_id="alice", excludes=excludes)
-```
-
-```json Stored Memories
-User's name is Alice.
-Alice loves to play badminton.
-Loves music festivals.
-User loves playing baseball with friends.
-```
-
-
-
-
-If you have any questions, please feel free to reach out to us using one of the following methods:
-
-
\ No newline at end of file