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.

remove warnings and refresh schema from neo4j (#2643)

Tomaz Bratanic73d9ccac6913
diff --git a/mem0/memory/graph_memory.py b/mem0/memory/graph_memory.py
index 18aaf41b7..f6307a739 100644
--- a/mem0/memory/graph_memory.py
+++ b/mem0/memory/graph_memory.py
@@ -33,6 +33,8 @@ class MemoryGraph:
self.config.graph_store.config.url,
self.config.graph_store.config.username,
self.config.graph_store.config.password,
+ refresh_schema=False,
+ driver_config={"notifications_min_severity":"OFF"}
)
self.embedding_model = EmbedderFactory.create(
self.config.embedder.provider, self.config.embedder.config, self.config.vector_store.config