PPTX Reader

Parameters and methods of PPTXReader, which reads PowerPoint (.pptx) files into documents.

PPTXReader reads data from PowerPoint (.pptx) files.

Parameters

ParameterTypeDefaultDescription
chunking_strategyOptional[ChunkingStrategy]DocumentChunking()Strategy used to chunk documents

PPTXReader also accepts the base Reader constructor parameters.

Methods

read()

Reads a PPTX file and returns a list of documents.

ParameterTypeDefaultDescription
fileUnion[Path, IO[Any]]RequiredPath to the PPTX file or a file-like object
nameOptional[str]NoneName override for the resulting documents

async_read()

Async variant of read(). Accepts the same parameters.