DocumentLoaders
Factory and combinators for DocumentLoaders.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
DocumentLoaders.type
Members list
Value members
Concrete methods
Combine multiple loaders into one.
Combine multiple loaders into one.
Documents are loaded in sequence from each loader.
Attributes
Create a loader that loads documents lazily.
Create a loader that loads documents lazily.
Attributes
Create a loader that skips the first n documents.
Create a loader that skips the first n documents.
Attributes
Create a loader that filters documents.
Create a loader that filters documents.
Attributes
Create a loader from a sequence of documents.
Create a loader from a sequence of documents.
Attributes
Create a loader from a function that produces documents.
Create a loader from a function that produces documents.
Attributes
Create a loader that applies a transformation to documents.
Create a loader that applies a transformation to documents.
Attributes
Create a loader that filters out per-document failures and skips.
Create a loader that filters out per-document failures and skips.
A LoadResult.ListingFailure is kept: it says the set of documents is unknown, not that one document failed, and RAG.sync relies on seeing it - without it a failed listing looks like an empty source, and sync would delete everything it indexed from there.
Per-document LoadResult.Failures are dropped, and with them what RAG.sync needs to keep a document whose read failed: syncing through this combinator deletes such a document as if it were gone from the source. Sync the unwrapped loader to keep it.
Attributes
Create a loader that limits the number of documents.
Create a loader that limits the number of documents.
Attributes
Create a loader that adds hints to all documents.
Create a loader that adds hints to all documents.
Attributes
Create a loader that adds metadata to all documents.
Create a loader that adds metadata to all documents.
Attributes
Concrete fields
Create an empty loader.
Create an empty loader.