将这些文档连接到 Claude、VSCode 等工具,通过 MCP 获取实时答案。
Multiple individual files - 集成
使用 LangChain JavaScript 集成 Multiple individual files - document loader。
This example goes over how to load data from multiple file paths. The second argument is a map of file extensions to loader factories. Each file will be passed to the matching loader, and the resulting documents will be concatenated together.
Example files:
Example code:

