Starting from langchain 0.1.46 the BaseRetriever#_get_relevant_documents has been deprecated and replaced by invoke.
Retrievers that have done the full migration (and they don't implement _get_relevant_documents anymore) makes the TruChain fails consistently.
Starting from langchain 0.1.46 the
BaseRetriever#_get_relevant_documents
has been deprecated and replaced byinvoke
. Retrievers that have done the full migration (and they don't implement _get_relevant_documents anymore) makes the TruChain fails consistently.