llamaindexclassesClass: TextFileReaderمحتويات هذه الصفحةClass: TextFileReader Read a .txt file Implements BaseReader Constructors new TextFileReader() new TextFileReader(): TextFileReader Returns TextFileReader Methods loadData() loadData(file, fs): Promise <Document <Metadata>[]> Parameters • file: string • fs: CompleteFileSystem= defaultFS Returns Promise <Document <Metadata>[]> Implementation of BaseReader . loadData Source packages/core/src/readers/TextFileReader.ts:11