retab 0.0.37__py3-none-any.whl → 0.0.39__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.
- retab/__init__.py +2 -2
- retab/_resource.py +5 -5
- retab/_utils/_model_cards/anthropic.yaml +59 -0
- retab/_utils/_model_cards/auto.yaml +43 -0
- retab/_utils/_model_cards/gemini.yaml +117 -0
- retab/_utils/_model_cards/openai.yaml +301 -0
- retab/_utils/_model_cards/xai.yaml +28 -0
- retab/_utils/ai_models.py +109 -71
- retab/_utils/chat.py +20 -20
- retab/_utils/responses.py +14 -14
- retab/_utils/usage/usage.py +5 -4
- retab/client.py +22 -22
- retab/resources/consensus/client.py +2 -2
- retab/resources/consensus/completions.py +26 -26
- retab/resources/consensus/completions_stream.py +27 -27
- retab/resources/consensus/responses.py +11 -11
- retab/resources/consensus/responses_stream.py +15 -15
- retab/resources/documents/client.py +297 -16
- retab/resources/documents/extractions.py +39 -39
- retab/resources/evaluations/documents.py +5 -5
- retab/resources/evaluations/iterations.py +7 -7
- retab/resources/jsonlUtils.py +7 -7
- retab/resources/processors/automations/endpoints.py +2 -2
- retab/resources/processors/automations/links.py +2 -2
- retab/resources/processors/automations/logs.py +2 -2
- retab/resources/processors/automations/mailboxes.py +2 -2
- retab/resources/processors/automations/outlook.py +2 -2
- retab/resources/processors/client.py +9 -9
- retab/resources/usage.py +4 -4
- retab/types/ai_models.py +41 -513
- retab/types/automations/mailboxes.py +1 -1
- retab/types/automations/webhooks.py +3 -3
- retab/types/chat.py +1 -1
- retab/types/completions.py +10 -10
- retab/types/documents/__init__.py +3 -0
- retab/types/documents/create_messages.py +2 -2
- retab/types/documents/extractions.py +19 -19
- retab/types/documents/parse.py +32 -0
- retab/types/extractions.py +4 -4
- retab/types/logs.py +2 -2
- retab/types/schemas/object.py +3 -3
- {retab-0.0.37.dist-info → retab-0.0.39.dist-info}/METADATA +72 -72
- {retab-0.0.37.dist-info → retab-0.0.39.dist-info}/RECORD +45 -39
- {retab-0.0.37.dist-info → retab-0.0.39.dist-info}/WHEEL +0 -0
- {retab-0.0.37.dist-info → retab-0.0.39.dist-info}/top_level.txt +0 -0
@@ -1,66 +1,71 @@
|
|
1
|
-
retab/__init__.py,sha256=
|
2
|
-
retab/_resource.py,sha256=
|
3
|
-
retab/client.py,sha256=
|
1
|
+
retab/__init__.py,sha256=sRurau6z8m4pn7VFKdHr9FyNA9Ffhvg064i2NF0RmPc,124
|
2
|
+
retab/_resource.py,sha256=JfAU4UTa05ugWfbrpO7fsVr_pFewht99NkoIfK6kBQM,577
|
3
|
+
retab/client.py,sha256=ebU_g0BfIJ6Lz-XsHjlMtomTBy4V_lDDgLTC0AYzDZE,29768
|
4
4
|
retab/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
5
5
|
retab/_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
retab/_utils/ai_models.py,sha256=
|
6
|
+
retab/_utils/ai_models.py,sha256=u0SDwSd3SNhJaFm6bPepiGIh4BbocGYDKk4qu3kVIxc,4821
|
7
7
|
retab/_utils/benchmarking.py,sha256=ZSuVcRkYr4gD90yezAv6TuKaFdj2ulc5d5x3lXLbQss,17849
|
8
|
-
retab/_utils/chat.py,sha256=
|
8
|
+
retab/_utils/chat.py,sha256=ZHt6oEX2lZl8O0tIj-rHnqgmDbHxMYEWPkx0fArvojo,14352
|
9
9
|
retab/_utils/display.py,sha256=ZFPbiBnwEWGR-suS8e9Xilz9OqyYRDwsKYWfbFSJPJM,18868
|
10
10
|
retab/_utils/json_schema.py,sha256=vbIg4NqREBq_eNbYdBTGw5ykhUmKkSiVRAahAOrWEZg,82237
|
11
11
|
retab/_utils/mime.py,sha256=S6pH_CmDc7fnb14PIoK3XALwb_Quha34a112joyUNmY,5723
|
12
|
-
retab/_utils/responses.py,sha256=
|
12
|
+
retab/_utils/responses.py,sha256=MqY6G9OCLMJhCZcT5uhky5xv_IRqI43aXRjvBU-L58E,7023
|
13
13
|
retab/_utils/stream_context_managers.py,sha256=gI1gVQSj3nWz6Mvjz7Ix5AiY0g6vSL-c2tPfuP04izo,2314
|
14
|
+
retab/_utils/_model_cards/anthropic.yaml,sha256=faGKfsNNvi3Wgu2sFseV5KVOseJClHBPPdBVv6nWyXo,1413
|
15
|
+
retab/_utils/_model_cards/auto.yaml,sha256=3nMlz9K2l5dNSTk-7zi2Id5oohM2L3E2_di2J6UpfdM,1048
|
16
|
+
retab/_utils/_model_cards/gemini.yaml,sha256=pdSNnOW-3x1UGCfYj-97HxWOoDrgzyltQBU2vGib_Tc,2879
|
17
|
+
retab/_utils/_model_cards/openai.yaml,sha256=PcmjqAioomqWOw25H4BluVfJ1WO_zapg_nPxORUR7JM,7639
|
18
|
+
retab/_utils/_model_cards/xai.yaml,sha256=OdVV33_WODc4UBZhDezcUq_5mHQK5zeOT49EjJUJ764,612
|
14
19
|
retab/_utils/usage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
15
|
-
retab/_utils/usage/usage.py,sha256=
|
20
|
+
retab/_utils/usage/usage.py,sha256=g2_Co3gaB1Akgbszd-I7ddXMM-EyI7Gz9SI5SdtlBII,12949
|
16
21
|
retab/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
22
|
retab/resources/evals.py,sha256=jRgHsFDsoZoTVpFNAtJm9rW1zQGdceLqZ522Mx1-bfo,29928
|
18
23
|
retab/resources/files.py,sha256=-_GejfQjKEk10HHb5npmLOA9cUnVHic2ZQntE8tw4TQ,954
|
19
24
|
retab/resources/finetuning.py,sha256=Rx8XcqB00UIjEDZcCGp5fM2yz5TW1j36aBicrTa0uAY,2587
|
20
|
-
retab/resources/jsonlUtils.py,sha256
|
25
|
+
retab/resources/jsonlUtils.py,sha256=8HZJSuY1XGXTXBjovaXlrQ2_qiNMPr8RKnZ-AlC4lHo,45153
|
21
26
|
retab/resources/models.py,sha256=4WidFBnTGZEA65DSn2pLP2SRnCVXkMTw7o_m8xVCFC4,2469
|
22
27
|
retab/resources/openai_example.py,sha256=yz34KvfCvHTZ-AJ9GV-N7ljTTSWBmQEQNMHY2FUbEi4,522
|
23
28
|
retab/resources/prompt_optimization.py,sha256=BJkE7L1w0Z88sR9c1evD8ti4Zqr_xHCFSK4OJmV_M0k,3489
|
24
29
|
retab/resources/schemas.py,sha256=YakiA6aqiiusO8BIe_PF2eKC0lTf7Z3Zh1hxeoN8AtI,16057
|
25
|
-
retab/resources/usage.py,sha256=
|
30
|
+
retab/resources/usage.py,sha256=OmJMPwmP1TBuZmMKrjaGWnl2mQ9VbQDKSAm6l7Tsaf4,13601
|
26
31
|
retab/resources/consensus/__init__.py,sha256=0b3MSOFiYPwkNTrs_dBPRhwSl3kuk8BtG5QXofIUb9M,89
|
27
|
-
retab/resources/consensus/client.py,sha256=
|
28
|
-
retab/resources/consensus/completions.py,sha256=
|
29
|
-
retab/resources/consensus/completions_stream.py,sha256=
|
30
|
-
retab/resources/consensus/responses.py,sha256=
|
31
|
-
retab/resources/consensus/responses_stream.py,sha256=
|
32
|
+
retab/resources/consensus/client.py,sha256=D2TeqqCp0ZvqvQLAe1i3nW8nnf-Ms6zNEXRA9C26TQI,3705
|
33
|
+
retab/resources/consensus/completions.py,sha256=p9Xn3rUstuVexTXXZbXQzThMzxABeQI6VQr1WuiOC44,8373
|
34
|
+
retab/resources/consensus/completions_stream.py,sha256=sb-Fih38qnvbtjhIoA2l6XfFW5SrspXemwn7EKIb1aM,10896
|
35
|
+
retab/resources/consensus/responses.py,sha256=mWuFH1rvVDA8wPMnRNq3eR-Tss8xz6nxpQrFxoeJTdQ,9936
|
36
|
+
retab/resources/consensus/responses_stream.py,sha256=fnsWxr6AZvZZkMWudvAb4ULFunj0R8cqWeep5atWgOI,11673
|
32
37
|
retab/resources/documents/__init__.py,sha256=OjXmngFN0RKqO4SI-mJBNzr6Ex6rMxfq0DxaqzP0RQs,89
|
33
|
-
retab/resources/documents/client.py,sha256=
|
34
|
-
retab/resources/documents/extractions.py,sha256=
|
38
|
+
retab/resources/documents/client.py,sha256=XhtbtQ1vSkMMSf5QiskZNHkQthYRHjU5bomvESoct2E,25364
|
39
|
+
retab/resources/documents/extractions.py,sha256=Or_oBDPAwvMAia00xGGC30NH82iFCJ64tyxGGAF1bUU,25627
|
35
40
|
retab/resources/evaluations/__init__.py,sha256=3npbUDbxYn3ihnUKV7PRYNBYqL7MZ9AwhQHr7LaIESg,97
|
36
41
|
retab/resources/evaluations/client.py,sha256=SdI-m_8V0BApparlHO1mYFwvjAGWsHBKD_-Z3ZLcdq0,10658
|
37
|
-
retab/resources/evaluations/documents.py,sha256=
|
38
|
-
retab/resources/evaluations/iterations.py,sha256=
|
42
|
+
retab/resources/evaluations/documents.py,sha256=zNSQVxKKfDtDw01SLoPUCDSuxATrFBhFwEXKGdGK4UE,9490
|
43
|
+
retab/resources/evaluations/iterations.py,sha256=v9kD1tJ-3I0A02zVIwSInKHwPzGhmub7fc5FEBJkT74,17664
|
39
44
|
retab/resources/processors/__init__.py,sha256=w1HrMdSi3xlrcEDFMQ9BA7rbUhOFWSTkTKkkR2PfFHQ,93
|
40
|
-
retab/resources/processors/client.py,sha256=
|
45
|
+
retab/resources/processors/client.py,sha256=2292Jry67TFq6d0X74gOOm4fJQ59g4OZr_TacGtw2gA,20080
|
41
46
|
retab/resources/processors/automations/__init__.py,sha256=Iej-_yIxc8xAuhYmR0e2VI7j_EXVsNk1_L98OJSD82E,121
|
42
47
|
retab/resources/processors/automations/client.py,sha256=3w54F0JfC2GYDosLux8LVEjDd_RXqQ29-SyNXGa28U8,10500
|
43
|
-
retab/resources/processors/automations/endpoints.py,sha256=
|
44
|
-
retab/resources/processors/automations/links.py,sha256=
|
45
|
-
retab/resources/processors/automations/logs.py,sha256=
|
46
|
-
retab/resources/processors/automations/mailboxes.py,sha256=
|
47
|
-
retab/resources/processors/automations/outlook.py,sha256=
|
48
|
+
retab/resources/processors/automations/endpoints.py,sha256=XgKW0D05bXSOqiGBPsPJuWwZaIMvweZ-m7tcgeGkSCo,10932
|
49
|
+
retab/resources/processors/automations/links.py,sha256=lvupie-mg9JbFKNbYKo3iL8jkhLzgRJxof-tzEJlNY4,11473
|
50
|
+
retab/resources/processors/automations/logs.py,sha256=Ft0cH6C2zbm4dLdiQ-3hqC8HU8-23bGOjUGbaauDNAU,8827
|
51
|
+
retab/resources/processors/automations/mailboxes.py,sha256=MyNysCg9JdboLE4T0fZMUnnyVUnl5evVp0DdQjSTb0g,15894
|
52
|
+
retab/resources/processors/automations/outlook.py,sha256=ps9HkAaQmQysirH_IAp_g4cGreoU-wQzfY9kqeqCGMU,14935
|
48
53
|
retab/resources/processors/automations/tests.py,sha256=Ni02vAdUqK5xt-DtWkVRJRCG3KdykvP_k4ez7vXCzsw,5992
|
49
54
|
retab/resources/secrets/__init__.py,sha256=SwofMyk96k0YSyj1d_GRxhpVx4wb4TA97TISsTjB0Kc,105
|
50
55
|
retab/resources/secrets/client.py,sha256=nXt1cgvkWqhA99WTnC1PWbWJq-EbwvoDuCQOa0GJOOU,599
|
51
56
|
retab/resources/secrets/external_api_keys.py,sha256=3TuJxjk65EPUT2XC3wBcYWaVwqzc6QGv9BoHufzxTLU,3759
|
52
57
|
retab/resources/secrets/webhook.py,sha256=2mFDNblQYBGOwgqOG5gfRJkusQX7Hjy28XZ7O7ffkl8,1805
|
53
58
|
retab/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
54
|
-
retab/types/ai_models.py,sha256=
|
59
|
+
retab/types/ai_models.py,sha256=ADfeFoozgiKwkIvYPliPNhXJHcKMcaAABscYysNtI4w,4896
|
55
60
|
retab/types/browser_canvas.py,sha256=U3yLqJcSwfturcIsNFSblRtFtnG3p-UL1YYoM9KZfdE,70
|
56
|
-
retab/types/chat.py,sha256=
|
57
|
-
retab/types/completions.py,sha256=
|
61
|
+
retab/types/chat.py,sha256=l32vhLtNcdmHFjG4iVC617j38x6a2oH7CNPwlvqdF8g,424
|
62
|
+
retab/types/completions.py,sha256=aHrWvKLMyktdVhIX3fkPBjbcWNBsceCTbTSq6ilpecY,5382
|
58
63
|
retab/types/consensus.py,sha256=EsFCsyZK8NhkQ1BizFpnGN54D24hRFKc0xwt9VpH11c,1161
|
59
64
|
retab/types/evals.py,sha256=1yx1rMG92ZZI7f5nWc6C-Z1WwUsBrWg4eLS-LakvC4w,9955
|
60
65
|
retab/types/events.py,sha256=NrisdzJAaJ_kkfgdsqoiDB-Upm0LnbIGZikU_e9XXWw,2195
|
61
|
-
retab/types/extractions.py,sha256=
|
66
|
+
retab/types/extractions.py,sha256=b9aW9KIuUrXfyJGP_DEiuN4p46go915HH4OqJOFtsZs,5850
|
62
67
|
retab/types/inference_settings.py,sha256=F_mBPFVY1yAwsHD11Z2ljMf3zkvviOey_JBnu8yEF84,572
|
63
|
-
retab/types/logs.py,sha256=
|
68
|
+
retab/types/logs.py,sha256=czSB2jKC_FpPHJOfsBUG1qP0oJ-cucrTyBphovmmCqk,9263
|
64
69
|
retab/types/metrics.py,sha256=0KEWUWW13s_tWjh7oUs33ip9TPwI7LZUNGE7k5qNoOo,1947
|
65
70
|
retab/types/mime.py,sha256=Fhq04yQoHhyx5wBjx7GNyJqQQJtcM_yEZt7uQxq6Br4,11038
|
66
71
|
retab/types/modalities.py,sha256=_2iGC_EEZT0Y-7PV_nHar5vqeEdsK7oy7ZJPV681nkg,1581
|
@@ -71,16 +76,17 @@ retab/types/automations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG
|
|
71
76
|
retab/types/automations/cron.py,sha256=jDx0VzciboQw2_whvBXzgX5ZS0z2DksTgmyhXCSSGMk,3174
|
72
77
|
retab/types/automations/endpoints.py,sha256=IbylkBUBllcrtr9tifug0ptVq2vFKixuQ6e2JfW5Xfw,666
|
73
78
|
retab/types/automations/links.py,sha256=1ipBFWasY3cqds0U5AUz9Ez6T5kcgzX5r0gzZvFw8tU,901
|
74
|
-
retab/types/automations/mailboxes.py,sha256=
|
79
|
+
retab/types/automations/mailboxes.py,sha256=KZh2BiQ8Q-HgNQT672Sl97LDnqW2sgjY_W3ZEj7o4Ow,2332
|
75
80
|
retab/types/automations/outlook.py,sha256=4rJ-_1Py88n44ASdWJHpb0_V5VKafP7pj67ovi6iYwU,3040
|
76
|
-
retab/types/automations/webhooks.py,sha256=
|
81
|
+
retab/types/automations/webhooks.py,sha256=_IY33_RL8ULYmKW7vYbCXLCEmsrKzM9SmwdPyv6LfwM,571
|
77
82
|
retab/types/db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
78
83
|
retab/types/db/annotations.py,sha256=PM-H4zXyRs48s7AAv_sl8kOQo5lThsVvBM0aKJkCpmU,1026
|
79
84
|
retab/types/db/files.py,sha256=udJKGplw6a8cF4XUTLN_QAU9-pyEWs4THHX1zyvbx0U,1261
|
80
|
-
retab/types/documents/__init__.py,sha256=
|
85
|
+
retab/types/documents/__init__.py,sha256=RaD6PnvRJw7QEVTh_PYNX6gckpLcxUJH7FKaopRKJzY,114
|
81
86
|
retab/types/documents/correct_orientation.py,sha256=e-ivsslI6L6Gl0YkcslXw_DH620xMGEYVp4tdeviXeM,261
|
82
|
-
retab/types/documents/create_messages.py,sha256=
|
83
|
-
retab/types/documents/extractions.py,sha256=
|
87
|
+
retab/types/documents/create_messages.py,sha256=PjNu9Hg4Ow09WOxI7qtHMQebUM2k0_UPtw_2VrHoD6E,10289
|
88
|
+
retab/types/documents/extractions.py,sha256=vqokye_0VXTWf5TcP3uj_6GOTMXDxR-A7E0DVQHq7wc,19113
|
89
|
+
retab/types/documents/parse.py,sha256=WCfwBUsMgYFAZWbuOgCPd2dkcFmi1fYOf21XuiIj4uo,1323
|
84
90
|
retab/types/evaluations/__init__.py,sha256=fRQlK6y3x3SHqaukVYd9_zH8HrUk9TpoG9dlOTuIkcY,920
|
85
91
|
retab/types/evaluations/documents.py,sha256=oy0nqTrv0Pe__5ligeNWn5MbqVDAFRSrXYbCVoLxyXw,1268
|
86
92
|
retab/types/evaluations/iterations.py,sha256=66Svg5w2FqM14Zkn_opeUXV9mRZauGE8XLr1hJNMtKE,4637
|
@@ -97,11 +103,11 @@ retab/types/schemas/enhance.py,sha256=bkfkC_JCDvEolOdrp27rHbO1njEyrLJAM7qgwHGUYQ
|
|
97
103
|
retab/types/schemas/evaluate.py,sha256=M9ZMv2FCcnSRGYBR3CUbCA88pW66EZEZC1YwoJUOei0,2206
|
98
104
|
retab/types/schemas/generate.py,sha256=pb6e6yJ2KPswmNHNkFcRhata7B698yBLnzlFVspJ9mE,1194
|
99
105
|
retab/types/schemas/layout.py,sha256=JLPwQGIWfPBoe1Y5r-MhiNDJigzZ-yKZnVGgox0uqMk,1487
|
100
|
-
retab/types/schemas/object.py,sha256=
|
106
|
+
retab/types/schemas/object.py,sha256=z0RaoBDNpNM-hCWTOdLycl4PH1SHZVQxIeAdt5Qztgk,25474
|
101
107
|
retab/types/schemas/templates.py,sha256=YRfgzy3hPuAfguu-qrYr9KhnAiBjLOoorqdoxyRYsXE,3466
|
102
108
|
retab/types/secrets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
103
109
|
retab/types/secrets/external_api_keys.py,sha256=-yaaOfNLxKpll3oD-0htQlW8S03lyWs9Mmk9HOdyQ3g,437
|
104
|
-
retab-0.0.
|
105
|
-
retab-0.0.
|
106
|
-
retab-0.0.
|
107
|
-
retab-0.0.
|
110
|
+
retab-0.0.39.dist-info/METADATA,sha256=-qM7cIgs1SffDqSKaUAxlKqVunoJ3ZmJep1g5nh5bBU,14131
|
111
|
+
retab-0.0.39.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
|
112
|
+
retab-0.0.39.dist-info/top_level.txt,sha256=waQR0EGdhLIQtztoE3AXg7ik5ONQ9q_bsKVpyFuJdq0,6
|
113
|
+
retab-0.0.39.dist-info/RECORD,,
|
File without changes
|
File without changes
|