diff --git a/py/autoevals/string.py b/py/autoevals/string.py index 370132f..cd9680d 100644 --- a/py/autoevals/string.py +++ b/py/autoevals/string.py @@ -2,7 +2,7 @@ from typing import Optional from braintrust_core.score import Score -from Levenshtein import distance +from polyleven import levenshtein as distance from autoevals.partial import ScorerWithPartial from autoevals.value import normalize_value diff --git a/py/autoevals/version.py b/py/autoevals/version.py index eaf5805..d5a0531 100644 --- a/py/autoevals/version.py +++ b/py/autoevals/version.py @@ -1 +1 @@ -VERSION = "0.0.122" +VERSION = "0.0.123" diff --git a/setup.py b/setup.py index 2d92e31..f7a772b 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ with open(os.path.join(dir_name, "README.md"), "r", encoding="utf-8") as f: long_description = f.read() -install_requires = ["chevron", "levenshtein", "pyyaml", "braintrust_core", "jsonschema"] +install_requires = ["chevron", "polyleven", "pyyaml", "braintrust_core", "jsonschema"] extras_require = { "dev": [