Skip to content

predict_and_parse deprecated #185

@BorisWilhelms

Description

@BorisWilhelms

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions