This commit is contained in:
Harrison Chase
2023-02-12 07:29:26 -08:00
committed by GitHub
parent 0b6aa6a024
commit bbb06ca4cf
3 changed files with 64 additions and 2 deletions

View File

@@ -167,10 +167,48 @@
"data = loader.load()"
]
},
{
"cell_type": "markdown",
"id": "21998d18",
"metadata": {},
"source": [
"## Using PDFMiner"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "2f0cc9ff",
"metadata": {},
"outputs": [],
"source": [
"from langchain.document_loaders import PDFMinerLoader"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "42b531e8",
"metadata": {},
"outputs": [],
"source": [
"loader = PDFMinerLoader(\"example_data/layout-parser-paper.pdf\")"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "010d5cdd",
"metadata": {},
"outputs": [],
"source": [
"data = loader.load()"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "54fb6b62",
"id": "7301c473",
"metadata": {},
"outputs": [],
"source": []