agrag.loaders
Document loaders: turn files, directories and raw text into Documents.
The docling loader needs the docling extra and lives in agrag.loaders.docling.
Modules:
- corpus – The corpus loaders package.
- docling – The docling loader package.
- registry – The extension-to-loader registry.
Classes:
- DecodeError – The source bytes do not decode to text.
- DocumentConversionError – A loader could not parse or convert a source's content.
- DocumentTooLargeError – A prose source is larger than the configured byte limit.
- ErrorPolicy – The action to take when one source in a batch fails.
- IngestResult – The result of one ingest call.
- IngestionError – The base class for every ingestion error.
- LoadStats – Running tally of a corpus walk.
- LoaderRegistry – Maps a source extension to the loader that reads it.
- MalformedRecordError – One record in a record-family source does not parse.
- MissingExtraError – A loader exists for this format, but its package extra is not installed.
- ReadOptions – Per-source reader configuration.
- UnsupportedFormatError – No registered loader can read this source's format.