samplehc 0.20.0__py3-none-any.whl → 0.21.0__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.
- samplehc/_version.py +1 -1
- samplehc/resources/v2/documents/documents.py +6 -2
- samplehc/types/v2/document_extract_params.py +6 -2
- {samplehc-0.20.0.dist-info → samplehc-0.21.0.dist-info}/METADATA +1 -1
- {samplehc-0.20.0.dist-info → samplehc-0.21.0.dist-info}/RECORD +7 -7
- {samplehc-0.20.0.dist-info → samplehc-0.21.0.dist-info}/WHEEL +0 -0
- {samplehc-0.20.0.dist-info → samplehc-0.21.0.dist-info}/licenses/LICENSE +0 -0
samplehc/_version.py
CHANGED
|
@@ -298,7 +298,7 @@ class DocumentsResource(SyncAPIResource):
|
|
|
298
298
|
| Omit = omit,
|
|
299
299
|
ocr_enhance: document_extract_params.OcrEnhance | Omit = omit,
|
|
300
300
|
ocr_quality: Literal["high", "low"] | Omit = omit,
|
|
301
|
-
priority: Literal["interactive", "non-interactive"] | Omit = omit,
|
|
301
|
+
priority: Literal["interactive", "non-interactive", "background"] | Omit = omit,
|
|
302
302
|
reasoning_effort: Literal["low", "medium", "high"] | Omit = omit,
|
|
303
303
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
304
304
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -325,6 +325,8 @@ class DocumentsResource(SyncAPIResource):
|
|
|
325
325
|
ocr_quality: OCR quality setting
|
|
326
326
|
|
|
327
327
|
priority: The priority of the extraction task. Non-interactive is lower priority.
|
|
328
|
+
Background are tasks that can be run in the background while the user is doing
|
|
329
|
+
other things.
|
|
328
330
|
|
|
329
331
|
reasoning_effort: Optional control over the reasoning effort for extraction.
|
|
330
332
|
|
|
@@ -891,7 +893,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
891
893
|
| Omit = omit,
|
|
892
894
|
ocr_enhance: document_extract_params.OcrEnhance | Omit = omit,
|
|
893
895
|
ocr_quality: Literal["high", "low"] | Omit = omit,
|
|
894
|
-
priority: Literal["interactive", "non-interactive"] | Omit = omit,
|
|
896
|
+
priority: Literal["interactive", "non-interactive", "background"] | Omit = omit,
|
|
895
897
|
reasoning_effort: Literal["low", "medium", "high"] | Omit = omit,
|
|
896
898
|
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
|
897
899
|
# The extra values given here take precedence over values defined on the client or passed to this method.
|
|
@@ -918,6 +920,8 @@ class AsyncDocumentsResource(AsyncAPIResource):
|
|
|
918
920
|
ocr_quality: OCR quality setting
|
|
919
921
|
|
|
920
922
|
priority: The priority of the extraction task. Non-interactive is lower priority.
|
|
923
|
+
Background are tasks that can be run in the background while the user is doing
|
|
924
|
+
other things.
|
|
921
925
|
|
|
922
926
|
reasoning_effort: Optional control over the reasoning effort for extraction.
|
|
923
927
|
|
|
@@ -52,8 +52,12 @@ class DocumentExtractParams(TypedDict, total=False):
|
|
|
52
52
|
ocr_quality: Annotated[Literal["high", "low"], PropertyInfo(alias="ocrQuality")]
|
|
53
53
|
"""OCR quality setting"""
|
|
54
54
|
|
|
55
|
-
priority: Literal["interactive", "non-interactive"]
|
|
56
|
-
"""The priority of the extraction task.
|
|
55
|
+
priority: Literal["interactive", "non-interactive", "background"]
|
|
56
|
+
"""The priority of the extraction task.
|
|
57
|
+
|
|
58
|
+
Non-interactive is lower priority. Background are tasks that can be run in the
|
|
59
|
+
background while the user is doing other things.
|
|
60
|
+
"""
|
|
57
61
|
|
|
58
62
|
reasoning_effort: Annotated[Literal["low", "medium", "high"], PropertyInfo(alias="reasoningEffort")]
|
|
59
63
|
"""Optional control over the reasoning effort for extraction."""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: samplehc
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.21.0
|
|
4
4
|
Summary: The official Python library for the Sample Healthcare API
|
|
5
5
|
Project-URL: Homepage, https://github.com/samplehc/samplehc-python
|
|
6
6
|
Project-URL: Repository, https://github.com/samplehc/samplehc-python
|
|
@@ -11,7 +11,7 @@ samplehc/_resource.py,sha256=Mdg6fhf_5wYd2K2JZ4BQIJMPqJOWetqpJE3h3MmGZJE,1160
|
|
|
11
11
|
samplehc/_response.py,sha256=UzsuYRbic274gcdUWq9ShPkdRt7VrzkjaqwSwdxqWIs,28816
|
|
12
12
|
samplehc/_streaming.py,sha256=Wsd0pUQJT1ZW9v_iBIFKDS9lukt3M0X96f3Enqx1PYY,10261
|
|
13
13
|
samplehc/_types.py,sha256=j9OfrgjmrZOU2T8RbK9QKC0plnD1UCUWuH5oRR2oY3c,7596
|
|
14
|
-
samplehc/_version.py,sha256=
|
|
14
|
+
samplehc/_version.py,sha256=8tTiealnRUbXW1Dftl8lM9sIVq9DlNcUT5cKLhS9mWA,161
|
|
15
15
|
samplehc/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
16
16
|
samplehc/_utils/__init__.py,sha256=7fch0GT9zpNnErbciSpUNa-SjTxxjY6kxHxKMOM4AGs,2305
|
|
17
17
|
samplehc/_utils/_compat.py,sha256=D8gtAvjJQrDWt9upS0XaG9Rr5l1QhiAx_I_1utT_tt0,1195
|
|
@@ -36,7 +36,7 @@ samplehc/resources/v2/events.py,sha256=Kdx2fSNGr21YA7fAHvs9huMGDRra8bsvnxiO1B1Zl
|
|
|
36
36
|
samplehc/resources/v2/v2.py,sha256=V3BaQH2AZCEEvv3jQTzzTnP9CrK4GpSU0MTeZmxnZNI,9448
|
|
37
37
|
samplehc/resources/v2/workflow_runs.py,sha256=vF06ASKOr4ldWvAGGSyoG5_P6gUHWxmHeYuqKq3tkdM,7203
|
|
38
38
|
samplehc/resources/v2/documents/__init__.py,sha256=wGPR6hdfmDxt-nXn0cDIud1eZAEs_j3kZd4KrxnuoEg,1993
|
|
39
|
-
samplehc/resources/v2/documents/documents.py,sha256=
|
|
39
|
+
samplehc/resources/v2/documents/documents.py,sha256=wNqYP596oTYztUFt3iDYPsgg5IBZLgozHOTyE6011x8,57958
|
|
40
40
|
samplehc/resources/v2/documents/formats.py,sha256=lB60NUBPBceC1XUbL04lsGIsyVWlqsOE8kQkw5oKIM0,6993
|
|
41
41
|
samplehc/resources/v2/documents/legacy.py,sha256=CbDfHJK_U-sDW1rIp8Hj7pTKKHscwmdijSx4mWALQk8,14095
|
|
42
42
|
samplehc/resources/v2/documents/templates.py,sha256=P6gbC8JxEKXN05yCO2NUXGv-ooLBkwQvDpOy4KccprY,17115
|
|
@@ -58,7 +58,7 @@ samplehc/types/v2/document_combine_params.py,sha256=U4VK6S19oy0n8-ZF6jWFWwwQweWj
|
|
|
58
58
|
samplehc/types/v2/document_combine_response.py,sha256=SVnRhWvEA-p2MuRJiJLiaVnutlw185xAAwcCp5-xP3w,559
|
|
59
59
|
samplehc/types/v2/document_create_from_splits_params.py,sha256=XVmvzvrYPQY_Z8omsLnFx0zeMvPcKnA9chC_KLTIpkc,878
|
|
60
60
|
samplehc/types/v2/document_create_from_splits_response.py,sha256=VJQCsIWz839BeXyht8fVSmrvfknMiXJDPt7ZAclGKP4,900
|
|
61
|
-
samplehc/types/v2/document_extract_params.py,sha256=
|
|
61
|
+
samplehc/types/v2/document_extract_params.py,sha256=0rdBzim0tfhLzIiNpD3k3oVt_Ub8VKWRXUE11TmmIAc,2936
|
|
62
62
|
samplehc/types/v2/document_extract_response.py,sha256=k4nKL53ZSLoAmMdlCPZIpjkTdRuOGqG3u-qJyW1kmD4,424
|
|
63
63
|
samplehc/types/v2/document_generate_csv_params.py,sha256=N_GL20AyXcSG0QAkIJBbtyoq9ZW7RESAyhURmagzOTc,1063
|
|
64
64
|
samplehc/types/v2/document_generate_csv_response.py,sha256=n8jk3gbEU6rASKTVNCtY7Z9dDxYOWFm4nqFgbfBOcJM,539
|
|
@@ -90,7 +90,7 @@ samplehc/types/v2/documents/template_generate_document_async_params.py,sha256=5a
|
|
|
90
90
|
samplehc/types/v2/documents/template_generate_document_async_response.py,sha256=xFivOxAB8jahS6vKcr-3TGR4IhF0INDH37nivTVoHSk,402
|
|
91
91
|
samplehc/types/v2/documents/template_render_document_params.py,sha256=egYW79gF_UNjE8wTmiwtbgOozqVDa6i8Db0yjwt5IXE,905
|
|
92
92
|
samplehc/types/v2/documents/template_render_document_response.py,sha256=yN2JLDHszpaA9RZq8INdJIue_JkrLON3xqWMh-z3MCc,367
|
|
93
|
-
samplehc-0.
|
|
94
|
-
samplehc-0.
|
|
95
|
-
samplehc-0.
|
|
96
|
-
samplehc-0.
|
|
93
|
+
samplehc-0.21.0.dist-info/METADATA,sha256=MQmPJKGt9Hgy_wx3DgoHgPdIrmHYAc7oZXRWrPMkN1Q,14631
|
|
94
|
+
samplehc-0.21.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
95
|
+
samplehc-0.21.0.dist-info/licenses/LICENSE,sha256=ll_q1imgsIlRXL5pk6VmrO0f_L0thzOlPI2cc7qcqc0,11347
|
|
96
|
+
samplehc-0.21.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|