Skip to main content

PPTX files

This example goes over how to load data from PPTX files. By default, one document will be created for all pages in the PPTX file.


npm install officeparser

Usage, one document per page

import { PPTXLoader } from "@langchain/community/document_loaders/fs/pptx";

const loader = new PPTXLoader("src/document_loaders/example_data/example.pptx");

const docs = await loader.load();

Was this page helpful?

You can also leave detailed feedback on GitHub.