Skip to main content
Version: latest

agrag.common.data_models.document

The Document model: one unit of source text, before chunking.

Classes:

  • Document – One unit of source text, before chunking.
  • DocumentFamily – The shape of a document's source.
  • DocumentSection – One heading of a document and the content directly under it.
  • SourceFormat – A source format that a loader can read.
  • Unit – One piece of content in a section, such as a paragraph or a table.
  • UnitKind – The kind of content in a unit.

Attributes: