Filimoa / open-parse

Improved file parsing for LLM’s
https://filimoa.github.io/open-parse/
MIT License
2.55k stars 100 forks source link

Fix Documentation #61

Closed moraneden closed 3 months ago

moraneden commented 3 months ago

Initial Checks

Description

the second param of the function export_with_bboxes is output_pdf and not output_path as in the docs.

pdf.export_with_bboxes(
    parsed_basic_doc.nodes,
    output_path="./sample-docs/mobile-home-manual-marked-up.pdf"
)

should be:

        return pdf_file.export_with_bboxes(
            parsed_basic_doc.nodes,
            output_pdf="./sample-docs/mobile-home-manual-marked-up.pdf"
        )

https://github.com/Filimoa/open-parse/blob/main/docs/visualization.md

Example Code

return pdf_file.export_with_bboxes(
            parsed_basic_doc.nodes,
            output_pdf="./sample-docs/mobile-home-manual-marked-up.pdf"
        )

Python, open-parse & OS Version

N/A
Kydlaw commented 3 months ago

Change made in #62

Filimoa commented 3 months ago

Thanks for the PR!