TextLoader 文档加载器 的简要概述。如需了解 TextLoader 所有功能和配置的详细文档,请参阅 API 参考。
概述
集成详情
| 类 | 包 | 兼容性 | 本地支持 | Python 支持 |
|---|---|---|---|---|
TextLoader | langchain | 仅 Node.js | ✅ | ❌ |
设置
要使用TextLoader 文档加载器,您需要安装 langchain 包。
安装
LangChain TextLoader 集成位于langchain 包中:
实例化
现在我们可以实例化模型对象并加载文档:加载
API 参考
如需了解TextLoader 所有功能和配置的详细文档,请参阅 API 参考。
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

