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.

feature/fixed-where-clause-default (#2042)

gmdorfman2e782b096329
diff --git a/embedchain/embedchain/vectordb/chroma.py b/embedchain/embedchain/vectordb/chroma.py
index e8d3e3336..746dc149b 100644
--- a/embedchain/embedchain/vectordb/chroma.py
+++ b/embedchain/embedchain/vectordb/chroma.py
@@ -212,7 +212,7 @@ class ChromaDB(BaseVectorDB):
if where and raw_filter:
raise ValueError("Both `where` and `raw_filter` cannot be used together.")
- where_clause = {}
+ where_clause = None
if raw_filter:
where_clause = raw_filter
if where: