Open Pochomo opened 1 month ago
when i used "from langchain.chains import ConversationalRetrievalChain" it was working, but not now lanchain let me change to create_retrieval_chain
@Pochomo Could you use this instead?
from langchain.chains.retrieval import create_retrieval_chain
@Pochomo Could you use this instead?
from langchain.chains.retrieval import create_retrieval_chain
I I solved it using venv thx:)
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
"create_retrieval_chain" is unknown import symbol
Description
I have an error here "from langchain.chains import create_retrieval_chain" , the contents of the error are as follows ""create_retrieval_chain" is unknown import symbol". my version of langchains are
[langchain 0.3.0 langchain-anthropic 0.2.1 langchain-chroma 0.1.4 langchain-community 0.3.0 langchain-core 0.3.2 langchain-openai 0.2.0 langchain-text-splitters 0.3.0]
can window cause an error?? I really need to fix this, please help.
System Info
python 3.12.6 langchain 0.3.0 langchain-anthropic 0.2.1 langchain-chroma 0.1.4 langchain-community 0.3.0 langchain-core 0.3.2 langchain-openai 0.2.0 langchain-text-splitters 0.3.0