メインコンテンツまでスキップ

Interface: FileReader

A reader takes file paths and imports data into Document objects.

Hierarchy

Implemented by

Methods

loadData

loadData(filePath, fs?): Promise<Document<Metadata>[]>

Parameters

NameType
filePathstring | URL
fs?CompleteFileSystem

Returns

Promise<Document<Metadata>[]>

Overrides

BaseReader.loadData

Defined in

packages/core/src/readers/type.ts:15