Loading and parsing documents (PDF, HTML, Markdown)
Notebook· 06.02· 90–120 min· Lesson 47 of 129
The notebook opens in your lab, in a new tab. If your server is stopped, it starts first (a few seconds).
By the end you can
- Load PDFs page by page, HTML without boilerplate, and Markdown, into
Document(page_content, metadata). - Keep the metadata citations need:
source(a stable, portable path),page(1-based),title,type. - Inspect what a loader really extracted, and spot scanned PDFs, broken line breaks and encoding problems.
- Decide when a heavier parser (Docling, Unstructured) is worth it.
Before you start
Lesson 06.01.
