diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fddd97b..b23f5745 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ Most recent releases are shown at the top. Each release shows: - N/A ### fixed: -- Removed pin to `paper-qa==2.1.1` due to issue in latest `langchain` release +- Removed pin to `paper-qa==2.1.1` due to issue in latest `langchain` release. Added notification to install `langchain==0.0.180` ## 0.37.5 (2023-07-22) diff --git a/ktrain/text/qa/generative_qa.py b/ktrain/text/qa/generative_qa.py index ca485dfd..0a2e7141 100644 --- a/ktrain/text/qa/generative_qa.py +++ b/ktrain/text/qa/generative_qa.py @@ -45,7 +45,7 @@ def __init__(self, llm=None): """ if not PAPERQA_INSTALLED: raise Exception( - "GenerativeQA in ktrain requires the paper-qa package by Andrew White: pip install paper-qa==2.1.1" + "GenerativeQA in ktrain requires the paper-qa package by Andrew White: pip install paper-qa==2.1.1 langchain==0.0.180" ) self.docs = Docs(llm) if is_notebook():