haystack/releasenotes/notes/pypdf-rm-deprecated-params-6c4c51489305bb85.yaml

11 lines
479 B
YAML

---
upgrade:
- |
The deprecated `converter_name` parameter has been removed from `PyPDFToDocument`.
To specify a custom converter for `PyPDFToDocument`, use the `converter` initialization parameter and
pass an instance of a class that implements the `PyPDFConverter` protocol.
The `PyPDFConverter` protocol defines the methods `convert`, `to_dict` and `from_dict`.
A default implementation of `PyPDFConverter` is provided in the `DefaultConverter` class.