Skip to main content

Overview

When processing multiple sources, you can assign different loaders and splitters to each source by matching them by index. This gives you precise control over how each document type is processed.

Single Loader/Splitter (Shared)

When you provide a single loader or splitter, it’s shared across all sources:

Multiple Loaders/Splitters (Indexed)

Provide one loader and one splitter per source — matched by index position:

How Indexing Works

When using multiple loaders or splitters, the count must match the number of file sources. String content sources (direct text) don’t need loaders — they are processed internally.