From da51e147694c979b3fb8465b1e577e991feddcbd Mon Sep 17 00:00:00 2001 From: anakin87 Date: Fri, 1 Mar 2024 13:09:31 +0100 Subject: [PATCH] fix test --- .../document_stores/chroma/document_store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/chroma/src/haystack_integrations/document_stores/chroma/document_store.py b/integrations/chroma/src/haystack_integrations/document_stores/chroma/document_store.py index 1dbeddbd3..88376e8c2 100644 --- a/integrations/chroma/src/haystack_integrations/document_stores/chroma/document_store.py +++ b/integrations/chroma/src/haystack_integrations/document_stores/chroma/document_store.py @@ -315,7 +315,7 @@ def _normalize_filters(filters: Dict[str, Any]) -> Tuple[List[str], Dict[str, An for k in keys_to_remove: del filters[k] - final_where = dict(filters | where) + final_where = dict(filters | dict(where)) try: if final_where: validate_where(final_where)