Skip to main content

Overview

Text loader processes various text-based files (.txt, .rst, .log, code files, etc.) with options for whitespace handling and content filtering. Simple and efficient for plain text documents. Loader Class: TextLoader Config Class: TextLoaderConfig

Install

Install the Text loader optional dependency group:

Examples

Parameters