mirror of
https://github.com/run-llama/LlamaIndexTS.git
synced 2026-07-18 16:44:33 -04:00
862 B
862 B
id, title, sidebar_label, sidebar_position, custom_edit_url
| id | title | sidebar_label | sidebar_position | custom_edit_url |
|---|---|---|---|---|
| TextFileReader | Class: TextFileReader | TextFileReader | 0 | null |
Read a .txt file
Implements
Constructors
constructor
• new TextFileReader()
Methods
loadData
▸ loadData(file, fs?): Promise<Document[]>
Parameters
| Name | Type |
|---|---|
file |
string |
fs |
CompleteFileSystem |
Returns
Promise<Document[]>