I’m new to langchain & I’m using langchain-0.2.12 langchain-core-0.2.28
in my spyder 4.1.4
.
While I’m writing from langchain.llms import
I’m not seeing OpenAI
, instead I’m seeing openai
. So my import statement is from langchain.llms import openai
. But while I’m running llm=openai(openai_api_key=api_key)
, I’m getting error message TypeError: 'module' object is not callable
. Can you please help me to resolve this issue?