Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LangChain Deprecation Warning #61

Open
webnomadorg opened this issue Apr 15, 2024 · 3 comments
Open

LangChain Deprecation Warning #61

webnomadorg opened this issue Apr 15, 2024 · 3 comments

Comments

@webnomadorg
Copy link

Hi, it looks like this is not working anymore? Would you have time to update the project on github? There is an error that sends me down a rabbit hole - LangChainDeprecationWarning: Importing vector stores from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead

@padhr2810
Copy link

padhr2810 commented May 6, 2024

A requirements.txt file might solve this. Can anyone please provide...?

@FaridMalekpour
Copy link

langchain is separated the library to different places (i.e., langchain_openai, langchain_community, ...) in new versions, and we need new modules to work with, it is not justpip install langchain now, it is way more work.
we have to try and fix it

@LevYas
Copy link

LevYas commented Aug 26, 2024

I fixed all the deprecation warnings (at the moment of writing, since things change quite fast) in my script here https://yastr.dev/posts/genai-rag-pitfalls/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants