Ask a question to get started
Enter to sendā¢Shift+Enter new line
TextLoader( self, file_path: Union[str, Path], encoding: Optional[str
BaseLoader
file_path
Union[str, Path]
Path to the file to load.
encoding
Optional[str]
None
File encoding to use. If None, the file will be loaded with the default system encoding.
autodetect_encoding
bool
False
Load from file path.
Load text file.
Whether to try to autodetect the file encoding if the specified encoding fails.