Unable to use langChain

Why i am unable to use below code as it is showing error of package subpath is not defined by exports

please help me to resolve it , and i have checked in my nodemodules , these three class or folder are also not present in langchain folder

const ChatOpenAI = require(“langchain/chat_models/ChatOpenAI”);

const ConversationChain = require(“langchain/chains/ConversationChain”);

const ConversationBufferMemory = require(“langchain/memory/ConversationBufferMemory”);

Hi @isFardeen ,
Please post your queries in the right space.

1 Like

Please move your thread to the forum for that course.
You can do this using the “pencil” icon in the thread title.

1 Like

Hi @Arif_Hassan , I am sorry , i was not aware of it. Thanks

Hi @TMosh Thank You So Much, Sorry for this mistake. Have changed to another space.