From 1a15b461b384ebcf627e10f98272e29dc15c6a04 Mon Sep 17 00:00:00 2001 From: Stalin Sabu Thomas <44336699+legendof-selda@users.noreply.github.com> Date: Sun, 1 Dec 2024 01:19:28 +0400 Subject: [PATCH 1/2] Update pyproject.toml Incorrect version syntax was used. --- pyproject.toml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 96156af..3d29210 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,14 +8,14 @@ readme = "README.md" [tool.poetry.dependencies] python = "^3.9" -langchain = "^0.3" -langchain-community = "^0.3" +langchain = "^0.3.0" +langchain-community = "^0.3.0" langchain-core= "^0.3.12" langsmith = ">=0.0.70" -tqdm = "^4" -ipywidgets = "^8" +tqdm = "4.*" +ipywidgets = "8.*" tabulate = ">=0.8.0" -langchain-openai = "^0.2" +langchain-openai = "^0.2.0" [tool.poetry.group.dev] optional = true @@ -58,11 +58,10 @@ pytest-socket = "^0.6.0" pytest-watch = "^4.2.0" pytest-timeout = "^2.2.0" freezegun = "^1.3.1" -langchain-anthropic = "^0.2" -langchain-fireworks = "^0.2" -langchain-mistralai = "^0.2" -langchain-groq = "^0.2" -langchain-core = "^0.3.12" +langchain-anthropic = "^0.2.0" +langchain-fireworks = "^0.2.0" +langchain-mistralai = "^0.2.0" +langchain-groq = "^0.2.0" faiss-cpu = ">=1.8.0" [tool.ruff] From 951d3712e2d4449d1555b11e07454ae3059586dd Mon Sep 17 00:00:00 2001 From: Stalin Sabu Thomas <44336699+legendof-selda@users.noreply.github.com> Date: Sun, 1 Dec 2024 12:55:17 +0400 Subject: [PATCH 2/2] fix(utils): run_without_langsmith, incorrect return type --- langchain_benchmarks/utils/_langsmith.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain_benchmarks/utils/_langsmith.py b/langchain_benchmarks/utils/_langsmith.py index aab85fd..c4e645a 100644 --- a/langchain_benchmarks/utils/_langsmith.py +++ b/langchain_benchmarks/utils/_langsmith.py @@ -195,7 +195,7 @@ def run_without_langsmith( evaluation: Optional[RunEvalConfig] = None, concurrency_level: int = 5, verbose: bool = True, -) -> None: +) -> eval_runner_utils.TestResult: """Run a public dataset without langsmith.""" from langchain.smith.evaluation.runner_utils import ( _setup_evaluation,