From 87c0d048c978c43fd913c9464ef92fb9d82820d9 Mon Sep 17 00:00:00 2001 From: William FH <13333726+hinthornw@users.noreply.github.com> Date: Tue, 19 Mar 2024 15:01:04 -0700 Subject: [PATCH] [Python] 0.1.30 (#535) --- python/langsmith/beta/__init__.py | 4 ++-- python/langsmith/beta/_evals.py | 1 + python/pyproject.toml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/python/langsmith/beta/__init__.py b/python/langsmith/beta/__init__.py index 0d309ca7e..f9e152fd3 100644 --- a/python/langsmith/beta/__init__.py +++ b/python/langsmith/beta/__init__.py @@ -1,5 +1,5 @@ """Beta functionality prone to change.""" -from langsmith.beta._evals import convert_runs_to_test +from langsmith.beta._evals import compute_test_metrics, convert_runs_to_test -__all__ = ["convert_runs_to_test"] +__all__ = ["convert_runs_to_test", "compute_test_metrics"] diff --git a/python/langsmith/beta/_evals.py b/python/langsmith/beta/_evals.py index 31c7d9727..a93808d87 100644 --- a/python/langsmith/beta/_evals.py +++ b/python/langsmith/beta/_evals.py @@ -197,6 +197,7 @@ def _outer_product(list1: List[T], list2: List[U]) -> List[Tuple[T, U]]: return list(itertools.product(list1, list2)) +@beta_utils.warn_beta def compute_test_metrics( project_name: str, *, diff --git a/python/pyproject.toml b/python/pyproject.toml index 454c6cfcf..b18e5fc3d 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "langsmith" -version = "0.1.29" +version = "0.1.30" description = "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform." authors = ["LangChain "] license = "MIT"