feature/fixed-where-clause-default (#2042)
This commit is contained in:
@@ -212,7 +212,7 @@ class ChromaDB(BaseVectorDB):
|
|||||||
if where and raw_filter:
|
if where and raw_filter:
|
||||||
raise ValueError("Both `where` and `raw_filter` cannot be used together.")
|
raise ValueError("Both `where` and `raw_filter` cannot be used together.")
|
||||||
|
|
||||||
where_clause = {}
|
where_clause = None
|
||||||
if raw_filter:
|
if raw_filter:
|
||||||
where_clause = raw_filter
|
where_clause = raw_filter
|
||||||
if where:
|
if where:
|
||||||
|
|||||||
Reference in New Issue
Block a user