Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

Docs fixes (#1730)

Prateek Chhikara4f5a40a84f0f
diff --git a/docs/features/selective-memory.mdx b/docs/features/selective-memory.mdx
index e97b83370..d2604213e 100644
--- a/docs/features/selective-memory.mdx
+++ b/docs/features/selective-memory.mdx
@@ -48,7 +48,7 @@ messages = [
<CodeGroup>
```python Code
-client.add("I love music festivals", user_id="alice", includes=includes)
+client.add(messages, user_id="alice", includes=includes)
```
```json Stored Memories
diff --git a/mem0/graphs/configs.py b/mem0/graphs/configs.py
index db1057da6..48d8c0e2b 100644
--- a/mem0/graphs/configs.py
+++ b/mem0/graphs/configs.py
@@ -14,7 +14,7 @@ class Neo4jConfig(BaseModel):
values.get("username"),
values.get("password"),
)
- if not url and not username and not password:
+ if not url or not username or not password:
raise ValueError(
"Please provide 'url', 'username' and 'password'."
)
diff --git a/pyproject.toml b/pyproject.toml
index 6387e437b..5dd69c39f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "mem0ai"
-version = "0.1.2"
+version = "0.1.3"
description = "Long-term memory for AI Agents"
authors = ["Mem0 <[email protected]>"]
exclude = [