Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

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.

Setup

npm
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();