Skip to content

Commit

Permalink
updated the cosine metric name
Browse files Browse the repository at this point in the history
  • Loading branch information
vkrishna1084 committed Feb 28, 2025
1 parent bc9329a commit c94200b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsb/databases/opensearch/opensearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def get_record_count(self) -> int:
def _get_distance_func(metric: DistanceMetric) -> str:
match metric:
case DistanceMetric.Cosine:
return "cosinesim"
return "cosinesimil"
case DistanceMetric.Euclidean:
return "l2"
case DistanceMetric.DotProduct:
Expand Down

0 comments on commit c94200b

Please sign in to comment.