Connect these docs to Claude, VSCode, and more via MCP for real-time answers.
Multiple individual files - integration
Integrate with the Multiple individual files - document loader using LangChain JavaScript.
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:

