Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 8b5fa338-9106-4734-abf0-e30d67044a90
management:
docChecksum: c919f9a5fe1fffc0fe08d9ba771fdf37
docVersion: 1.0.81
speakeasyVersion: 1.525.1
generationVersion: 2.562.2
releaseVersion: 0.31.6
configChecksum: 4c2dbab9c89a9d2312d8d54a2c3fef88
docChecksum: 82d55672df290a1b6b3641bf1c0385a0
docVersion: 1.1.4
speakeasyVersion: 1.526.0
generationVersion: 2.563.0
releaseVersion: 0.32.0
configChecksum: aaffd2f8109b46337a8b440562051f7a
repoURL: https://github.com/Unstructured-IO/unstructured-python-client.git
repoSubDirectory: .
installationURL: https://github.com/Unstructured-IO/unstructured-python-client.git
Expand Down Expand Up @@ -566,7 +566,7 @@ examples:
partition:
speakeasy-default-partition:
requestBody:
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}
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, "pdfminer_char_margin": null, "pdfminer_line_margin": null, "pdfminer_line_overlap": null, "pdfminer_word_margin": null, "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}
responses:
"200":
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"}}]
Expand Down
16 changes: 8 additions & 8 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
speakeasyVersion: 1.525.1
speakeasyVersion: 1.526.0
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:8cefa2db4e0071ffc9ae499d113126153c720616d0f065d3cfd8d0130d695c14
sourceBlobDigest: sha256:bbe20a8c95ddaf534208edebea334f221fa91acaff2ae00525987715bd36b943
sourceRevisionDigest: sha256:b7ee9aa59b47e0b739012e611720330b6870798eb256e44c15d0c55832dc1207
sourceBlobDigest: sha256:19ebaffb7c44a42ce3fbdf03cf5fe0f4a68956d59d6f3239d8b6a5b16e1c07e5
tags:
- latest
- speakeasy-sdk-regen-1743108088
- 1.0.81
- speakeasy-sdk-regen-1743188464
- 1.1.4
targets:
unstructured-python:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:8cefa2db4e0071ffc9ae499d113126153c720616d0f065d3cfd8d0130d695c14
sourceBlobDigest: sha256:bbe20a8c95ddaf534208edebea334f221fa91acaff2ae00525987715bd36b943
sourceRevisionDigest: sha256:b7ee9aa59b47e0b739012e611720330b6870798eb256e44c15d0c55832dc1207
sourceBlobDigest: sha256:19ebaffb7c44a42ce3fbdf03cf5fe0f4a68956d59d6f3239d8b6a5b16e1c07e5
codeSamplesNamespace: my-source-code-samples
codeSamplesRevisionDigest: sha256:974e4d48d27a10c9be80ec289dc9dbf7903b32a4ac7f0c6821c8224e52b93799
codeSamplesRevisionDigest: sha256:0696c1f0b1f0274a950cd103dd855cc721ada1716468d57138e7370f7f7e9ea4
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -905,4 +905,14 @@ Based on:
### Generated
- [python v0.31.6] .
### Releases
- [PyPI v0.31.6] https://pypi.org/project/unstructured-client/0.31.6 - .
- [PyPI v0.31.6] https://pypi.org/project/unstructured-client/0.31.6 - .

## 2025-03-28 19:00:48
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.526.0 (2.563.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v0.32.0] .
### Releases
- [PyPI v0.32.0] https://pypi.org/project/unstructured-client/0.32.0 - .
4 changes: 2 additions & 2 deletions codeSamples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ actions:
"x-codeSamples":
- "lang": "python"
"label": "create_destination"
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request={\n \"create_destination_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.DestinationConnectorType.AZURE_AI_SEARCH,\n \"config\": {\n \"collection_name\": \"<value>\",\n \"batch_size\": 20,\n \"api_endpoint\": \"<value>\",\n \"token\": \"<value>\",\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.destinations.create_destination(request={\n \"create_destination_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.DestinationConnectorType.AZURE_AI_SEARCH,\n \"config\": {\n \"collection_name\": \"<value>\",\n \"batch_size\": 20,\n \"api_endpoint\": \"<value>\",\n \"token\": \"<value>\",\n \"flatten_metadata\": False,\n },\n },\n })\n\n assert res.destination_connector_information is not None\n\n # Handle response\n print(res.destination_connector_information)"
- target: $["paths"]["/api/v1/destinations/{destination_id}"]["delete"]
update:
"x-codeSamples":
Expand Down Expand Up @@ -68,7 +68,7 @@ actions:
"x-codeSamples":
- "lang": "python"
"label": "create_source"
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_source(request={\n \"create_source_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.SourceConnectorType.SHAREPOINT,\n \"config\": {\n \"account\": \"21158540\",\n \"role\": \"<value>\",\n \"user\": \"Andrew_Ebert71\",\n \"password\": \"RKAX3jUtlnjWe9D\",\n \"host\": \"impractical-academics.net\",\n \"port\": 443,\n \"database\": \"<value>\",\n \"schema_\": \"<value>\",\n \"table_name\": \"<value>\",\n \"batch_size\": 100,\n \"id_column\": \"<value>\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
"source": "from unstructured_client import UnstructuredClient\nfrom unstructured_client.models import shared\n\n\nwith UnstructuredClient() as uc_client:\n\n res = uc_client.sources.create_source(request={\n \"create_source_connector\": {\n \"name\": \"<value>\",\n \"type\": shared.SourceConnectorType.SHAREPOINT,\n \"config\": {\n \"account\": \"21158540\",\n \"role\": \"<value>\",\n \"user\": \"Andrew_Ebert71\",\n \"password\": \"RKAX3jUtlnjWe9D\",\n \"host\": \"impractical-academics.net\",\n \"port\": 443,\n \"database\": \"<value>\",\n \"table_name\": \"<value>\",\n \"batch_size\": 100,\n \"id_column\": \"<value>\",\n },\n },\n })\n\n assert res.source_connector_information is not None\n\n # Handle response\n print(res.source_connector_information)"
- target: $["paths"]["/api/v1/sources/{source_id}"]["delete"]
update:
"x-codeSamples":
Expand Down
1 change: 1 addition & 0 deletions docs/models/shared/astradbconnectorconfiginput.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
| `collection_name` | *str* | :heavy_check_mark: | N/A |
| `token` | *str* | :heavy_check_mark: | N/A |
| `batch_size` | *Optional[int]* | :heavy_minus_sign: | N/A |
| `flatten_metadata` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| `keyspace` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
4 changes: 3 additions & 1 deletion docs/models/shared/confluencesourceconnectorconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
| `cloud` | *bool* | :heavy_check_mark: | N/A |
| `max_num_of_docs_from_each_space` | *int* | :heavy_check_mark: | N/A |
| `max_num_of_spaces` | *int* | :heavy_check_mark: | N/A |
| `spaces` | *Nullable[str]* | :heavy_check_mark: | N/A |
| `spaces` | List[*str*] | :heavy_check_mark: | N/A |
| `url` | *str* | :heavy_check_mark: | N/A |
| `username` | *str* | :heavy_check_mark: | N/A |
| `extract_files` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| `extract_images` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
4 changes: 3 additions & 1 deletion docs/models/shared/confluencesourceconnectorconfiginput.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
| `url` | *str* | :heavy_check_mark: | N/A |
| `username` | *str* | :heavy_check_mark: | N/A |
| `cloud` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| `extract_files` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| `extract_images` | *Optional[bool]* | :heavy_minus_sign: | N/A |
| `max_num_of_docs_from_each_space` | *Optional[int]* | :heavy_minus_sign: | N/A |
| `max_num_of_spaces` | *Optional[int]* | :heavy_minus_sign: | N/A |
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `spaces` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `spaces` | List[*str*] | :heavy_minus_sign: | N/A |
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
6 changes: 3 additions & 3 deletions docs/models/shared/jirasourceconnectorconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
| ------------------------ | ------------------------ | ------------------------ | ------------------------ |
| `url` | *str* | :heavy_check_mark: | N/A |
| `username` | *str* | :heavy_check_mark: | N/A |
| `boards` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `boards` | List[*str*] | :heavy_minus_sign: | N/A |
| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `issues` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `issues` | List[*str*] | :heavy_minus_sign: | N/A |
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `projects` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `projects` | List[*str*] | :heavy_minus_sign: | N/A |
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
6 changes: 3 additions & 3 deletions docs/models/shared/jirasourceconnectorconfiginput.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
| ------------------------ | ------------------------ | ------------------------ | ------------------------ |
| `url` | *str* | :heavy_check_mark: | N/A |
| `username` | *str* | :heavy_check_mark: | N/A |
| `boards` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `boards` | List[*str*] | :heavy_minus_sign: | N/A |
| `cloud` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `issues` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `issues` | List[*str*] | :heavy_minus_sign: | N/A |
| `password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `projects` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `projects` | List[*str*] | :heavy_minus_sign: | N/A |
| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
Loading
Loading