File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99from langchain_community .document_loaders import PyPDFLoader
1010
11- from langchain .chains import create_retrieval_chain
12- from langchain .chains .combine_documents import create_stuff_documents_chain
11+ from langchain_classic .chains import create_retrieval_chain
12+ from langchain_classic .chains .combine_documents import create_stuff_documents_chain
1313from langchain_core .prompts import ChatPromptTemplate
1414
1515import os
Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ description = "SAMU Hub Santé Slack chatbot"
55requires-python = " >=3.11"
66dependencies = [
77 " slack-bolt~=1.26.0" ,
8- " langchain~=1.0.3" ,
98 " langchain-openai~=1.0.1" ,
109 " langchain-community~=0.4.1" ,
1110 " langchain-core~=1.0.2" ,
@@ -14,11 +13,12 @@ dependencies = [
1413 " openai~=2.6.1" ,
1514 " python-dotenv~=1.2.1" ,
1615 " pypdf~=6.1.3" ,
16+ " langchain-classic>=1.0.0" ,
1717]
1818
1919[dependency-groups ]
2020dev = [
2121 " pytest>=7.0.0" ,
2222 " ruff>=0.14.3" ,
2323 " pip-audit>=2.6.0" ,
24- ]
24+ ]
You can’t perform that action at this time.
0 commit comments