Skip to content

Commit 0d88cb7

Browse files
authored
Merge branch 'main' into austin/source-spec-fix
2 parents 9475ca1 + e6c640e commit 0d88cb7

File tree

15 files changed

+163
-39
lines changed

15 files changed

+163
-39
lines changed

.speakeasy/gen.lock

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 8b5fa338-9106-4734-abf0-e30d67044a90
33
management:
4-
docChecksum: 0f9100e28d13105be2af4e576ea4572c
5-
docVersion: 1.0.68
4+
docChecksum: 83f88cfa4bd77e1d3065b11a97119361
5+
docVersion: 1.0.78
66
speakeasyVersion: 1.490.0
77
generationVersion: 2.512.0
8-
releaseVersion: 0.30.5
9-
configChecksum: 25a75f7add3305b685de164ad454cb9a
8+
releaseVersion: 0.30.6
9+
configChecksum: c946e26d3a3b2fe2756ff169416b448c
1010
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
1111
repoSubDirectory: .
1212
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
@@ -143,6 +143,8 @@ generatedFiles:
143143
- docs/models/shared/outlooksourceconnectorconfiginput.md
144144
- docs/models/shared/outputformat.md
145145
- docs/models/shared/partitionparameters.md
146+
- docs/models/shared/partitionparametersschemasstrategy.md
147+
- docs/models/shared/partitionparametersstrategy.md
146148
- docs/models/shared/postgresdestinationconnectorconfig.md
147149
- docs/models/shared/postgresdestinationconnectorconfiginput.md
148150
- docs/models/shared/qdrantclouddestinationconnectorconfig.md
@@ -536,7 +538,7 @@ examples:
536538
partition:
537539
speakeasy-default-partition:
538540
requestBody:
539-
multipart/form-data: {"chunking_strategy": "by_title", "combine_under_n_chars": null, "content_type": null, "coordinates": false, "encoding": null, "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "gz_uncompressed_content_type": null, "hi_res_model_name": null, "include_orig_elements": null, "include_page_breaks": false, "include_slide_notes": true, "max_characters": null, "multipage_sections": true, "new_after_n_chars": null, "output_format": "application/json", "overlap": 0, "overlap_all": false, "pdf_infer_table_structure": true, "similarity_threshold": null, "split_pdf_allow_failed": false, "split_pdf_cache_tmp_data": false, "split_pdf_cache_tmp_data_dir": "<value>", "split_pdf_concurrency_level": 5, "split_pdf_page": true, "split_pdf_page_range": [1, 10], "starting_page_number": null, "strategy": "hi_res", "table_ocr_agent": null, "unique_element_ids": false, "xml_keep_tags": false}
541+
multipart/form-data: {"chunking_strategy": "by_title", "combine_under_n_chars": null, "content_type": null, "coordinates": false, "encoding": null, "files": {"": "{\"summary\":\"File to be partitioned\",\"externalValue\":\"https://github.com/Unstructured-IO/unstructured/blob/98d3541909f64290b5efb65a226fc3ee8a7cc5ee/example-docs/layout-parser-paper.pdf\"}"}, "gz_uncompressed_content_type": null, "hi_res_model_name": null, "include_orig_elements": null, "include_page_breaks": false, "include_slide_notes": true, "max_characters": null, "multipage_sections": true, "new_after_n_chars": null, "output_format": "application/json", "overlap": 0, "overlap_all": false, "pdf_infer_table_structure": true, "similarity_threshold": null, "split_pdf_allow_failed": false, "split_pdf_cache_tmp_data": false, "split_pdf_cache_tmp_data_dir": "<value>", "split_pdf_concurrency_level": 5, "split_pdf_page": true, "split_pdf_page_range": [1, 10], "starting_page_number": null, "strategy": "vlm", "table_ocr_agent": null, "unique_element_ids": false, "vlm_model": "gpt-4o", "vlm_model_provider": "openai", "xml_keep_tags": false}
540542
responses:
541543
"200":
542544
application/json: [{"type": "Title", "element_id": "6aa0ff22f91bbe7e26e8e25ca8052acd", "text": "LayoutParser: A Unified Toolkit for Deep Learning Based Document Image Analysis", "metadata": {"languages": ["eng"], "page_number": 1, "filename": "layout-parser-paper.pdf", "filetype": "application/pdf"}}]

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
speakeasyVersion: 1.504.1
1+
speakeasyVersion: 1.505.0
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:4f63229dca06781c54905bcb9c2769ef714dccbd7b347d72ed6b9c0a57f768f9
6-
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
5+
sourceRevisionDigest: sha256:8cba0cf748e247efccefbb5d1839dbeb6e2e3210bb2c90f7b75b9034c22ae24a
6+
sourceBlobDigest: sha256:69fef8ed681f1d68013e71f67927821d64fc1045d3956ace3775fe62ed76b8bb
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1740499439
9+
- speakeasy-sdk-regen-1740605410
1010
- 1.0.68
1111
targets:
1212
unstructured-python:
1313
source: my-source
1414
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:4f63229dca06781c54905bcb9c2769ef714dccbd7b347d72ed6b9c0a57f768f9
16-
sourceBlobDigest: sha256:24d7c75ebda9119f02eec391b4ac5697e7f909341f1694177d9d164ff90e39be
15+
sourceRevisionDigest: sha256:8cba0cf748e247efccefbb5d1839dbeb6e2e3210bb2c90f7b75b9034c22ae24a
16+
sourceBlobDigest: sha256:69fef8ed681f1d68013e71f67927821d64fc1045d3956ace3775fe62ed76b8bb
1717
codeSamplesNamespace: my-source-code-samples
18-
codeSamplesRevisionDigest: sha256:c7f49ae4ef636cb4f1f872f62dbec7312d7cff92d59e1de774428843f0474b91
18+
codeSamplesRevisionDigest: sha256:d7a20fe1c8d687f377099cdb412c6d0dd733dd982ec4662052df0894da211da2
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ Certain SDK methods accept file objects as part of a request body or multi-part
449449
450450
```python
451451
from unstructured_client import UnstructuredClient
452+
from unstructured_client.models import shared
452453

453454
with UnstructuredClient() as uc_client:
454455

@@ -462,6 +463,8 @@ with UnstructuredClient() as uc_client:
462463
1,
463464
10,
464465
],
466+
"vlm_model": shared.PartitionParametersStrategy.GPT_4O,
467+
"vlm_model_provider": shared.PartitionParametersSchemasStrategy.OPENAI,
465468
},
466469
})
467470

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,4 +824,14 @@ Based on:
824824
### Generated
825825
- [python v0.31.0] .
826826
### Releases
827-
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .
827+
- [PyPI v0.31.0] https://pypi.org/project/unstructured-client/0.31.0 - .
828+
829+
## 2025-02-26 21:29:54
830+
### Changes
831+
Based on:
832+
- OpenAPI Doc
833+
- Speakeasy CLI 1.505.0 (2.531.0) https://github.com/speakeasy-api/speakeasy
834+
### Generated
835+
- [python v0.30.6] .
836+
### Releases
837+
- [PyPI v0.30.6] https://pypi.org/project/unstructured-client/0.30.6 - .

0 commit comments

Comments
 (0)