Parameters
DocxReader also accepts the base Reader constructor parameters.
Methods
read()
Reads a DOCX file and returns a list of documents.
async_read()
The async variant of read(). It accepts the same parameters.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Parameters and methods of DocxReader, which reads DOCX files into documents.
| Parameter | Type | Default | Description |
|---|---|---|---|
chunking_strategy | Optional[ChunkingStrategy] | DocumentChunking() | Strategy used to chunk documents |
DocxReader also accepts the base Reader constructor parameters.
read()| Parameter | Type | Default | Description |
|---|---|---|---|
file | Union[Path, IO[Any]] | Required | Path to the DOCX file or a file-like object |
name | Optional[str] | None | Name override for the resulting documents |
async_read()read(). It accepts the same parameters.Was this page helpful?