The Plain Text Document Loader is a component designed to load and process plain text data. It can split the text into smaller chunks if needed and allows for additional metadata to be added to the documents.
@langchain/core/documents
package for document handling.