Skip to content

Commit

Permalink
Supabase metadata filtering fix (run-llama#11428)
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-tee authored and Dominastorm committed Feb 28, 2024
1 parent ace0888 commit b10a190
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def client(self) -> None:
def _to_vecs_filters(self, filters: MetadataFilters) -> Any:
"""Convert llama filters to vecs filters. $eq is the only supported operator."""
vecs_filter = defaultdict(list)
filter_cond = f"${filters.condition}"
filter_cond = f"${filters.condition.value}"

for f in filters.legacy_filters():
sub_filter = {}
Expand Down

0 comments on commit b10a190

Please sign in to comment.