Open deter3 opened 11 months ago
pip install -r requirements.txt , and I can see Langchain has almot 500 lines installtion .
And it says " Importing PromptTemplate from langchain root module is no longer supported." , by using pip install -r requirements.txt .
Using Langchain is really a pain in the ass .
use this instead :
from langchain.prompts import PromptTemplate
it works for me, atleast as of now
pip install -r requirements.txt , and I can see Langchain has almot 500 lines installtion .
And it says " Importing PromptTemplate from langchain root module is no longer supported." , by using pip install -r requirements.txt .
Using Langchain is really a pain in the ass .