NameError: name '_LanguageModel' is not defined #25051
Replies: 2 comments
-
Hey @vivekpadia70! I'm here to help you with any bugs or questions you have in the LangChain library. Let's get to the bottom of this together. To resolve the
By following these steps, you should be able to resolve the |
Beta Was this translation helpful? Give feedback.
-
@dosu |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked other resources
Commit to Help
Example Code
Description
I am trying to initialize vertexai llm in langchain library.
I get the following error with this.
And when I called this function I got.
I also went through the source code and tried importing _LanguageModel manually just before the code but it's not working. How can I resolve this?
System Info
!pip install langchain==0.2.6
!pip install -U langchain-community
from langchain_community.llms.vertexai import VertexAI
Beta Was this translation helpful? Give feedback.
All reactions