Class: DocxReader
A FileReader takes file paths and imports data into Document objects.
Extends
Constructors
new DocxReader()
new DocxReader():
DocxReader
Returns
Inherited from
Methods
loadData()
Parameters
• filePath: string
Returns
Inherited from
Defined in
packages/core/schema/dist/index.d.ts:187
loadDataAsContent()
loadDataAsContent(
fileContent
):Promise
<Document
<Metadata
>[]>
DocxParser
Parameters
• fileContent: Uint8Array
Returns
Overrides
Defined in
packages/llamaindex/src/readers/DocxReader.ts:6
addMetaData()
static
addMetaData(filePath
): (doc
,index
) =>void
Parameters
• filePath: string
Returns
Function
Parameters
• index: number
Returns
void
Inherited from
Defined in
packages/core/schema/dist/index.d.ts:188