Skip to content

Commit

Permalink
Updated the kwargs for the structured query from filters to filter du…
Browse files Browse the repository at this point in the history
…e to deprecation of 'filters' for Databricks Vector Search.
  • Loading branch information
willsmithDB committed Nov 7, 2024
1 parent 83d4acd commit e19ecd7
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ def visit_operation(self, operation: Operation) -> Dict:
return self._visit_not_operation(operation)
else:
raise NotImplementedError(
f'Operator "{operation.operator}" is not supported. \
Allowable operators for Databricks Vector Search are: {[str(item) for item in self.allowed_operators]}. \
Be sure to pass this via the allowed_operators parameter for associated functions \
( i.e. get_query_constructor_prompt() )'
f'Operator "{operation.operator}" is not supported'
)

def visit_comparison(self, comparison: Comparison) -> Dict:
Expand Down

0 comments on commit e19ecd7

Please sign in to comment.