Skip to content

Commit

Permalink
Break: Final patches for 1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
ashvardanian committed Aug 5, 2023
1 parent d7bfac7 commit 8d557e2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/usearch/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ def _normalize_metric(metric):
if isinstance(metric, str):
_normalize = {
"cos": MetricKind.Cos,
"ip": MetricKind.Cos,
"cosine": MetricKind.Cos,
"ip": MetricKind.IP,
"dot": MetricKind.IP,
"inner_product": MetricKind.IP,
"l2sq": MetricKind.L2sq,
"l2_sq": MetricKind.L2sq,
"haversine": MetricKind.Haversine,
"pearson": MetricKind.Pearson,
Expand Down

0 comments on commit 8d557e2

Please sign in to comment.