You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In gpt_model.py, the LlmReasoner() class tries to save the vector store by dumping it into a tmp file as so on lines 78-79: with open(pkl_path, "wb") as f: pickle.dump(vectorstore, f)
However, this leads to TypeError: cannot pickle '_thread.RLock' object. It seems that others have experienced this problem with newer versions of Langchain beyond version 0.0.350 but even downgrading to 0.0.0350 leads to import errors. Has anyone else encountered this / been able to solve this?
The text was updated successfully, but these errors were encountered:
In
gpt_model.py
, the LlmReasoner() class tries to save the vector store by dumping it into a tmp file as so on lines 78-79:with open(pkl_path, "wb") as f: pickle.dump(vectorstore, f)
However, this leads to
TypeError: cannot pickle '_thread.RLock' object
. It seems that others have experienced this problem with newer versions of Langchain beyond version 0.0.350 but even downgrading to 0.0.0350 leads to import errors. Has anyone else encountered this / been able to solve this?The text was updated successfully, but these errors were encountered: