llamaindexclassesClass: TextFileReaderこのページの見出しClass: TextFileReader Read a .txt file Implements BaseReader Constructors new TextFileReader() new TextFileReader(): TextFileReader Returns TextFileReader Methods loadData() loadData(file): Promise <Document <Metadata>[]> Parameters • file: string Returns Promise <Document <Metadata>[]> Implementation of BaseReader . loadData Source packages/core/src/readers/TextFileReader.ts:10