Expand description
Core type definitions for document ingestion.
Documents have a fundamentally different structure than code:
- Code: File → Symbols (functions, classes)
- Documents: Document → Sections → ContentBlocks (paragraphs, tables, lists)
Structs§
- Code
Block - A code block with optional language.
- Cross
Ref - A cross-reference to another section or document.
- Definition
- A definition (term + explanation).
- Document
- A parsed document ready for LLM-optimized output.
- Document
Metadata - Document metadata.
- List
- A list (ordered or unordered, possibly nested).
- List
Item - A single list item.
- Section
- A document section with optional heading and nested children.
- Table
- A table with headers and rows.
Enums§
- Alignment
- Column alignment in a table.
- Content
Block - A block of content within a section.
- Content
Class - Content classification for distillation scoring.
- Distillation
Level - Distillation level controlling how aggressively content is compressed.
- Document
Format - Supported document formats.