retab 0.0.74__py3-none-any.whl → 0.0.75__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.
@@ -556,7 +556,6 @@ class Documents(SyncAPIResource, BaseDocumentsMixin):
556
556
 
557
557
  Returns:
558
558
  EditResponse: Response containing:
559
- - ocr_result: OCR results used for inference
560
559
  - form_data: List of form fields with filled values
561
560
  - filled_pdf: PDF with filled form values (MIMEData)
562
561
 
@@ -844,7 +843,6 @@ class AsyncDocuments(AsyncAPIResource, BaseDocumentsMixin):
844
843
 
845
844
  Returns:
846
845
  EditResponse: Response containing:
847
- - ocr_result: OCR results used for inference
848
846
  - form_data: List of form fields with filled values
849
847
  - filled_pdf: PDF with filled form values (MIMEData)
850
848
 
@@ -135,7 +135,6 @@ class EditRequest(InferFormSchemaRequest):
135
135
  class EditResponse(BaseModel):
136
136
  """Response from the fill_form endpoint.
137
137
  """
138
- ocr_result: OCRResult = Field(..., description="The OCR results used for inference")
139
138
  form_data: list[FilledFormField] = Field(
140
139
  ...,
141
140
  description=(
@@ -7,7 +7,7 @@ from ..mime import MIMEData
7
7
  class GenerateSchemaRequest(BaseModel):
8
8
  model_config = ConfigDict(extra="ignore")
9
9
  documents: list[MIMEData]
10
- model: str = "gpt-4o-mini"
10
+ model: str = "gpt-5-mini"
11
11
  temperature: float = 0.0
12
12
  reasoning_effort: ChatCompletionReasoningEffort = "minimal"
13
13
  instructions: str | None = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: retab
3
- Version: 0.0.74
3
+ Version: 0.0.75
4
4
  Summary: Retab official python library
5
5
  Home-page: https://github.com/retab-dev/retab
6
6
  Author: Retab
@@ -7,7 +7,7 @@ retab/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  retab/resources/models.py,sha256=4WidFBnTGZEA65DSn2pLP2SRnCVXkMTw7o_m8xVCFC4,2469
8
8
  retab/resources/schemas.py,sha256=rZ6OzfmoYv-mGaRVzvXjO09dD-KxP74mZhOO8sMgcDQ,4632
9
9
  retab/resources/documents/__init__.py,sha256=OjXmngFN0RKqO4SI-mJBNzr6Ex6rMxfq0DxaqzP0RQs,89
10
- retab/resources/documents/client.py,sha256=X02iGDkr4o7k1y5gLCW07VsSjCPKg_LL-sp5_cDZLfc,37218
10
+ retab/resources/documents/client.py,sha256=Jkq83aPS0Awq6xw5USH8ksthnpxfAKsMnyR-z-LClWE,37096
11
11
  retab/resources/extractions/__init__.py,sha256=2H1ezUG8hI5SmTRy6NFzXdYLOdGFFsFrI60uzkitV20,97
12
12
  retab/resources/extractions/client.py,sha256=sEoNjOgX91FTOgoJUV-I1A9A9xl1ciCdPlhYwjhEjbA,11035
13
13
  retab/resources/projects/__init__.py,sha256=tPR3_3tr7bsoYd618qmGjnYN2R23PmF5oCFd7Z5_HGY,85
@@ -22,7 +22,7 @@ retab/types/standards.py,sha256=7aGtuvzzkKidvqY8JB2Cjfn43V80FeKwrTtp162kjKc,1477
22
22
  retab/types/documents/__init__.py,sha256=RaD6PnvRJw7QEVTh_PYNX6gckpLcxUJH7FKaopRKJzY,114
23
23
  retab/types/documents/correct_orientation.py,sha256=e-ivsslI6L6Gl0YkcslXw_DH620xMGEYVp4tdeviXeM,261
24
24
  retab/types/documents/create_messages.py,sha256=Cox0QgIyLhTXIvw1Nzd2BCnB9-5KAYgw_gads5eTaDw,7272
25
- retab/types/documents/edit.py,sha256=TPzHkENZ8s6AwcHaosJNWAzUMkWrGbDDEK7yWt3YUIQ,4888
25
+ retab/types/documents/edit.py,sha256=HqSHFviukkVpSunUy15TmhsIEjTHHBwc9P2oJBDoxso,4799
26
26
  retab/types/documents/extract.py,sha256=DhS9jm0lUgXVLObKm2CnSJQ2eqMmsBfttO0K9TndfIw,16728
27
27
  retab/types/documents/parse.py,sha256=Jd6i-1UXhAtgntRBZItEHGHeevyLdLmbTQa1-HNrico,1305
28
28
  retab/types/extractions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -33,7 +33,7 @@ retab/types/projects/model.py,sha256=ACvqLQ850t6-mxl_s8fU87Oto6pLCW4ABN4zLe6Bog8
33
33
  retab/types/projects/predictions.py,sha256=GeQX-nCmbzKL50aaSFlSyn0sgnbzKserPK6DSQT8ACk,1114
34
34
  retab/types/schemas/__init__.py,sha256=9ODWiC_4pUVKxoIKglYZjvRjRyd1ZCVxG8GBdQgHNbU,57
35
35
  retab/types/schemas/chat.py,sha256=ppTidxsNslTKE5aBva04i9IxeARMqYpXYLjtR7V6pBc,21219
36
- retab/types/schemas/generate.py,sha256=kB69Sc8cSw4oqaw-Rfzc-vz3ModfKuX86KOqp47y2-8,744
36
+ retab/types/schemas/generate.py,sha256=8c9LzFgsG9BpteKzjPaLJEneEHsjCyYvGo1jdko-DI4,743
37
37
  retab/types/schemas/layout.py,sha256=JLPwQGIWfPBoe1Y5r-MhiNDJigzZ-yKZnVGgox0uqMk,1487
38
38
  retab/types/schemas/model.py,sha256=MwiSrck_5NCDvxjDSqgiDtmenGowXnfoOZ7KTINKW34,69588
39
39
  retab/types/schemas/templates.py,sha256=XihWTHi6t_6QjxN07n_1dee5KdhHiuoHAYfmKwI7gQg,1708
@@ -45,7 +45,7 @@ retab/utils/mime.py,sha256=mTP_lqSPttOP5DYJxopiWaeFXrUCPjhwd7y53nCVGO4,6189
45
45
  retab/utils/stream_context_managers.py,sha256=gI1gVQSj3nWz6Mvjz7Ix5AiY0g6vSL-c2tPfuP04izo,2314
46
46
  retab/utils/usage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  retab/utils/usage/json_schema.py,sha256=kRbL5E5OStlhlNlBXlxHNwaVHKd6MVhyqIb0y4aj8JA,84322
48
- retab-0.0.74.dist-info/METADATA,sha256=RdNLzH4DAxwrImXRrKjTqseA0aVHJBj-hx0UELg77Mw,4532
49
- retab-0.0.74.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
50
- retab-0.0.74.dist-info/top_level.txt,sha256=waQR0EGdhLIQtztoE3AXg7ik5ONQ9q_bsKVpyFuJdq0,6
51
- retab-0.0.74.dist-info/RECORD,,
48
+ retab-0.0.75.dist-info/METADATA,sha256=yR9dcubsvsfc65hqamuXBuGrGb8_eWlkE00HnCGHy6o,4532
49
+ retab-0.0.75.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
50
+ retab-0.0.75.dist-info/top_level.txt,sha256=waQR0EGdhLIQtztoE3AXg7ik5ONQ9q_bsKVpyFuJdq0,6
51
+ retab-0.0.75.dist-info/RECORD,,
File without changes