chunkr-ai 0.0.39__py3-none-any.whl → 0.0.41__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -77,7 +77,7 @@ class Segment(BaseModel):
77
77
  html: Optional[str] = None
78
78
  image: Optional[str] = None
79
79
  markdown: Optional[str] = None
80
- ocr: List[OCRResult]
80
+ ocr: Optional[List[OCRResult]] = Field(default_factory=list)
81
81
  page_number: int
82
82
  page_width: float
83
83
  segment_id: str
@@ -102,6 +102,7 @@ class Model(str, Enum):
102
102
 
103
103
  class Pipeline(str, Enum):
104
104
  AZURE = "Azure"
105
+ CHUNKR = "Chunkr"
105
106
 
106
107
  class Configuration(BaseModel):
107
108
  chunk_processing: Optional[ChunkProcessing] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: chunkr-ai
3
- Version: 0.0.39
3
+ Version: 0.0.41
4
4
  Summary: Python client for Chunkr: open source document intelligence
5
5
  Author-email: Ishaan Kapoor <ishaan@lumina.sh>
6
6
  License: MIT License
@@ -4,13 +4,13 @@ chunkr_ai/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  chunkr_ai/api/auth.py,sha256=hlv0GiUmlsbFO1wLL9sslqOnsBSoBqkL_6Mk2SDvxgE,413
5
5
  chunkr_ai/api/chunkr.py,sha256=BzwcKNCuLfVR-HzgY8tKStsW4pIDVVjBgnEqPLyUUMM,3292
6
6
  chunkr_ai/api/chunkr_base.py,sha256=FDl0Ew8eOY4hur5FFqPENZiq9YQy0G3XWEqcKPeCO-U,6130
7
- chunkr_ai/api/configuration.py,sha256=KrXKcC1Yd7wfK8JMfihlWjNxlDyzKydr1Pe1_r1DTZw,3885
7
+ chunkr_ai/api/configuration.py,sha256=Kkqxco8M-xgijUMsmtL8rJpMxrnSEnsQY8dUP8Cg5oc,3947
8
8
  chunkr_ai/api/decorators.py,sha256=VJX4qGBIL00K2zY8bh5KAMWv7SltJ38TvPJH06FnFss,4415
9
9
  chunkr_ai/api/misc.py,sha256=QN-2YWQ8e3VvvK63Ua-e8jsx6gxVxkO88Z96yWOofu0,3653
10
10
  chunkr_ai/api/protocol.py,sha256=LjPrYSq52m1afIlAo0yVGXlGZxPRh8J6g7S4PAit3Zo,388
11
11
  chunkr_ai/api/task_response.py,sha256=ti_2VTYtYS9FWyW-QIm16rp6qhs8RVy4vvgCZUkI2wA,6328
12
- chunkr_ai-0.0.39.dist-info/LICENSE,sha256=w3R12yNDyZpMiy2lxy_hvNbsldC75ww79sF0u11rkho,1069
13
- chunkr_ai-0.0.39.dist-info/METADATA,sha256=Q99T7lpBksl0FuWYaEb6k9Qblp3gk8fnq9-yHLN2i9Y,7031
14
- chunkr_ai-0.0.39.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
15
- chunkr_ai-0.0.39.dist-info/top_level.txt,sha256=0IZY7PZIiS8bw5r4NUQRUQ-ATi-L_3vLQVq3ZLouOW8,10
16
- chunkr_ai-0.0.39.dist-info/RECORD,,
12
+ chunkr_ai-0.0.41.dist-info/LICENSE,sha256=w3R12yNDyZpMiy2lxy_hvNbsldC75ww79sF0u11rkho,1069
13
+ chunkr_ai-0.0.41.dist-info/METADATA,sha256=wdbwqlqSsano41qs3nburZ1PxYHpIyTQd6JTZeEyBeU,7031
14
+ chunkr_ai-0.0.41.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
15
+ chunkr_ai-0.0.41.dist-info/top_level.txt,sha256=0IZY7PZIiS8bw5r4NUQRUQ-ATi-L_3vLQVq3ZLouOW8,10
16
+ chunkr_ai-0.0.41.dist-info/RECORD,,