Skip to content

update langchain version to fix ImportError issue (https://github.com…#3

Open
amitvaghela wants to merge 1 commit intogetmoss:masterfrom
amitvaghela:master
Open

update langchain version to fix ImportError issue (https://github.com…#3
amitvaghela wants to merge 1 commit intogetmoss:masterfrom
amitvaghela:master

Conversation

@amitvaghela
Copy link
Copy Markdown

@amitvaghela amitvaghela commented Jan 15, 2024

With version 0.1.0 of LangChain I am getting
cannot import name '_is_openai_v1' from 'langchain_community.embeddings.openai' (~/.pyenv/versions/3.11.0/lib/python3.11/site-packages/langchain_community/embeddings/openai.py)
It is a outstanding issue with LangChain as per this

Fix
Update LangChain to 0.1.0

Copy link
Copy Markdown

@ajones ajones left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

@anubhav-sl
Copy link
Copy Markdown

Please merge this

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

Successfully merging this pull request may close these issues.

4 participants