File size: 1,178 Bytes
d520909 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
"""
Document Intelligence Chunk Models
Core data models for document understanding:
- BoundingBox: spatial grounding
- DocumentChunk: base semantic chunk
- TableChunk: table with cell structure
- ChartChunk: chart with data interpretation
- EvidenceRef: grounding reference
- ParseResult: complete parse output
- ExtractionResult: extraction with evidence
"""
from .models import (
# Bounding box
BoundingBox,
# Chunk types
ChunkType,
ConfidenceLevel,
# Base chunks
DocumentChunk,
# Specialized chunks
TableCell,
TableChunk,
ChartDataPoint,
ChartChunk,
FormFieldChunk,
# Evidence
EvidenceRef,
# Parse results
PageResult,
ParseResult,
# Extraction
FieldExtraction,
ExtractionResult,
# Classification
DocumentType,
ClassificationResult,
)
__all__ = [
"BoundingBox",
"ChunkType",
"ConfidenceLevel",
"DocumentChunk",
"TableCell",
"TableChunk",
"ChartDataPoint",
"ChartChunk",
"FormFieldChunk",
"EvidenceRef",
"PageResult",
"ParseResult",
"FieldExtraction",
"ExtractionResult",
"DocumentType",
"ClassificationResult",
]
|