Skip to content

Commit

Permalink
Relax langchain constraints (#68)
Browse files Browse the repository at this point in the history
Relaxed constraints
  • Loading branch information
eyurtsev authored Nov 22, 2023
1 parent 1130f60 commit 97b2c28
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 23 deletions.
6 changes: 5 additions & 1 deletion langchain_benchmarks/rag/evaluators.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
from langchain.chat_models import ChatOpenAI
from langchain.evaluation import load_evaluator
from langchain.smith import RunEvalConfig
from langchain_core.language_models import BaseLanguageModel

try:
from langchain.schema.language_model import BaseLanguageModel
except ImportError:
from langchain_core.language_models import BaseLanguageModel
from langsmith.evaluation.evaluator import EvaluationResult, RunEvaluator
from langsmith.schemas import Example, Run

Expand Down
44 changes: 24 additions & 20 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ readme = "README.md"

[tool.poetry.dependencies]
python = "^3.8.1"
langchain = ">=0.0.333"
langchain_core = ">=0.0.3"
langchain = ">=0.0.300"
langsmith = ">=0.0.66"
tqdm = "^4"
ipywidgets = "^8"
Expand Down

0 comments on commit 97b2c28

Please sign in to comment.