Skip to content

Commit

Permalink
downgrade langchain to < 0.2.0 in nlp recipes
Browse files Browse the repository at this point in the history
Signed-off-by: greg pereira <[email protected]>
  • Loading branch information
Gregory-Pereira committed May 21, 2024
1 parent 4ba23af commit 4d24ade
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
langchain
langchain_openai
streamlit
langchain==0.1.20
langchain-openai==0.1.7
streamlit==1.34.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
langchain_openai
langchain
streamlit
langchain==0.1.20
langchain-openai==0.1.7
streamlit==1.34.0
14 changes: 7 additions & 7 deletions recipes/natural_language_processing/rag/app/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
langchain_openai
langchain
chromadb
sentence-transformers
streamlit
pypdf
pymilvus
langchain-openai==0.1.7
langchain==0.1.20
chromadb==0.5.0
sentence-transformers==2.7.0
streamlit==1.34.0
pypdf==4.2.0
pymilvus==2.4.3

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
langchain
langchain_openai
streamlit
pymupdf
rouge_score
langchain==0.1.20
langchain-openai==0.1.7
streamlit==1.34.0
PyMuPDF==1.24.4
rouge_score==0.1.2
10 changes: 10 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,15 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>platform-engineering-org/.github"
],
"packageRules": [
{
"matchPackageNames": ["langchain"],
"allowedVersions": "<=0.2.0"
},
{
"matchPackageNames": ["langchain-openai"],
"allowedVersions": "<=0.1.7"
}
]
}

0 comments on commit 4d24ade

Please sign in to comment.