Skip to main content

agrag.loaders.corpus

The corpus loaders package.

Importing this package registers every core loader with the module-level registry singleton. The docling extra registers itself on top of this when installed.

Modules:

  • base – The Loader interface: reads one source and yields Document objects.
  • decode – The four-step decode pipeline for source bytes.
  • errors – Errors that the ingestion layer raises.
  • registry – The extension-to-loader registry.
  • types – Plumbing types for the corpus loaders.