Skip to content

Commit

Permalink
Add text match insensitive operator for qdrant vector store.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvin-a committed Jan 12, 2025
1 parent 0fca89a commit 3731e0c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,10 @@ def _build_subfilter(self, filters: MetadataFilters) -> Filter:
range=Range(lte=subfilter.value),
)
)
elif subfilter.operator == FilterOperator.TEXT_MATCH:
elif (
subfilter.operator == FilterOperator.TEXT_MATCH
or subfilter.operator == FilterOperator.TEXT_MATCH_INSENSITIVE
):
conditions.append(
FieldCondition(
key=subfilter.key,
Expand Down

0 comments on commit 3731e0c

Please sign in to comment.