langchain_community.document_loaders.parsers.pdf.PyPDFium2Parser¶
- class langchain_community.document_loaders.parsers.pdf.PyPDFium2Parser(extract_images: bool = False)[source]¶
Parse PDF with PyPDFium2.
Initialize the parser.
Methods
__init__([extract_images])Initialize the parser.
lazy_parse(blob)Lazily parse the blob.
parse(blob)Eagerly parse the blob into a document or documents.
- Parameters
extract_images (bool) –
- __init__(extract_images: bool = False) None[source]¶
Initialize the parser.
- Parameters
extract_images (bool) –
- Return type
None