Since langchain 0.0.205 the predict_and_parse methods on the chain are deprecated. The solution is to set an output parser on the Chain directly. Kor currently does not set the output parser. It also uses apredict_and_parse for document extract_from_documents. predict_and_parse is also used in several places in the documentation.
As was as I see it is quite a trivial change in api.py, tests and documentation.
Do you want to implement the change or are you willing to accept an PR for that?
Since langchain 0.0.205 the
predict_and_parsemethods on the chain are deprecated. The solution is to set an output parser on the Chain directly. Kor currently does not set the output parser. It also usesapredict_and_parsefor documentextract_from_documents.predict_and_parseis also used in several places in the documentation.As was as I see it is quite a trivial change in api.py, tests and documentation.
Do you want to implement the change or are you willing to accept an PR for that?