Class: SimpleDirectoryReader
Read all the documents in a directory. By default, supports the list of file types in the FILE_EXT_TO_READER map.
Extends
SimpleDirectoryReader
Constructors
new SimpleDirectoryReader()
new SimpleDirectoryReader(
observer
?):SimpleDirectoryReader
Parameters
• observer?: ReaderCallback
Returns
Inherited from
EdgeSimpleDirectoryReader.constructor
Defined in
packages/llamaindex/src/readers/SimpleDirectoryReader.edge.ts:43
Methods
loadData()
loadData(params)
Parameters
• params: SimpleDirectoryReaderLoadDataParams
Returns
Overrides
EdgeSimpleDirectoryReader.loadData
Defined in
packages/llamaindex/src/readers/SimpleDirectoryReader.ts:35
loadData(directoryPath)
Parameters
• directoryPath: string
Returns
Overrides
EdgeSimpleDirectoryReader.loadData