chunkr-ai 0.0.44__py3-none-any.whl → 0.0.45__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.
@@ -126,6 +126,10 @@ class SegmentationStrategy(str, Enum):
126
126
  LAYOUT_ANALYSIS = "LayoutAnalysis"
127
127
  PAGE = "Page"
128
128
 
129
+ class ErrorHandlingStrategy(str, Enum):
130
+ FAIL = "Fail"
131
+ CONTINUE = "Continue"
132
+
129
133
  class BoundingBox(BaseModel):
130
134
  left: float
131
135
  top: float
@@ -189,6 +193,7 @@ class Pipeline(str, Enum):
189
193
  class Configuration(BaseModel):
190
194
  chunk_processing: Optional[ChunkProcessing] = None
191
195
  expires_in: Optional[int] = None
196
+ error_handling: Optional[ErrorHandlingStrategy] = None
192
197
  high_resolution: Optional[bool] = None
193
198
  ocr_strategy: Optional[OcrStrategy] = None
194
199
  segment_processing: Optional[SegmentProcessing] = None
chunkr_ai/models.py CHANGED
@@ -5,6 +5,7 @@ from .api.configuration import (
5
5
  Configuration,
6
6
  CroppingStrategy,
7
7
  EmbedSource,
8
+ ErrorHandlingStrategy,
8
9
  GenerationStrategy,
9
10
  GenerationConfig,
10
11
  Model,
@@ -29,6 +30,7 @@ __all__ = [
29
30
  "Configuration",
30
31
  "CroppingStrategy",
31
32
  "EmbedSource",
33
+ "ErrorHandlingStrategy",
32
34
  "GenerationConfig",
33
35
  "GenerationStrategy",
34
36
  "Model",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chunkr-ai
3
- Version: 0.0.44
3
+ Version: 0.0.45
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
@@ -1,16 +1,16 @@
1
1
  chunkr_ai/__init__.py,sha256=6KpYv2lmD6S5z2kc9pqwuLP5VDHmOuu2qDZArUIhb1s,53
2
- chunkr_ai/models.py,sha256=Pfr8S0qbC5GSgI3zCE63bnBCWOOjiExBXIrSRPyLhkc,864
2
+ chunkr_ai/models.py,sha256=m3_3sUm4zm2LTqmxFWJtAGMqJbksmzCF2X2wGCAgSLY,920
3
3
  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=jHEAz3H9uRh22jpSqnGyCdT4VbkCE_L_1fm0uVlv_1U,6527
7
+ chunkr_ai/api/configuration.py,sha256=KHOt1MiRvDbIvAdFK8I5j5uA4O561WeCBd1J1megQ7Y,6671
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=6kk9g2f7OZB3PAsmp4Or5A42r1dXTAzWAHEIVtLQ9sA,6545
12
- chunkr_ai-0.0.44.dist-info/licenses/LICENSE,sha256=w3R12yNDyZpMiy2lxy_hvNbsldC75ww79sF0u11rkho,1069
13
- chunkr_ai-0.0.44.dist-info/METADATA,sha256=Gk-DiU78MVBXlYk3BjcKCVGfy1JL-SB0wj8p-ooovYs,7053
14
- chunkr_ai-0.0.44.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
15
- chunkr_ai-0.0.44.dist-info/top_level.txt,sha256=0IZY7PZIiS8bw5r4NUQRUQ-ATi-L_3vLQVq3ZLouOW8,10
16
- chunkr_ai-0.0.44.dist-info/RECORD,,
12
+ chunkr_ai-0.0.45.dist-info/licenses/LICENSE,sha256=w3R12yNDyZpMiy2lxy_hvNbsldC75ww79sF0u11rkho,1069
13
+ chunkr_ai-0.0.45.dist-info/METADATA,sha256=owMljpIYmTevXkW9V-Nly0dBILzmyN8MfKeXpXctcVU,7053
14
+ chunkr_ai-0.0.45.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
15
+ chunkr_ai-0.0.45.dist-info/top_level.txt,sha256=0IZY7PZIiS8bw5r4NUQRUQ-ATi-L_3vLQVq3ZLouOW8,10
16
+ chunkr_ai-0.0.45.dist-info/RECORD,,