-
Notifications
You must be signed in to change notification settings - Fork 188
LlamaIndex integration issue #376
Copy link
Copy link
Open
Description
When doing:
from pymupdf4llm import LlamaMarkdownReader
reader = LlamaMarkdownReader()
documents = reader.load_data("hello-world.pdf")
print(f"Loaded {len(documents)} document(s)")
It throws:
File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/pymupdf4llm/llama/pdf_markdown_reader.py", line 6, in <module>
from pymupdf4llm import IdentifyHeaders, to_markdown
ImportError: cannot import name 'IdentifyHeaders' from 'pymupdf4llm' (/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/pymupdf4llm/__init__.py)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels