Skip to content

Commit

Permalink
More formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vblagoje committed Sep 11, 2024
1 parent e0b3a96 commit 673a937
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def _search_documents(self, **kwargs) -> List[Document]:

def filter_documents(self, filters: Optional[Dict[str, Any]] = None) -> List[Document]:
if filters and "operator" not in filters and "conditions" not in filters:
msg = "Legacy filters support has been removed. See https://docs.haystack.deepset.ai/docs/metadata-filtering for more details."
msg = "Invalid filter syntax. See https://docs.haystack.deepset.ai/docs/metadata-filtering for details."
raise ValueError(msg)

if filters:
Expand Down

0 comments on commit 673a937

Please sign in to comment.