Find answers from the community

Updated 3 months ago

hi! does anyone know how to correctly

hi! does anyone know how to correctly import SmartPDFLoader ? i tried

'from llama_index.readers.smart_pdf_loader import SmartPDFLoader'

but it doesn't seem to work.
L
c
o
4 comments
Did you install it though?
Hey, thanks for the reply. I think so, even Llmsherpa.

Anyway I'll try again, maybe I made a mistake.

In any case, in the end I had opted for specific readers for SimpleDirectoryReader, in my case PyMuPdf and MD reader extractors; and for chunking: for PyMuPdf I used semantic chunking and for MD the MarkdownNodeParser. Do you think it might be a better choice or at least worth trying for smart-pdf-loader (obviously for PDFs )?
its interesting question, do SimpleDirectoryReader also table detection and ocr?
Add a reply
Sign up and join the conversation on Discord