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

error while trying to call gpt4allj.langchain #10

Open
Muhamad-Nady opened this issue Jun 21, 2023 · 1 comment
Open

error while trying to call gpt4allj.langchain #10

Muhamad-Nady opened this issue Jun 21, 2023 · 1 comment

Comments

@Muhamad-Nady
Copy link

Hi I am trying to call "from gpt4allj.langchain import GPT4AllJ", but i get that error
'''ModuleNotFoundError: No module named 'langchain.callbacks.manager'''
I have istalled langchain + gpt4lallj + gpt4all
why i get that error. could any one help me

@Muhamad-Nady Muhamad-Nady changed the title trying to call gpt4allj.langchain error while trying to call gpt4allj.langchain Jun 21, 2023
@marella
Copy link
Owner

marella commented Jun 21, 2023

Hi, to fix the error you are getting, you may have to update langchain: pip install 'langchain>=0.0.208'

Also this library is outdated. Please use ctransformers library which supports more models and has more features. It is integrated into LangChain. See LangChain docs.

You can download the latest version of gpt4all-j model from here.

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

2 participants