I encountered an error “‘HuggingFaceEmbeddings’ object has no attribute ‘show_progress’” with code:
qa = ConversationalRetrievalChain.from_llm(
llm = llm,
retriever=retriever,
chain_type=chain_type,
return_source_documents=True,
return_generated_question=True,
)
The code worked before so I guess this error occurred due to some version incompatibility.
However, I never explicitly installed or used HuggingFace in my script before, so I’m unsure why this error is occurring now. If anyone has insight into how I can resolve this “HuggingFace not installed” error with my current LangChain version (langchain==0.0.292), I would appreciate suggestions on how to fix it.