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

This commit is contained in:
gmdorfman
2025-01-09 13:51:27 +02:00
committed by GitHub
parent 4c31c65649
commit 2e782b0963

View File

@@ -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: