Skip to content

Commit cd1b5ab

Browse files
committed
Changed langchain to langchain_classic.
1 parent bb870d4 commit cd1b5ab

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

readme_ready/query/create_chat_chain.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
from typing import List
66

7-
from langchain.chains import (
7+
from langchain_classic.chains import (
88
create_history_aware_retriever,
99
create_retrieval_chain,
1010
)
11-
from langchain.chains.combine_documents.stuff import (
11+
from langchain_classic.chains.combine_documents.stuff import (
1212
create_stuff_documents_chain,
1313
)
14-
from langchain.prompts import PromptTemplate
14+
from langchain_core.prompts import PromptTemplate
1515
from langchain_core.runnables.base import Runnable
1616

1717
from readme_ready.types import LLMModels

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
torch
22
langchain
3+
langchain-classic
34
markdown2
45
langchain_openai
56
langchain_experimental

tests/query/test_create_chat_chain.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
condense_qa_prompt,
88
condense_readme_prompt,
99
)
10-
from langchain.prompts import PromptTemplate
10+
from langchain_core.prompts import PromptTemplate
1111
from readme_ready.utils.llm_utils import (
1212
models,
1313
)

0 commit comments

Comments
 (0)