agrag.common.data_models.document.SourceFormat
Bases: StrEnum
A source format that a loader can read.
The field that holds this value is named source_format, not format.
format
is a Python builtin, and this project's lint rules reject builtin names for fields.
Attributes:
- ASCIIDOC –
- CSV –
- DOCX –
- HTML –
- IMAGE –
- JSON –
- JSONL –
- LOG –
- MARKDOWN –
- PDF –
- PPTX –
- TSV –
- TXT –
- XML –
ASCIIDOC
ASCIIDOC = 'asciidoc'
CSV
CSV = 'csv'
DOCX
DOCX = 'docx'
HTML
HTML = 'html'
IMAGE
IMAGE = 'image'
JSON
JSON = 'json'
JSONL
JSONL = 'jsonl'
LOG
LOG = 'log'
MARKDOWN
MARKDOWN = 'markdown'
PDF
PDF = 'pdf'
PPTX
PPTX = 'pptx'
TSV
TSV = 'tsv'
TXT
TXT = 'txt'
XML
XML = 'xml'