# -*- coding: utf-8 -*- from .__load__ import * from langchain_community.document_loaders import TextLoader class Text(object): def run(self, file, param = {}): loader = TextLoader(file, encoding='utf-8') return loader.load()