From b5b74042969d11573da2f54bab83e1ccf91f4ea9 Mon Sep 17 00:00:00 2001 From: Anthony Naddeo Date: Sat, 9 Mar 2024 17:16:46 -0800 Subject: [PATCH 1/2] Fix error message Was missing the `f` for string interpolation. --- langkit/core/workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langkit/core/workflow.py b/langkit/core/workflow.py index a6463dc..e60295e 100644 --- a/langkit/core/workflow.py +++ b/langkit/core/workflow.py @@ -126,7 +126,7 @@ def init(self) -> None: if not set(targets).issubset(metric_names): raise ValueError( f"Validator {validator} has target metric names ({targets}) but this workflow is " - "only generating metrics for these: {metric_names}" + f"only generating metrics for these: {metric_names}" ) def _condense_metric_results(self, metric_results: Dict[str, SingleMetricResult]) -> pd.DataFrame: From 0e679becd883e4caf3c3394a33ee2cab06838f38 Mon Sep 17 00:00:00 2001 From: Anthony Naddeo Date: Sat, 9 Mar 2024 17:17:12 -0800 Subject: [PATCH 2/2] Fix log message --- .bumpversion.cfg | 2 +- langkit/core/workflow.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index f1dbde1..341af5d 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.90 +current_version = 0.0.91 tag = False parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+)(?P\d+))? serialize = diff --git a/langkit/core/workflow.py b/langkit/core/workflow.py index e60295e..22f007c 100644 --- a/langkit/core/workflow.py +++ b/langkit/core/workflow.py @@ -126,7 +126,7 @@ def init(self) -> None: if not set(targets).issubset(metric_names): raise ValueError( f"Validator {validator} has target metric names ({targets}) but this workflow is " - f"only generating metrics for these: {metric_names}" + f"only generating metrics for these: {metric_names}" ) def _condense_metric_results(self, metric_results: Dict[str, SingleMetricResult]) -> pd.DataFrame: diff --git a/pyproject.toml b/pyproject.toml index 932aff7..236f01e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langkit" -version = "0.0.90" +version = "0.0.91" description = "A language toolkit for monitoring LLM interactions" authors = ["WhyLabs.ai "] homepage = "https://docs.whylabs.ai/docs/large-language-model-monitoring"