pymupdf / RAG

RAG (Retrieval-Augmented Generation) Chatbot Examples Using PyMuPDF
https://pymupdf.readthedocs.io/en/latest/pymupdf4llm
GNU Affero General Public License v3.0
518 stars 81 forks source link

feat: added parameter `textflags` to `to_markdown` method #172

Open Programmer420-1 opened 3 weeks ago

Programmer420-1 commented 3 weeks ago

Enable the flexibility for the user to control the amount of text to be parsed into a TextPage.

Default to pymupdf.TEXT_MEDIABOX_CLIP, which follows the original implementation.