You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: Update usage example to be consistent with docs (#130)
The autogenerated example is inconsistent with our hosted docs. Remove
this section and copy the usage snippet from the docs. Also, add a note
for the new page range feature.
When `split_pdf_page=True` (the default), you can optionally specify a page range to send only a portion of your PDF to be extracted. The parameter takes a list of two integers to specify the range, inclusive. A ValueError is thrown if the page range is invalid.
101
+
102
+
Example:
103
+
```python
104
+
req = shared.PartitionParameters(
105
+
files=files,
106
+
strategy="fast",
107
+
languages=["eng"],
108
+
split_pdf_page_range=[10,15],
109
+
)
110
+
```
111
+
95
112
<!-- Start Retries [retries] -->
96
113
## Retries
97
114
@@ -178,6 +195,7 @@ s = unstructured_client.UnstructuredClient(client=http_client)
0 commit comments