Skip to content

Commit

Permalink
feature/fixed-where-clause-default (#2042)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmdorf authored Jan 9, 2025
1 parent 4c31c65 commit 2e782b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embedchain/embedchain/vectordb/chroma.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def query(
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:
Expand Down

0 comments on commit 2e782b0

Please sign in to comment.