Skip to main content
Version: 0.0.5 (stable)

agrag.loaders.types

Plumbing types for the document loaders.

These types support the loader, decode, and walk machinery. They are feature-local to agrag.loaders and are not domain models.

Classes:

  • CsvMode – How to read a CSV or TSV source.
  • DecodedText – Output of the four-step decode pipeline.
  • ErrorPolicy – The action to take when one source in a batch fails.
  • IngestResult – The result of one ingest call.
  • JsonMode – How to read a JSON source.
  • LoadStats – Running tally of a corpus walk.
  • LoaderCursor – Resume point for a corpus walk.
  • ReadOptions – Per-source reader configuration.
  • SourceRef – A locatable input, before any bytes are read.