文档加载器
¥Document loaders
文档加载器 将数据加载为 LangChain 的预期格式,以用于 检索增强生成 (RAG) 等用例。
¥Document loaders load data into LangChain's expected format for use-cases such as retrieval-augmented generation (RAG).
LangChain.js 将文档加载器分为两类:
¥LangChain.js categorizes document loaders in two different ways:
文件加载器,可从本地文件系统将数据加载到 LangChain 格式中。
¥File loaders, which load data into LangChain formats from your local filesystem.
Web 加载器,可从远程源加载数据。
¥Web loaders, which load data from remote sources.
查看各个类别的更多信息,请参阅单独的页面。
¥See the individual pages for more on each category.
info
如果你想编写自己的文档加载器,请参阅 此操作指南。如果你想贡献集成,请参阅 贡献集成。
¥If you'd like to write your own document loader, see this how-to. If you'd like to contribute an integration, see Contributing integrations.